Re: Exporting Low-Level API to a DLL using MSVC

Michael Leupold <[email protected]> Sun, 2 Apr 2006 01:06:04 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Am Samstag, 1. April 2006 23:52 schrieb DINH Viet Hoa:
> Michael Leupold wrote :
> > I've recently begun looking into libetpan for coding my own little
> > application. As I want to try to develop some disconnected imap
> > functionality I'll probably be using the low-level imap api. At the
> > moment libetpan barely exports any low-level symbols when compiling a dll
> > using msvc. Is there a special cause to this or is just noone using the
> > low-level api on windows?
> It is just that no one is using the low-level API on windows since
> libetpan was first designed for Unix flavour.

As I'm using it anyway, should I make my modification available? As I'm pretty 
new to windows programming I have no idea if this would bloat the executable 
using the dll... the lib grows. You could also use defines to enable the 
different low-level apis if you need them like
#ifdef WINDOWS_DLL
#define EXPORT_LOWLEVEL_IMAP LIBETPAN_EXPORT
#endif

or something similar.

Regards,
Michael


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642