1. Matt - the C++ magic

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

new topic     » topic index » view message » categorize

2. Re: Matt - the C++ magic

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Matt - the C++ magic

Speaking of COM, do you ever anticipate coming out with an update to EuCOM?

Jonas Temple
http://www.yhti.net/~jktemple

new topic     » goto parent     » topic index » view message » categorize

4. Re: Matt - the C++ magic

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: Matt - the C++ magic

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu