Setting up program Global values from DLL
Posted: Fri Aug 08, 2008 5:55 pm
Hi,
I need to define some global values from the DLL. But its not working
The code in program
The code in DLL
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