The first (the more important for now).
I've read this message : http://purebasic.hmt-forum.com/viewtopic.php?t=893 to know how pointer works.
So i've tested it and it works. But i still have a problem. On my code i've an "invalid memory access",but the message requester works.
Code: Select all
Structure Infos
info1.s
info2.s
EndStructure
Procedure toto(*chaineretour.Infos,myfile.s)
OpenLibrary(0,"toto.dll")
Handle = CallFunction( 0, "dll_handle")
CallFunction( 0, "dll_func1",Handle, myfile)
*chaineretour\info1 = PeekS(CallFunction( 0,"dll_info1",Handle,params1,params2,))
MessageRequester ("", *chaineretour\info1)
CallFunction( 0, "dll_close")
CloseLibrary(0)
EndProcedure ;problem on this line
toto(@echange.Infos,Fichier$)
Debug echange\info1
For the rest thanks at all the PB users

i just made some rectification on the code, but always the problem.