Oxygen Basic
Programming => Bugs & Feature Requests => Topic started by: Peter on March 11, 2013, 04:06:19 AM
-
Deleted
-
Hi Peter, I use extern all the time, so I think it is caused by something else.
Does this work in isolation for you?
Extern STDCALL Lib "kernel32.dll"
! GetModuleHandleA
! Sleep
! GetTickCount
! ReadFile
! WriteFile
! CloseHandle
! CreateFileA
! GetFileSize
End Extern
'#recordof GetModuleHandleA
sleep 1000
print hex GetModuleHandleA
-
This bug is quite a smart one. I have not seen anything like it before. You will have to corner it.
-
That means it cant locate ShowFPS
Latest Oxygen attached:
X
-
In the declaration I wrote SetFps! I didn't know that we have now upper-case and lower-case differentiation
!
I have found this problem before with some api names....
-
Charles...
Do you can improve errors messages?
-
DLL declarations are case-sensitive whenever an alias is not provided. This is the only exception to general case insensitivity.
I often think about ways to improve error trapping and reporting. Should be easier once language development is finished.