Re: cross platform GUI suggestions for Euphoria

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

mic wrote:

> Btw, should you really declare blah_do_something() as "C"?
> As far as I know, Euphoria uses the stdcall convention when
> calling C functions..

This has nothing to do with calling conventions.

The 'extern "C"' declaration prevents the C++ compiler from mangling the
name of the routine in the DLL. Similar to Euphoria, C++ will _mangle_
routine names to prevent namespace collisions. This bit of code prevents
that from happening.

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu