English
Forum

Completed: @RTF

 

Hubert
Binnewies
Hello together...

I Have as a integrally merkwürdigen effect with the @RTF.
The following code runs in the Interpreter correct but in the Compilat created tappt im dunkeln me system Error Message and my proggi ends.
CompileMarkSeparation
Proc Hilfe

    DECLARE DLG&, DIALOGENDE%
    DECLARE RICHEDIT1&, text$
    DECLARE BUTTON1&
    DLG&=@CREATE("DIALOG",%HWND,"Hilfe",300,200,546,500)
    BUTTON1& = @CREATE("BUTTON",DLG&,"OK",0238,0440,0070,0030)
    RICHEDIT1& =@CREATE("RICHEDIT",DLG&,"",0013,0013,0520,0420)
    SETFOCUS(DLG&)
    text$ = "Hilfe.rtf"
    @RTF("LoadRTF",RICHEDIT1&,text$)
    sendmessage (RICHEDIT1&,207,1,0)
    LET DIALOGENDE%=0

    WHILENOT DIALOGENDE%

        WAITINPUT

        If @EQU(%KEY,2)

            LET DIALOGENDE%= 1

        ELSEIF GETFOCUS(RICHEDIT1&) RICHEDIT

        ELSEIF GETFOCUS(BUTTON1&) BUTTON

            LET DIALOGENDE%= 1

        ENDIF

    WEND

    @DESTROYWINDOW(DLG&)

endproc


make I but the row
CompileMarkSeparation
@RTF("LoadRTF",RICHEDIT1&,Text$)

To
CompileMarkSeparation
@RTF("LoadRTF",RICHEDIT1&,Text$)

then runs...but naturally no Text (the in the same ordner as EXE is...

what make I wrong????
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
05/18/06  
 




Clemens
Meier
was there not something with call(&loadrtf ... or. call(&savertf ... ? find but whom Posting not any more. The Search fail here.
 
XProfan 9.1; XP SP2; FF; Editpad
05/18/06  
 




Hubert
Binnewies
the bräuchte I then still detail.....because with the Call rumzuspielen isn't safe...especially since the proggi currency find should....
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
05/18/06  
 




Hubert
Binnewies
I faith I habs.....
if I The row:
CompileMarkSeparation
Richedit1& =@Create("RICHEDIT",Dlg&,"",0013,0013,0520,0420)
>

To
CompileMarkSeparation
Richedit1& =@Create("RICHEDIT",Dlg&,"
",0013,0013,0520,0420)e>

then works it....
the control must simply not empty his...
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
05/18/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

785 Views

Untitledvor 0 min.
H.Brill08/29/21
Manfred Barei01/06/13
Uwe Lang02/11/12

Themeninformationen

this Topic has 2 subscriber:

Hubert Binnewies (3x)
Clemens Meier (1x)


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