Hi,
I need a routine that performs this SNMPGET request, and parses the result. It needs to be written in C or C++.
C:\>snmpget -c public 66.181.37.233 .1.3.6.1.4.1.3192.2.1.4.0
.1.3.6.1.4.1.3192.2.1.12.0 .1.3.6.1.4.1.3192.2.1.8.0
.1.3.6.1.4.1.3192.2.1.10.0
I already wrote the function to...
Here's a code fragment where the strings weren't extracted:
// Write new flash variables
if (SaveUserParameters(&mds, sizeof(mds)) != 0)
sprintf(silentstring, "Programmed correctly");
else
sprintf(silentstring, "Programming failed");
SilentHistoryQueue();
WriteConfigRecord()...
Hi,
I need to get my C program translated from English into Spanish. In order to do so, I need to extract all of the strings out of my 35,000 lines of C code into a separate file so I can send it off to be translated. How can I quickly and easily extract the strings out of a C code file? I...
How do I output a number in a money format, like this:
$221,659.20
I can output it like this
printf("Total Payment \$%.2f<BR>",$roundedmonthlypayment * $years * 12);
to get $221659.20, but there are no commas. How do I output with commas? Please help.
Thanks,
Dan
I have an application with one window and a Compass button. I also created a dialog resource, with the ID "IDD_COMPASS". How do I open a dialog window with this resource when the user clicks the Compass button? Here is my command handler routine. This code does get executed when the user clicks...
How do I send a WM_PAINT message to my window or trigger a WM_PAINT message? I tried
SendMessage (hWnd, WM_PAINT, 0, 0);
but that didn't work. I'm using Microsoft eMbedded Visual C++ 4.0 with a non-MFC Pocket PC application.
Using Microsoft Embedded Visual C++ 4.0, I modified a sample Hello World application from the book Programming Windows CE .NET by Douglas Boling. I tried to add a button and a MessageBox that appears when the button is clicked. The program compiles and the message box appears when the button is...
I can't get the HelloCE.cpp program listed on pages 30-33 in Douglas Boling's Programming Microsoft Windows CE .NET to compile! I am running Microsoft Embedded Visual C++ 4.0 SP2. I copied the code from the CD included with the book to my hard drive. I opened the workspace file. Here's what the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.