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 SkipVought 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: *

  • Users: paul51
  • Order by date
  1. paul51

    VXWorks Newbie Question

    Thanks again. I think I am getting closer to understanding. A last question, if you do not mind (I do appreciate the help!) There are other commands that I found with the lookup command that I am able to run. They do not contain the ::. Do you have any idea why these commands are runnable...
  2. paul51

    VXWorks Newbie Question

    Thanks for the info. Why does it appear from the lkup command if there is not reference to it? Is there a way to load it into the shell? Thanks
  3. paul51

    VXWorks Newbie Question

    Hello, I am debugging an IC that has is running VxWorks. Using the lkup command, I am able to find some functions that I would like to run. An example is: SomeClass::SomeTest(var1,var2) I am unable to run the SomeTest. The response I receive is that it is not a known symbol. Does anyone...
  4. paul51

    2008 .net Form Socket Send problem

    Hello, I am writing my first socket program in VC++, ,.net 2008. I am able to create a socket, but I am not able to use the Send command properly. unsigned char Tx_Packets[]= { 0x70,0xa1,0x00,0x00 }; int Tx_Length = 4; new_socket->Send(Tx_Packets,Tx_Length,SocketFlags::None); error C2664...
  5. paul51

    String problem

    I am trying to form the following string "****.***" (including the quotes). CString C1 = "****.***" results in ****.*** without the quotes. I need the qoutes. CString C1 = ""****.***"" results in a compilor error pertaining to the .* that is in the string. Does anyone know how to for this...
  6. paul51

    Problem with Debug breakpoints in VC++ .net 2003

    Thank you for your help. Your 2nd suggestion fixed my problem. Thanks, Paul
  7. paul51

    Problem with Debug breakpoints in VC++ .net 2003

    Hello, I am writing a VC++ .net app, and I am having a problem with the breakpoints that I am inserting for debugging. I can insert a breakpoint and enter the code in debug mode, but the code breaks approximately 5 line before the breakpoint occurs. I have used .net for a few years and have...
  8. paul51

    convert number array to ascii digits

    I have the following: unsigned int ARRAY[2000]; The array is filled with ints e.g. ARRAY[0]=45,[1]=115,[2]=13, etc I need an unsigned char buffer of '4','5','1','1','5' etc. Does anyone know how to do the covnersion? Thanks.
  9. paul51

    convert byte array to decimal number

    My conversion attempts did not work. I tried many things and deleted them. The latest is: unsigned char OUT_VAL_1[] = __gc new unsigned char[4]; //BYTE OUT_VAL_1[4]; OUT_VAL_1[0]=0xBB; OUT_VAL_1[1]=0xD3; OUT_VAL_1[2]=0x01; OUT_VAL_1[3]=0x3F; float A=99...
  10. paul51

    convert byte array to decimal number

    I am trying to convert a byte array to a decimal. The VC++ .net code is: BYTE OUT_VAL_1[4]; OUT_VAL_1[0]=0xBB; OUT_VAL_1[1]=0xD3; OUT_VAL_1[2]=0x01; OUT_VAL_1[3]=0x3F; //made many attempts, with no luck. //the expected conversion is .507137 Thanks
  11. paul51

    converting string to unsigned char

    Thanks for the idea. I still get an error. 'static_cast' : cannot convert from 'unsigned char [100]' to 'char *'
  12. paul51

    converting string to unsigned char

    I am trying to convert a string to an unsigned char. The code follows. char temp[100]; strcpy(temp,"1234"); unsigned char uc[100]; strcpy(uc,temp); //error C2664: 'strcpy' : cannot convert parameter 1 from 'unsigned char [100]' to 'char *' Any help would be greatly appreciated...
  13. paul51

    GetBytes method

    I am trying to implement the GetBytes method into a VC++ .net application. I cannot figure out how to get it into my code without causing an error. My code does not recognize the command, so I suppose I need some class or library. Can anyone help with this? Thanks
  14. paul51

    Check Box Color Problem

    Hello BlackDice, Invalidate(TRUE) works properly. Thank you for your help. I greatly appreciate it!
  15. paul51

    Check Box Color Problem

    I am trying to change color of a check box control several times in my program. I am using the following code: HBRUSH CColortestDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); if(pWnd==GetDlgItem(IDC_CHECK1)) {...
  16. paul51

    Sending a Hex value over the serial port

    does anyone know how to send a hex value over a serial port?
  17. paul51

    color dialog in .net

    I know how to change the color of a dialog in VC++ 6.0 by using the SetDialogBkColor command in the InitInsatnce Class. Does anyone know how to do this in a .net MFC dialog?
  18. paul51

    ShellExecute Problem

    I thought it was impossible, but then I found that it does work in VB using the 'SENDKEY' command. I am hoping that VC has a comparable command.
  19. paul51

    ShellExecute Problem

    I would like to open up notepad from my S/W and print different messages. I am trying to use ShellExecute, but it is not working. Notepad is opening, but I cannot get anything to print. ShellExecute(0, "open", "NOTEPAD.exe", 'some text to print', NULL, SW_SHOWNORMAL); Can anyone help with this?
  20. paul51

    Timer Problem

    I am using a VBA shell to do some programming, and I cannot locate the 'timer clock' control. I left clocked on the control dialog and added every control that was available, but the timer clock was not there. When I open a normal VB window, it is present as one of the listed controls, but not...

Part and Inventory Search

Back
Top