English
Bugs and vermeintliche

Ärgerliche Differences in Interpreter and Runtime

 

Dieter
Zornow
I have straight again very ärgerliche Differences in Interpreter and Runtime found. I have a Combobox and write with addstring(..... into. whom moreover gehörenden Referenzwert save I in a aray

circa no Variable To use point I the aray a worth To with
CompileMarkSeparation
user$[getcount(comb&)] = b$
>

I stops this for correctly and permitted, Runs in Interpreter correct. The Exe crashes even ex.
here must I write
CompileMarkSeparation
count& = getcount(comb&)
user$[count&] = b
e>

so it To keinem crash comes. The übergebene number is Yes probably the same.

Second example:

here one Minimalcode in order to discern if one USB - Stick bagged becomes
functions in the Interpreter whether I Waitinput or Getmessage use. in the Exe functions it only
with Waitinput. with Getmessage comes The Message not any more through. but only The Message for USB-Stick, The others z.B 16 shine durchzukommen
CompileMarkSeparation
Declare ende&
cls
usermessages 537,16,$0044

whilenot ende&

    Getmessage waitinput
    case %UMessage = 16:break

    If %UMessage = 537

        If &UWParam = 32768

            Print "Device eingetroffen"
            Sendmessage(%Hwnd,$0044,0,0) %umessage zurücksetzten

        elseif  &UWParam = 32772

            Print "Device ist gone"
            Sendmessage(%Hwnd,$0044,0,0) %umessage zurücksetzten

        Endif

    Endif

Endwhile

end

Profan fixes itself Yes increasingly on Waitinput and without Waitinput functions many New Features not any more. but Why runs it in the Interpreter. I stops the two Examples of Bugs in the Runtime.

has someone a idea How I withal Getmessage yet on The Message come, because i will from mehren Found no Waitinput use
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
09/02/08  
 




Christian
Schneider
if it only therefore does it your Program permanent durchläuft could you it a Timer solve:
CompileMarkSeparation
If you generally without WaitInput get along want be so did i überfragt.
 
XProfan 11| Vista(64) SP2
09/02/08  
 




Dieter
Zornow
Yes thanks, with the the Timer white I.
I let my Program not go through, I use Getmessage instead of Waitinput, this is for much flexibler and many items everybody can with Waitinput over Timer and Subclassing solve must weg here without, unfortunately becomes the use into new Profanversionen utterly default or even unmöglich made How one sees..
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
09/02/08  
 




Jörg
Sellmeyer
@Christian: your Timerintervall of 0.0001 nützt you nothing. The smallest unity is a Millisekunde and SetTimer understand only Longs and no Floats:

Help XPRofan
SetTimer n
n : LongInt - Timer-Intervall in Millisekunden
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/02/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.696 Views

Untitledvor 0 min.
Michael Klumb03/17/16
Chregu Mueller03/22/14
Pauli01/11/14
Jörg Sellmeyer11/04/11

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