Posted: Sat Feb 02, 2008 3:30 pm
just tested your TestLib and it works
So you are doing something wrong
I suspect you forgot to tell PureBasic in the compileroptions which subsystem it should use i.e.
Testcode :
Compileroptions : UserLibUnicode
Debug returns : 1
PS : and it returns 0 in normal mode (no subsystem used)

So you are doing something wrong

I suspect you forgot to tell PureBasic in the compileroptions which subsystem it should use i.e.
Testcode :
Code: Select all
Debug TestFunc()
Debug returns : 1
PS : and it returns 0 in normal mode (no subsystem used)