ReneMiner
03-11-2012, 01:57
:shock28: I love'em dearly. You're doing some fancy little stuff there.
What is that A.dll for?
ErosOlmi
03-11-2012, 08:17
Dear peter,
thanks a lot for your new great example, very ipnotic.
Again I had a GPF on exit inside A.DLL
I tried to debug a bit but not having debug info inside A.DLL it is very complex for me to understand.
Anyway, it seems there are some parameters not passed correctly just before a function call. Maybe you can understand something.
See attached image
Ciao
Eros
Hi Eros,
My debug analysis was successfully, Dll is okay.
Thinbasic and OxygenBasic do have a differently behaviour.
OxygenBasic has no strong rules, is light weight progamming.
ThinBasic has difficulties with this procedure.
Function Key( cKey as long) as short
iF wExit=1 Then Return 1 << there will be never 1 returned.
Return GetAsyncKeyState cKey << this is okay.
End Function
Well, try the star thing once again and press the escape key, you must hear a sound
and it must close correctly.
If you click on the windows X-button , there is no success, you have to remove it from the task-manager again.
With OxygenBasic working both key() and X-button, without problems!