winservice.c file's question

麻 雪蛟 <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hi

    I am using net-snmp5.1.3 snmptrapd program, I don't want to use 
snmptrad as a windows service, so I delete "#define WIN32SERVICE" line in 
snmptrapd.c, and I delete win32service.c file, compile and link ok!
    But When I use snmptrapd, it doesn't work...I
    If I don't delete win32service.c , it works ok, I don't konw why, I 
find win32servcie.c file is noly for using snmptrapd as win32 service. why 
I delete the win32service.c file, snmptrapd couldn't run???? do 
win32servince.c has other usage????


Best Regards
Anders

_________________________________________________________________
浜ㄤ涓澶х靛欢绯荤 MSN Hotmail  http://www.hotmail.com  



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.