How to send a sting to a dll from a exe?

  • Thread starter Thread starter abitpro
  • Start date Start date
A

abitpro

I am writing a SNMP extension dll and a trigger.

Now i want to send a string from trigger.exe to MyNewTrap.DLL which
is loaded by SNMP.exe.

When MyNewTrap.DLL has reveived this string, it's function SnmpExtensionTrap
will be called by SNMP.exe, and SnmpExtensionTrap will assembly the
VarBindList.
 
A quick way is to use the WM_COPYDATA message. Search for examples in
msdn.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top