Re: 32-bit Ints in Eu2C dlls

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

Me wrote:

<snip>

> Today I built the current version of my DLL, using "make_atom". It
> worked fine! After translating the code, I realized that the .def file
> containd 114 routine names. But I only want 11 routines to be exported!
> So it doesn't matter, whether or not there are 2 more names in the .def
> file, it isn't "clean" anyway. Sorry, I didn't think of that yesterday.
>
> So until I have a better idea I'll do the same as before, concerning the
> .def file. For each project, I'll write the desired .def file by hand,
> and after translation I'll replace the automatically produced .def file
> with my hand-written .def file. The replacement can be done automatically
> by a batch file.
>
> The cause of this clutter is, that there is no way to tell the translator
> explicitely, which routines I want to export, and that the translator
> automatically exports *all* global routines -- even those, which are in
> included files. Again that scope issue concerning "include" ... sad

Some hours ago, I uploaded the new version of my wrapper for the Eu2C
Windows translator to RDS' User Contributions page. It has the
additional option to export only global routines that are defined in the
main module of a DLL.

<shameless double-plug for the record>
Using your (Matt's) "32bits.zip" together with my "ecwr.zip" makes it
_easy_ now to translate Euphoria (at least) 2.4 and 2.5 programs, and
passing 32-bit integers to exported routines in DLLs and SOs, as well
as controlling which routines are exported, and including resources in
DLLs and EXE files on Windows. smile
</shameless double-plug for the record>

Regards,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu