[AGENT++] Building Windows and Linux versions...

Mr. AWD mrawd at excite.com
Wed Feb 18 23:23:30 CET 2004


> > Here is the link to the tool that converts VC7 project files back to
> > the VC6 that I used
> > (http://www.codeproject.com/tools/prjconverter.asp). You can get them
>
> Many thanks, I will take a look at it!

Have in mind that some of the include paths got mingled at the end and I had to fix them by hand. Here is how parts of the options looks like before:

/I /I /I "" ..\..\..\agent++\agent_pp"" "" ..\..\..\agent++\include"" "" ..\..\..\snmp++\include""

...and after it is fixed:
/I "..\..\..\agent++\agent_pp" /I "..\..\..\agent++\include" /I "..\..\..\snmp++\include"

The above example is for the "\msvc7\dynamic\agent++\agent++.dsp". Basically what happens is that newly created DSP file has double quotes after the "/I" directives. That forces VC6 to modify the file and threat those double quotes as the empty paths, and leaves the original paths in the back of lines without any sense.

One last thing is that converting of the *.SLN files will convert all of the DSP files bellow, which is much faster than doing each of those individually. There is no difference doing it one way or another regarding the double quotes issue.

> >Well, good and bad things to come out of this!! The good one is that
> procedure works and I was able to replace MS SNMP agent with the one that
> was built. The bad thing is that I couldn't start the service and got the
> same error message when try to started from my self created service entry.
> The very same executable still works on Win 2000, tough.
>
> Hmmh, strange. What error message are you getting? Do you
> get it immediately after starting the service?

Well, I was able to start the service with no errors, but when queried with GET request, it times out every time (error message is Request Timed Out). I was using only V1 and V2c request for testing. Could it be that I still need a full V3 configuration in order for agent to accept V1 and V2c?

> No there is no such beast. I have wrote an example for
> the AGENT++ examples...
> If you write one for all or at least the basic the packages
> I will be happily intergrate it into the distribution!

Cool!! I will send you the One to rule them all then as soon as it is done!


Later


Fedja





_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



More information about the AGENTPP mailing list