James, thanks.
I included the header on the file and on project->setting->libraries
placed libmib.lib. I could create the .exe file.
Here I answer your questions
> You are doing this on Windows, aren't you?
Yes, now I am using Visual C++ 6.0. I am using it the firts time, my C
programming experiences are with Borland C 3.1
> Did you not read the append I put out this morning?
Yes. I do not what is the use of the *.dsp.
> Why are you copying and renaming the sample? What does that
> accomplish?
Becasue I just want the source code and create the .exe, this is a test
I am doing for both learning visual C++ and to use the functions the NV
libraries provide.
> And how exactly are you compiling it?
Under build-> compile (I do not know what else tell you!!!). Then make
exe.
> What you are missing below appear to be the h files which declare
> things
> like OVmib_get_objid_name.
> That can be found in \usr\ov\include\ov\ovsnmpmib.h. Those things
> you get
> errors on will be assumed to externs when the compile is correct.
> The output must then be linked with libmib.lib for them to be
> resolved.
If I want to use the function nvSnmpBlockingGetTable I need the
libraries (from NV programmer Guide)
\usr\OV\lib\libov.lib
\usr\OV\lib\nvsnmp.lib
\usr\OV\lib\libovc.lib
\usr\OV\lib\libovcmapi.lib
the last 2 are not in my lib directory, how do I specify them???
The final goal is to retrive the Forwarding table my switches, and use
it to know where things are connected.
|