I need to define some global values from the DLL. But its not working
The code in program
Code: Select all
dllh=OpenLibrary(#PB_Any,"firstdll.dll")
Debug dllh
Debug CallFunction(dllh,"SetGlobalval")
MessageRequester("Test",DLLreturn$)
End
Code: Select all
ProcedureDLL SetGlobalval()
Global DLLreturn$
DLLreturn$="I set the value!"
ProcedureReturn 1
EndProcedure