Click here to Skip to main content
16,018,818 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly1-Oct-14 23:31
Jacobkingsly1-Oct-14 23:31 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Richard MacCutchan1-Oct-14 23:35
mveRichard MacCutchan1-Oct-14 23:35 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Vi21-Oct-14 21:56
Vi21-Oct-14 21:56 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly1-Oct-14 23:11
Jacobkingsly1-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
Jacobkingsly1-Oct-14 23:11 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly3-Oct-14 3:27
Jacobkingsly3-Oct-14 3:27 
QuestionPointer to a function parameter Pin
econy24-Sep-14 3:01
econy24-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
mveRichard MacCutchan24-Sep-14 5:32 
GeneralRe: Pointer to a function parameter Pin
econy24-Sep-14 6:47
econy24-Sep-14 6:47 
GeneralRe: Pointer to a function parameter Pin
Richard MacCutchan24-Sep-14 7:07
mveRichard MacCutchan24-Sep-14 7:07 
GeneralRe: Pointer to a function parameter Pin
econy24-Sep-14 10:13
econy24-Sep-14 10:13 
GeneralRe: Pointer to a function parameter Pin
econy24-Sep-14 10:16
econy24-Sep-14 10:16 
GeneralRe: Pointer to a function parameter Pin
Richard MacCutchan24-Sep-14 21:31
mveRichard MacCutchan24-Sep-14 21:31 
GeneralRe: Pointer to a function parameter Pin
Richard MacCutchan25-Sep-14 23:29
mveRichard MacCutchan25-Sep-14 23:29 
QuestionTrigger dialog method from non-windows app Pin
bkelly136-Sep-14 8:22
bkelly136-Sep-14 8:22 
SuggestionRe: Trigger dialog method from non-windows app Pin
Richard MacCutchan6-Sep-14 21:28
mveRichard MacCutchan6-Sep-14 21:28 
GeneralRe: Trigger dialog method from non-windows app Pin
bkelly137-Sep-14 5:03
bkelly137-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
bkelly137-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
Member 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
mveRichard 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
Member 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
mveRichard 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.