i created a small test dll with a procedure:
Code: Select all
ProcedureDll IAmHere()
MessageRequester("Really","I am here")
EndProcedure
Code: Select all
Prototype TestProc()
If OpenLibrary( 0, "testLIB.so" )
Define Proc.TestProc = Getfunction( 0, "IamHere" )
EndIf
Proc()
But i cannot load the library. Error message: "invalid memory access".
OS X 10.6.8, PB 4.51
Has some one any idea?

