Hi Is there any way that we can write function into specific address. Is it possible with pointer to constant .
hi when I do ptr=(int*)malloc(10); Does the memory allocate of 10 bytes are in continuous memory area . Does malloc allocates memory...
Ya u are correct this is what i want to do but 1.data is coming from serial port which is unsigned char sResult[75] 2.When Iam printing RMsg...
............ printf("\n before=%s",sResult);//is it correct? //HERE PERFECTLY OK if((tmp[3]=='G')&&(tmp[4]=='G')&&(tmp[5]=='A')) {...
Are gpsFrame,sResult,flength global variables? Yes If so how are gpsFrame and sResult defined? What is the array size? unsigned char...
I am writing a program on serial port where iam sending a string $GPGGA,123519,0.12343,N,0.19607,W,1,08,0.9,545.4,M,46.9,M,,*47" On receive...
#include<stdio.h> main() { char s1[]="H1"; char s2[]="H1"; if(s1==s2) printf("EQUAL"); else printf("NOT EQUAL"); } OUTPUT : NOT EQUAL...
hi all, if I am allocating memory using malloc, example 1. temp = (int)malloc(122); temp addresss is 1000 And I am not freeing the...
Iam facing parsing problem .I have 2 bytes of data my_message. & i want to send this data to client (socket proging).Server side my parsing is ok...
I am getting GPS data on my window Actual GPS DATA is stored in these 2 variables float landlong= 77.384547E //Realtime Longtitude float...
have a string "072455.00" this represents UTC time How should i convert this particular string to time
I have 13 bytes of data which i need to parse First 5 bytes are char next 2 bytes are int next 3 bytes are char nxt 1 bye is char remaining 2...
I have created 2 thread In one thread iam reading data through serial.once it read it will go to the second thread.But It seems it never comes out...
well actually I am sending(i.e. writing) CSTRING data through serial port. & reading it through Dword since CSerialcom readbyte has only one...
Hi I get an access violation error. It is a run time error; the program compiled bug free. The program even runs .Its just when iam returning...
How can i convert char array to double ,i tried to typecast it but it gave error. char tmp[12]=dfdfsdfsd; double longt; longt=(double)tmp;...
I have added two files on my existing mfc application a1.h &a1.cpp . I have function defintion in a1.cpp to read serially. This function iam...
Hi all I want to read number of bytes serially ,but i am getting an error that is error C2664: 'CSerialCom::ReadByte' : cannot convert...
Lable is CStatic *Label = new CStatic; lx & ly Iam calling this function ConvertLonLatToXY(td.L_Latitude,td.L_Longitude) which is having 2...
Hi all I am getting a error in creating a LABEL.I need to display different label at different positions for the first time iam getting it...
Separate names with a comma.