RE: wrapping DX

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matthew Lewis wrote:
> 
> I've run into something very strange in DirectX.  I'm basically 
> converting
> the C++ Tutorial on MSDN into Euphoria.  I'm having trouble with the


Martin

  Although I don't understand your code. 
  Here are some possible reasons for your code not working.

  1. Non-virtual functions do not appear in the vtable.
  2. Stack order is not correct going from C++ to Euphoria (
     try reversing the parameter list ).
  3. Euphoria interfaces with "C" and C++ maybe mangling the names (
     inside your DLL ).
  4. A Structure is not formed properly.
  5. Trying to pass a structure by value.
 
Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu