Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ddeham

    SNMP Client function

    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...
  2. ddeham

    How do I extract all strings from a C file?

    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()...
  3. ddeham

    How do I extract all strings from a C file?

    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...
  4. ddeham

    Output a number in money format

    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
  5. ddeham

    How do I open a dialog window resource when a user clicks a button?

    I got it to work. I just created a new dialog resource again, and I deleted the CreateWindowEx statement, and it works. Thanks.
  6. ddeham

    How do I open a dialog window resource when a user clicks a button?

    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...
  7. ddeham

    How do I send a WM_PAINT message to my window or trigger a WM_PAINT?

    I figured it out. I used InvalidateRect(hWnd, NULL, TRUE); By the way InvalidateRgn(hWnd, NULL, TRUE); also worked. Thanks, Dan
  8. ddeham

    How do I send a WM_PAINT message to my window or trigger a WM_PAINT?

    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.
  9. ddeham

    Can't Get MessageBox to work properly in Embedded Visual C++ 4.0

    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...
  10. ddeham

    Hello World from Programming Microsoft Windows CE .NET won't compile

    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...

Part and Inventory Search

Back
Top