agent++ as dll

HIRO Watanabe hiroakiw____milk.freemail.ne.jp
Tue Apr 3 14:46:49 CEST 2001


Hi,

Chaudhury, Neel wrote:
>can any body tell me what to do if I want to build agent ++ as a DLL rather
>than a library on WinNT? I want to use both snmp++ and agent++ as DLLs.

One thing you will need to do is to export classes and functions by 
putting DLLOPT before each class/function declaration. For example,

#define DLLOPT __declspec(dllexport)
class DLLOPT Oid: public ...

As the agent++ document instructs not-to compile as a dll, I have not 
tried DLL compilation. There might be some other things to do.

-- 
HIRO Watanabe mailto:hiroakiw at milk.freemail.ne.jp



More information about the AGENTPP mailing list