Click here to Skip to main content
15,909,747 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Capturing Network Desktop Pin
Mark Salsbery20-Apr-07 7:10
Mark Salsbery20-Apr-07 7:10 
GeneralRe: Capturing Network Desktop Pin
ThatsAlok2-May-07 23:07
ThatsAlok2-May-07 23:07 
GeneralRe: Capturing Network Desktop Pin
Mark Salsbery3-May-07 4:14
Mark Salsbery3-May-07 4:14 
QuestionHow to return a structure variable from a function ? Pin
Nikhil Trivedi18-Apr-07 20:12
Nikhil Trivedi18-Apr-07 20:12 
AnswerRe: How to return a structure variable from a function ? Pin
Parthi_Appu18-Apr-07 20:27
Parthi_Appu18-Apr-07 20:27 
AnswerRe: How to return a structure variable from a function ? Pin
Nibu babu thomas18-Apr-07 20:31
Nibu babu thomas18-Apr-07 20:31 
GeneralRe: How to return a structure variable from a function ? Pin
Nikhil Trivedi18-Apr-07 20:38
Nikhil Trivedi18-Apr-07 20:38 
GeneralRe: How to return a structure variable from a function ? Pin
Parthi_Appu18-Apr-07 20:50
Parthi_Appu18-Apr-07 20:50 
Like this,
struct __dummy {
 int i;
 int j;
}Dummy;

bool LoadValues(struct Dummy& src)
{
 src.i = 1;
 src.j = 2;

 return true/false; /* Depends, assume here true */
}

void SumFns(..)
{
 struct Dummy MyDummyValue = {0};
 if (LoadValues(MyDummyValue))
 {
  /* Succeeded */
  /* Now if you access 'MyDummyValue', you can have the data */
  int a = MyDummyValue.i; /* a will be assigned as 1 */
  int b = MyDummyValue.j; /* b will be assigned as 2 */
 }
 else
  /* Failed */
}




Do your Duty and Don't expect the Result

GeneralRe: How to return a structure variable from a function ? Pin
Nikhil Trivedi18-Apr-07 20:56
Nikhil Trivedi18-Apr-07 20:56 
GeneralRe: How to return a structure variable from a function ? Pin
Nikhil Trivedi19-Apr-07 21:21
Nikhil Trivedi19-Apr-07 21:21 
AnswerRe: How to return a structure variable from a function ? Pin
GameProfessor18-Apr-07 21:35
GameProfessor18-Apr-07 21:35 
AnswerRe: How to return a structure variable from a function ? Pin
Cedric Moonen18-Apr-07 21:58
Cedric Moonen18-Apr-07 21:58 
GeneralRe: How to return a structure variable from a function ? Pin
Nikhil Trivedi19-Apr-07 2:15
Nikhil Trivedi19-Apr-07 2:15 
Questionadding a vertical Scrollbar Pin
S.shashank18-Apr-07 20:02
S.shashank18-Apr-07 20:02 
Question3D model and GUI Pin
Aint18-Apr-07 18:06
Aint18-Apr-07 18:06 
AnswerRe: 3D model and GUI Pin
Steve Echols18-Apr-07 18:18
Steve Echols18-Apr-07 18:18 
QuestionHow to modify the pop-up menu caption dynamicly? Pin
snailflying18-Apr-07 14:38
snailflying18-Apr-07 14:38 
AnswerRe: How to modify the pop-up menu caption dynamicly? Pin
Steve Echols18-Apr-07 17:34
Steve Echols18-Apr-07 17:34 
QuestionPKCS12 Pin
Andy H18-Apr-07 9:08
Andy H18-Apr-07 9:08 
AnswerRe: PKCS12 Pin
Dmitry Khudorozhkov18-Apr-07 16:58
Dmitry Khudorozhkov18-Apr-07 16:58 
GeneralRe: PKCS12 Pin
Andy H18-Apr-07 23:43
Andy H18-Apr-07 23:43 
QuestionVC++6: OCX : registering/using problems... Pin
Joan M18-Apr-07 8:08
professionalJoan M18-Apr-07 8:08 
AnswerRe: VC++6: OCX : registering/using problems... Pin
Roger Stoltz18-Apr-07 11:15
Roger Stoltz18-Apr-07 11:15 
GeneralRe: VC++6: OCX : registering/using problems... Pin
Joan M18-Apr-07 23:49
professionalJoan M18-Apr-07 23:49 
GeneralRe: VC++6: OCX : registering/using problems... Pin
Roger Stoltz19-Apr-07 1:13
Roger Stoltz19-Apr-07 1:13 

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.