Click here to Skip to main content
15,887,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Using array of string values Pin
Freak3014-Jun-13 0:43
Freak3014-Jun-13 0:43 
QuestionHow to use user defined type in other function. Pin
Manoj739012-Jun-13 19:44
Manoj739012-Jun-13 19:44 
AnswerRe: How to use user defined type in other function. Pin
Richard MacCutchan12-Jun-13 21:05
mveRichard MacCutchan12-Jun-13 21:05 
GeneralRe: How to use user defined type in other function. Pin
Manoj739012-Jun-13 21:41
Manoj739012-Jun-13 21:41 
GeneralRe: How to use user defined type in other function. Pin
Richard MacCutchan12-Jun-13 22:29
mveRichard MacCutchan12-Jun-13 22:29 
GeneralRe: How to use user defined type in other function. Pin
CPallini12-Jun-13 23:26
mveCPallini12-Jun-13 23:26 
GeneralRe: How to use user defined type in other function. Pin
Manoj739013-Jun-13 23:54
Manoj739013-Jun-13 23:54 
GeneralRe: How to use user defined type in other function. Pin
CPallini14-Jun-13 0:42
mveCPallini14-Jun-13 0:42 
Quote:
int main()
{
struct result t1;

t1 = my_encrypt();
Should be:
C#
int main()
  {
    struct result t1 = {0};

    my_encrypt(&t1);
    //..



Quote:
struct result my_encrypt()
{
should be:
int my_encrypt(struct result * pt1)
  {
    // ...



Please note, there are other (unrelated) errors in your code.
Veni, vidi, vici.

QuestionCapturing mouse input outside a dialog Pin
rbrunton12-Jun-13 7:19
rbrunton12-Jun-13 7:19 
GeneralRe: Capturing mouse input outside a dialog Pin
David Crow12-Jun-13 10:19
David Crow12-Jun-13 10:19 
GeneralRe: Capturing mouse input outside a dialog Pin
rbrunton12-Jun-13 11:04
rbrunton12-Jun-13 11:04 
GeneralRe: Capturing mouse input outside a dialog Pin
rbrunton12-Jun-13 11:11
rbrunton12-Jun-13 11:11 
AnswerRe: Capturing mouse input outside a dialog Pin
Erudite_Eric13-Jun-13 1:15
Erudite_Eric13-Jun-13 1:15 
AnswerRe: Capturing mouse input outside a dialog Pin
thanh_bkhn13-Jun-13 16:57
professionalthanh_bkhn13-Jun-13 16:57 
QuestionCToolTipCtrl with TTF_TRACK Flag won't disappear, SetDelayTime doesn't work? Pin
Falconapollo12-Jun-13 0:34
Falconapollo12-Jun-13 0:34 
QuestionLoadImage error Pin
_Flaviu11-Jun-13 22:04
_Flaviu11-Jun-13 22:04 
AnswerRe: LoadImage error Pin
Jochen Arndt11-Jun-13 22:58
professionalJochen Arndt11-Jun-13 22:58 
GeneralRe: LoadImage error Pin
_Flaviu11-Jun-13 23:24
_Flaviu11-Jun-13 23:24 
GeneralRe: LoadImage error Pin
Jochen Arndt11-Jun-13 23:38
professionalJochen Arndt11-Jun-13 23:38 
GeneralRe: LoadImage error Pin
_Flaviu11-Jun-13 23:51
_Flaviu11-Jun-13 23:51 
GeneralRe: LoadImage error Pin
Jochen Arndt12-Jun-13 0:36
professionalJochen Arndt12-Jun-13 0:36 
GeneralRe: LoadImage error Pin
_Flaviu12-Jun-13 1:01
_Flaviu12-Jun-13 1:01 
QuestionHow can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
002comp11-Jun-13 20:12
002comp11-Jun-13 20:12 
AnswerRe: How can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
Jochen Arndt11-Jun-13 21:08
professionalJochen Arndt11-Jun-13 21:08 
GeneralRe: How can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
002comp11-Jun-13 22:31
002comp11-Jun-13 22:31 

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.