Re: exe imports / exports and Eu

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

Hi Matt.

> You can simply use open_dll().  The name is a little misleading.  Any file
> that exports functions or variables will work with open_dll() (.dll, .exe,
> .ocx, etc).  So writing the dll in Euphoria is your best way to go.

Interesting.....I actually tried that. I must have made a mistake :(

In the meantime,I have been having a rotten time trying to compile a DLL
using BCC from the DOS prompt.. I finally got it to recognise AC3D's
exports when suddenly it has started reporting "out of memory"....sheesh!

The example source and .h is VC++ and as I know little about either VC
or BCC this is very hard. I would rather do it all with Eu if possible....

> However, that's about as far as I can help you, since all the information
on
> creating and using plugins for/with AC3D seems to be reserved for the
> registered version.  With the new dll features, this should be pretty
> simple, although you might have to fiddle with the names of the exported
> files (using a .def file), since I'm guessing that AC3D looks for a
certain
> entry point to access the plugin.

It looks for three specifically named functions. It expects to get values
back
from two of them. I have played around with the .def as suggested in Eu2C
which seemed to fix the names (but left the old names there too.....is there
a reason for that?). Incidently, I think a switch to have the .def
automatically
generated would be nice.

Thanks for the help Matt. Don't be surprised if I end up with lots more
questions :)

Mark

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

Search



Quick Links

User menu

Not signed in.

Misc Menu