1. Matt - the C++ magic
- Posted by Jonas Temple <jtemple at yhti.net> Oct 11, 2006
- 510 views
- Last edited Oct 12, 2006
Matt, Would it be within the realm of possibilities to somehow extract the code you created to call C++ objects and make it a seperate include file? I've got some C++ stuff that I'd like to interface to but IIRC, there's a piece in the wxeu.dll that is required. So..how about it? Jonas Temple http://www.yhti.net/~jktemple
2. Re: Matt - the C++ magic
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Oct 11, 2006
- 497 views
- Last edited Oct 12, 2006
Jonas Temple wrote: > > Matt, > > Would it be within the realm of possibilities to somehow extract the code you > created to call C++ objects and make it a seperate include file? I've got > some > C++ stuff that I'd like to interface to but IIRC, there's a piece in the > wxeu.dll > that is required. > > So..how about it? The magic you need can be found at: http://www.rapideuphoria.com/fptr.zip This file is what I use for eucom. COM objects are really just C++ objects that follow certain conventions. The hard part is dealing with the name decoration. And if your C++ is built using MSVC, it's probably using a slightly different calling convention, where the 'this' pointer is passed in ecx, rather than on the stack. Matt Lewis
3. Re: Matt - the C++ magic
- Posted by Jonas Temple <jtemple at yhti.net> Oct 12, 2006
- 532 views
Speaking of COM, do you ever anticipate coming out with an update to EuCOM? Jonas Temple http://www.yhti.net/~jktemple
4. Re: Matt - the C++ magic
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Oct 12, 2006
- 514 views
Jonas Temple wrote: > > Speaking of COM, do you ever anticipate coming out with an update to EuCOM? > I haven't really used it for a while. Is there something in particular that you're interested in? Matt Lewis
5. Re: Matt - the C++ magic
- Posted by Jonas Temple <jtemple at yhti.net> Oct 12, 2006
- 554 views
Matt Lewis wrote: > I haven't really used it for a while. Is there something in particular > that you're interested in? Well, I think I just found it. My biggest problem with EuCOM before was the difference between COM examples I'd find and how to translate the code into EuCom syntax. But I see that you've combined EuCOM with your OOEU and that to me more closely resemble conventional COM/VB examples. I just downloaded your OOEU and I'm going to see if that helps. Thanks, Jonas Temple http://www.yhti.net/~jktemple