Click here to Skip to main content
15,894,017 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 21:25
Smith#3-Feb-09 21:25 
GeneralRe: stuck with a trivia Pin
«_Superman_»3-Feb-09 21:27
professional«_Superman_»3-Feb-09 21:27 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 21:42
Smith#3-Feb-09 21:42 
GeneralRe: stuck with a trivia Pin
«_Superman_»3-Feb-09 21:52
professional«_Superman_»3-Feb-09 21:52 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 21:58
Smith#3-Feb-09 21:58 
GeneralRe: stuck with a trivia Pin
«_Superman_»3-Feb-09 22:03
professional«_Superman_»3-Feb-09 22:03 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 22:20
Smith#3-Feb-09 22:20 
AnswerRe: stuck with a trivia Pin
Stuart Dootson3-Feb-09 21:12
professionalStuart Dootson3-Feb-09 21:12 
py2 is an int *, not an int **. Extra dimensions of arrays DO NOT imply extra indirection (i.e. extra levels of pointer).

Therefore your C cast when assigning py2 to pyp2 is breaking the type safety that's trying to tell you what your mistake is.
GeneralRe: stuck with a trivia [modified] Pin
Smith#3-Feb-09 21:24
Smith#3-Feb-09 21:24 
GeneralRe: stuck with a trivia Pin
Stuart Dootson3-Feb-09 22:01
professionalStuart Dootson3-Feb-09 22:01 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 22:14
Smith#3-Feb-09 22:14 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 22:18
Smith#3-Feb-09 22:18 
AnswerRe: stuck with a trivia Pin
Emilio Garavaglia3-Feb-09 23:13
Emilio Garavaglia3-Feb-09 23:13 
GeneralRe: stuck with a trivia Pin
Smith#4-Feb-09 7:44
Smith#4-Feb-09 7:44 
GeneralRe: stuck with a trivia [modified] Pin
Emilio Garavaglia4-Feb-09 21:32
Emilio Garavaglia4-Feb-09 21:32 
GeneralRe: stuck with a trivia Pin
Smith#7-Feb-09 16:13
Smith#7-Feb-09 16:13 
GeneralRe: stuck with a trivia Pin
Emilio Garavaglia4-Feb-09 21:52
Emilio Garavaglia4-Feb-09 21:52 
Questionfatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h></windows.h> [modified] Pin
Kiran Pinjala3-Feb-09 19:38
Kiran Pinjala3-Feb-09 19:38 
AnswerRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
SandipG 3-Feb-09 20:49
SandipG 3-Feb-09 20:49 
GeneralRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
Kiran Pinjala3-Feb-09 21:32
Kiran Pinjala3-Feb-09 21:32 
AnswerRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
«_Superman_»3-Feb-09 20:59
professional«_Superman_»3-Feb-09 20:59 
GeneralRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
Kiran Pinjala3-Feb-09 21:34
Kiran Pinjala3-Feb-09 21:34 
GeneralRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
Smith#3-Feb-09 21:44
Smith#3-Feb-09 21:44 
GeneralRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
Kiran Pinjala3-Feb-09 22:24
Kiran Pinjala3-Feb-09 22:24 
QuestionRe: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Pin
David Crow4-Feb-09 3:32
David Crow4-Feb-09 3:32 

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.