Jump to content

  • Log In with Google      Sign In   
  • Create Account


- - - - -

Stange Problem


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 abrken   Members   -  Reputation: 130

Like
0Likes
Like

Posted 03 September 2004 - 01:09 AM

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]

Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3304

Like
0Likes
Like

Posted 03 September 2004 - 02:40 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS