[AGENT++] building agent as dll

Frank Fock fock at agentpp.com
Sun Jul 25 23:08:52 CEST 2004


Hi Ortal,

It is not a requirement to use the AGENT++Win32 subagent DLL.
But it is an example that works. To make it more easy, you should
start without multi-threading.

Best regards,
Frank

Ortal ZEEVI wrote:

>Hi,
>
>I am still having a problem with implementing agent inside a dll.
>
>I reed the AGENT++Win32 subagent example and API. Must i use this API inorder to use 
>agent++ inside a dll? 
>
>I'm trying to use agent++ without this API, but when i'm starting to 
>initialize the agent (Mib *mib=new Mib()) the program crush with Access 
>Violation Exception.
>
>What can i do?  do i need to use the dynamic library of agent++ ? 
>currently i'm using the static one with Threads and without SNMP_V3
>
>Thanks,
>
>Ortal
>
>
>
>
>
>Frank Fock <fock at agentpp.com>
>Sent by: agentpp-bounces at agentpp.org
>22/07/2004 17:26
>
> 
>        To:        Ortal ZEEVI <OZEEVI at dalet.com>
>        cc:        agentpp at agentpp.org
>        Subject:        Re: [AGENT++] building agent as dll
>
>
>Ortal,
>
>Building a DLL with using AGENT++ classes should not be any
>problem. See the AGENT++Win32 subagent example and API.
>
>Best regards,
>Frank
>
>Ortal ZEEVI wrote:
>
>  
>
>>Hello,
>>
>>I'm tying to build an agent inside a DLL, but when i creates an instance 
>>of Mib  the program throws an exception.
>>
>>What is the problem?
>>
>>
>>Thanks,
>>
>>Ortal Zeevi
>>_______________________________________________
>>AGENTPP mailing list
>>AGENTPP at agentpp.org
>>http://agentpp.org/mailman/listinfo/agentpp
>>
>>
>>
>>    
>>
>
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>
>  
>





More information about the AGENTPP mailing list