I encounter a strange bug, let show it with a few line of code:
make sure you have Matrix1Utils installed
HelloWorld()
Suspend for key
End
function HelloWorld()
Print "Hello World!"
EndFunction
runs OK..
Introduce a function pointer:
Ptr = Get Ptr To Function("HelloWorld")
Call Function Ptr Ptr
Suspend for key
End
function HelloWorld()
Print "Hello World!"
EndFunction
Still OK...
Introduce a data statement:
Ptr = Get Ptr To Function("HelloWorld")
Suspend for key
Call Function Ptr Ptr
Suspend for key
End
MyData:
Data 1, 2, 3, 4
function HelloWorld()
Print "Hello World!"
EndFunction
And the app silently exits without saying goodbye......
Same thing with ordinal instead of function name..
1) Can anyone confirm ? I'm running rc7 and Windows Vista... maybe something wrong with my dbp install..
2) Is there a stupid thing I forgot ?
3) Anyone has a clue ???
Thanks..
All hail the new flesh