Stange Problem

Started by
0 comments, last by WitchLord 19 years, 7 months ago
Hello, 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 !). AbrKen. 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]
Advertisement
Very strange indeed.

Are you sure this is a problem with AngelScript?

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.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement