English
C ++ Forum

Please test!

 

Normann
Strübli
Hello Community,

I bräuchte there time Please Your Mithilfe.

The problem is really simply ;D

I übersetze with Profan2cpp whom subesquent View source.
unfortunately crashes The generic.exe when calling by me gnadenlos ex .

with Sebastian functions The same File integrally wonderful, now would it nice if your The attached File simply time testing
and a short response writes, Please too with indicate which Betriebssystem your using.

Vielleich can itself Yes so find out whether the trouble really only me appears, mean I but not

Greeting
Normann
CompileMarkSeparation
 $H windows.ph
 $H structs.ph
 $H messages.ph
struct TWindowClass = ~WndClass
struct TMsg = ~Msg
declare WindowClass#, Msg#
declare AppName$
AppName$ = Generic

proc WindowProc

    parameters Window&, Message&, WParam&, LParam&

    if Message& = ~wm_Destroy

        ~MessageBox(0,... und Tschüß!,Nun denn ..,0)
        ~PostQuitMessage(0)

    endif

    return ~DefWindowProc(Window&, Message&, WParam&, LParam&)

endproc

proc WinMain

    declare Window&, Message&
    dim WindowClass#,TWindowClass
    dim Msg#,TMsg

    with WindowClass#

        .style& = 0
        .lpfnWndProc& = ProcAddr(WindowProc,4)
        .cbClsExtra& = 0
        .cbWndExtra& = 0
        .hInstance& = %HInstance
        .hIcon& = ~LoadIcon(0,~idi_Information)
        .hCursor& = ~LoadCursor(0, ~idc_Arrow)
        .hbrBackground& = ~GetStockObject(~white_Brush)
        .lpszMenuName& = Addr(AppName$)
        .lpszClassName& = Addr(AppName$)

    endwith

    if ~RegisterClass(WindowClass#) = 0

        ~MessageBox(0,Fenster konnte nicht registriert werden!,Fehler,0)
        end

    endif

    Window& = ~CreateWindowEx(
    0,
    Addr(AppName$),
    Addr(AppName$),
    ~ws_OverlappedWindow,
    ~cw_UseDefault,
    ~cw_UseDefault,
    ~cw_UseDefault,
    ~cw_UseDefault,
    0,
    0,
    %HInstance,
    0)
    ~ShowWindow(Window&, ~sw_ShowNormal)
    ~UpdateWindow(Window&)
    ~MessageBox(0,Ein minimales Windowsprogramm,Hallo,0)

    while ~GetMessage(Msg#, 0, 0, 0) > 0

        ~TranslateMessage(Msg#)
        ~DispatchMessage(Msg#)

    endwhile

    end

endproc

end

86 kB
Hochgeladen:11/30/05
Downloadcounter148
Download
 
11/30/05  
 




Georg
Hovenbitzer
Hello Normann,

by me runs the program without Problems, be it your EXE or the of me with Profan2CPP 1.5 übersetzten Version.

One integrally large trouble there but, the program won't from memory removes, rather said not correctly. exits.
one finds it in the task manager under processes. it uses of course no CPU but for memory and this for each appeal.

Getestet under WinXP per SP2 and Win2000 SP4.
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
11/30/05  
 




Sebastian
König
Hello Georg,

Georg Hovenbitzer

One integrally large trouble there but, the program won't from memory removes, rather said not correctly. exits.
one finds it in the task manager under processes. it uses of course no CPU but for memory and this for each appeal.


the was by me To Beginn too so - one Set(FastMode,1) at the beginning the Codes should at least the Schonmal to fix...

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
12/01/05  
 




Sebastian
König
Hi,

I wished only The general heed again on this Thread lenken

has it yet someone tested? for me the genze namely unfortunately one large puzzel, I the trouble simply not reproduzieren can . if except Normanns yet further systems of it concerned are, can itself Yes Perhaps a Gemeinsamkeit check *hoff*...

Vielen Thanks Schonmal and nice remainder-weekend,

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
12/03/05  
 




Normann
Strübli
Uhm... Hello???
 
12/06/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.157 Views

Untitledvor 0 min.

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie