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