Click here to Skip to main content
14,272,313 members

ATL / WTL / STL

 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly1-Oct-14 23:31
memberJacobkingsly1-Oct-14 23:31 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Richard MacCutchan1-Oct-14 23:35
protectorRichard MacCutchan1-Oct-14 23:35 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Vi21-Oct-14 21:56
memberVi21-Oct-14 21:56 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly1-Oct-14 23:11
memberJacobkingsly1-Oct-14 23:11 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Shao Voon Wong1-Oct-14 21:56
mvaShao Voon Wong1-Oct-14 21:56 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly1-Oct-14 23:11
memberJacobkingsly1-Oct-14 23:11 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly3-Oct-14 3:27
memberJacobkingsly3-Oct-14 3:27 
QuestionPointer to a function parameter Pin
econy24-Sep-14 3:01
memberecony24-Sep-14 3:01 
I write a function like:
<pre lang="c++">
  void func1(char chx[], int y) 
  {
     int wsn = 0;

     wsn = *(int *) (&chx);
     if (wsn == 0) {
        ...
     }
  }


Compiler works well, no warning, no error. But when the code is running, seems it get a wild pointer. the code crashed.
AnswerRe: Pointer to a function parameter Pin
Richard MacCutchan24-Sep-14 5:32
protectorRichard MacCutchan24-Sep-14 5:32 
GeneralRe: Pointer to a function parameter Pin
econy24-Sep-14 6:47
memberecony24-Sep-14 6:47 
GeneralRe: Pointer to a function parameter Pin
Richard MacCutchan24-Sep-14 7:07
protectorRichard MacCutchan24-Sep-14 7:07 
GeneralRe: Pointer to a function parameter Pin
econy24-Sep-14 10:13
memberecony24-Sep-14 10:13 
GeneralRe: Pointer to a function parameter Pin
econy24-Sep-14 10:16
memberecony24-Sep-14 10:16 
GeneralRe: Pointer to a function parameter Pin
Richard MacCutchan24-Sep-14 21:31
protectorRichard MacCutchan24-Sep-14 21:31 
GeneralRe: Pointer to a function parameter Pin
Richard MacCutchan25-Sep-14 23:29
protectorRichard MacCutchan25-Sep-14 23:29 
QuestionTrigger dialog method from non-windows app Pin
bkelly136-Sep-14 8:22
memberbkelly136-Sep-14 8:22 
SuggestionRe: Trigger dialog method from non-windows app Pin
Richard MacCutchan6-Sep-14 21:28
protectorRichard MacCutchan6-Sep-14 21:28 
GeneralRe: Trigger dialog method from non-windows app Pin
bkelly137-Sep-14 5:03
memberbkelly137-Sep-14 5:03 
AnswerRe: Trigger dialog method from non-windows app Pin
Richard Andrew x647-Sep-14 7:25
professionalRichard Andrew x647-Sep-14 7:25 
GeneralRe: Trigger dialog method from non-windows app Pin
bkelly137-Sep-14 15:39
memberbkelly137-Sep-14 15:39 
GeneralRe: Trigger dialog method from non-windows app Pin
Richard Andrew x647-Sep-14 15:54
professionalRichard Andrew x647-Sep-14 15:54 
QuestionProgram for implementing Quine McCluskey's method for 8,9 or 10 variables Pin
Member 1103323724-Aug-14 16:55
memberMember 1103323724-Aug-14 16:55 
AnswerRe: Program for implementing Quine McCluskey's method for 8,9 or 10 variables Pin
Richard MacCutchan24-Aug-14 21:52
protectorRichard MacCutchan24-Aug-14 21:52 
QuestionProgram for implementing Quine McCluskey's method for 8,9 or 10 variables Pin
Member 1103323724-Aug-14 16:38
memberMember 1103323724-Aug-14 16:38 
AnswerRe: Program for implementing Quine McCluskey's method for 8,9 or 10 variables Pin
Richard MacCutchan24-Aug-14 21:52
protectorRichard MacCutchan24-Aug-14 21:52 

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.