Click here to Skip to main content
15,890,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Auto UnInstall after specified time Pin
Jonathan [Darka]12-Jul-06 2:10
professionalJonathan [Darka]12-Jul-06 2:10 
AnswerRe: Auto UnInstall after specified time Pin
David Crow12-Jul-06 2:48
David Crow12-Jul-06 2:48 
AnswerRe: Auto UnInstall after specified time Pin
*Dreamz12-Jul-06 3:21
*Dreamz12-Jul-06 3:21 
Questionvideo ram Pin
samira forooghi12-Jul-06 1:55
samira forooghi12-Jul-06 1:55 
AnswerRe: video ram Pin
includeh1012-Jul-06 2:48
includeh1012-Jul-06 2:48 
QuestionRe: video ram Pin
David Crow12-Jul-06 2:54
David Crow12-Jul-06 2:54 
AnswerRe: video ram Pin
Hamid_RT12-Jul-06 3:21
Hamid_RT12-Jul-06 3:21 
Questionsame structure behave differntly in different application Pin
pavan105nagarbhavi12-Jul-06 1:48
pavan105nagarbhavi12-Jul-06 1:48 
Smile | :) Hi,
I have two Visual C++/MFC application's in both the application I have the
same structure the structure is as follows
struct lat_lon1 {
char news;
short deg;
short min;
float sec;
}lat;
In one application the size of the structure is 10 and in the other it is 12
In the application which shows the structure size as 10 I am writing the data of the structure using fwrite command
fwrite((struct lat_lon1*) &lat, sizeof(struct lat_lon1), 1, fw);
and creating the same structure I am reading the file using the command
fread((struct lat_lon1*) &lat, sizeof(struct lat_lon1), 1, fw);
but I am unable to read the file.

I saw the settings of both the application's but they appear to be the same

Can anybody please help me in this regard


Pavan P
AnswerRe: same structure behave differntly in different application Pin
_AnsHUMAN_ 12-Jul-06 2:16
_AnsHUMAN_ 12-Jul-06 2:16 
QuestionRe: same structure behave differntly in different application Pin
David Crow12-Jul-06 2:59
David Crow12-Jul-06 2:59 
AnswerRe: same structure behave differntly in different application Pin
Zac Howland12-Jul-06 3:41
Zac Howland12-Jul-06 3:41 
QuestionRegistry - RegSetValuEx - Returning Access denied ?? Pin
elitecodex12-Jul-06 1:43
elitecodex12-Jul-06 1:43 
AnswerRe: Registry - RegSetValuEx - Returning Access denied ?? Pin
Steve S12-Jul-06 3:11
Steve S12-Jul-06 3:11 
GeneralRe: Registry - RegSetValuEx - Returning Access denied ?? [modified] Pin
elitecodex12-Jul-06 4:51
elitecodex12-Jul-06 4:51 
GeneralRe: Registry - RegSetValuEx - Returning Access denied ?? Pin
Steve S12-Jul-06 6:51
Steve S12-Jul-06 6:51 
QuestionProblem with size of child window Pin
g_sandipan12-Jul-06 1:16
g_sandipan12-Jul-06 1:16 
AnswerRe: Problem with size of child window [modified] Pin
Sarath C12-Jul-06 1:29
Sarath C12-Jul-06 1:29 
GeneralRe: Problem with size of child window Pin
g_sandipan12-Jul-06 2:00
g_sandipan12-Jul-06 2:00 
Questionpressing return in an edit control Pin
Desmo1612-Jul-06 0:38
Desmo1612-Jul-06 0:38 
AnswerRe: pressing return in an edit control Pin
Sarath C12-Jul-06 0:45
Sarath C12-Jul-06 0:45 
GeneralRe: pressing return in an edit control [modified] Pin
see me12-Jul-06 1:13
see me12-Jul-06 1:13 
GeneralRe: pressing return in an edit control Pin
Hamid_RT12-Jul-06 1:16
Hamid_RT12-Jul-06 1:16 
GeneralRe: pressing return in an edit control Pin
Sarath C12-Jul-06 1:27
Sarath C12-Jul-06 1:27 
GeneralRe: pressing return in an edit control Pin
FarPointer12-Jul-06 1:49
FarPointer12-Jul-06 1:49 
AnswerRe: pressing return in an edit control Pin
Naveen12-Jul-06 0:47
Naveen12-Jul-06 0:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.