RE: Making DLL's with Eu
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Mar 14, 2001
- 477 views
> -----Original Message----- > From: Kat [mailto:gertie at PELL.NET] > > Sheesh, you'd think Robert would make this automated! I mean > really.... > > if found(--calledprogram in source code) then remove the "_" > from following function > line, and don't optimise it away, etc...... I think he has said that DLL creation is in the translator's future. I don't know about any specifics, however, here are some suggestions. Add a command line option for ecw: '-dll'. Don't add any prefixes to global functions and add _export _stdcall to the definition. Also, generate LibMain, rather than WinMain, of course. As for the optimization, that's exactly what it does (as far as removing the function). But remember that a DLL is really like an include file. Most libraries don't call their own functions. Matt Lewis