RE: exe imports / exports and Eu

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

-----Original Message-----
From: Mark Brown [mailto:mabrown at SENET.COM.AU]
 
>I want to create a "plugin" for the AC3D modeller.
 
>I have never tried anything like this before so these questions might
>be a bit lame :)
 
>It looks to me like the AC3D.exe exports most of its internal functions.
>These are then made available to the plugin (which I believe is a renamed
>DLL) to call. 
 
>I had hoped that I could create my DLL plugin using the Eu2C translator.
>However, I cannot think of a way to get my dll to "see" the exported AC3D
>functions. Is there a way to do it? Perhaps by modifying one of the files
>created by Eu2C?

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.  

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.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu