Sign in to follow this  
abrken

Stange Problem

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this