When I pass a pointer to a structure as procedure parameter I get an IMA.
I've been playing around for hours with the following code, but I can't figure out what's the problem...I'm stumped...
Dll Code:
Code: Select all
ProcedureDLL.i Test(*Rate.STRING)
Protected retval.i
*Rate\s = "Hello"
ProcedureReturn retval
EndProcedure
Code: Select all
Import "xrate.lib"
Test.i(*Rate.STRING)
EndImport
Procedure Testit()
xrate.STRING
Test(@xrate)
Debug xrate\s
EndProcedure
Testit()