I've got a strange problem integrating MFC classes into AngelScript throught Script Plugin.
As you can imagine, Script plugin are DLLs that are loaded dynamically and using an exported function, register it's objet, function, types in AngelScript.
Everything was working well, then I have tryed to insert CStdioFile, CInternetSession, ...).
When I'm using thoses DLL allocated objects, it crash when then script use function that needs char * or reference to objects (CString&).
I think this is normal because of the different space adress that the DLL and the program use.
What can I do ?
Thank's for any reply (even if it's to say it's impossible !).
PS : Of course all the Script Plugin DLL implemented in the main programm is running very well !
[Edited by - abrken on September 3, 2004 8:23:45 AM]
Would it be possible for you to supply a small program that reproduces the problem? I don't believe I will have the time to try and write a program myself of this magnitude in order to reproduce the problem.