Re: cross platform GUI suggestions for Euphoria
>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.
|
Not Categorized, Please Help
|
|