RE: Wrapping C -- errno's?

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

> -----Original Message-----
> From: Andy Serpa [mailto:ac at onehorseshy.com]

> 
> Matthew Lewis wrote:

> As far as callbacks, I solved it using the method described a few 
> messages ago (Re:Callback problem), but you might want to 
> take a look at 
> your func_asm in fptr.e -- seems to call the function ok but 
> not always 
> exit properly, but I'm not qualified to comment.  (If I call 
> those same 
> functions that were crashing myself via call_cdecl_func they don't 
> crash, by the way, just when they are called from the .dll.)

Do you know what compiler compiled the dll?  As I recall, I only really
tested using MSVC6.  I wonder if the compiler is using some sort of fastcall
convention (passing arguments via register).
 
> I am still using your library for the rest of the calls as 
> they are all 
> object methods (& cdecl) and there is no other way to call 
> them than by 
> reference, so big thanks to you for that...

Glad someone else has a use for it. :)

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu