Re: cross platform GUI suggestions for Euphoria

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

>When you write  a wrapper, you need to use a C++ compiler. You define the
>interface something like this:
>
>    extern "C" __declspec(dllexport) blah_do_something( blah self ) {
>       self->do_something()
>    }
>

Indeed.
Though I prefer to call dll functions directly from Euphoria and not via
these kinds of "slave" functions (wich I why I think that pure C is the
dialect of choise when writing DLL:s).
Btw, should you really declare blah_do_something() as "C"? As far as I know,
Euphoria uses the stdcall convention when calling C functions..

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu