Click here to Skip to main content
15,881,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Language Installed in OS Pin
«_Superman_»15-Jul-09 20:37
professional«_Superman_»15-Jul-09 20:37 
AnswerRe: Language Installed in OS Pin
Randor 15-Jul-09 20:45
professional Randor 15-Jul-09 20:45 
GeneralRe: Language Installed in OS Pin
kiranin15-Jul-09 21:39
kiranin15-Jul-09 21:39 
GeneralRe: Language Installed in OS Pin
Randor 15-Jul-09 21:55
professional Randor 15-Jul-09 21:55 
GeneralRe: Language Installed in OS Pin
kiranin15-Jul-09 22:39
kiranin15-Jul-09 22:39 
GeneralRe: Language Installed in OS Pin
Randor 15-Jul-09 22:58
professional Randor 15-Jul-09 22:58 
QuestionApplication hang while command line compilation of VC6 COM dlls Pin
Tsr Murthy15-Jul-09 19:44
Tsr Murthy15-Jul-09 19:44 
QuestionCreateWindowEx causes application crash. Pin
birajendu15-Jul-09 19:07
birajendu15-Jul-09 19:07 
Hi, I am facing a crash while calling the function CreateWindowEx ,

Here is the code piece i am using.

WNDCLASSEX WndClassEx;

memset( &WndClassEx, 0,

sizeof(WNDCLASSEX) );



WndClassEx.lpfnWndProc = AVThreadMessageProcedure;

WndClassEx.hInstance = (HINSTANCE)g_hModule;

WndClassEx.lpszClassName = AVTHREAD_WINDOW_CLASS;

WndClassEx.hIcon = hIcon;

WndClassEx.hIconSm = hIconSmall;

WndClassEx.cbSize =


sizeof(WndClassEx);



CreateWindowEx( 0, AVTHREAD_WINDOW_CLASS, L

"", 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, (HINSTANCE)g_hModule,(LPVOID)this );

Here I am passing the pointer of the calling class in last argument. Application is not crashing always but some time it crashed at this point.

Can you please give some idea about what wrong i am doing here.

Thanks in advance.

Birajendu
SonicWALL
Bangalore
India

AnswerRe: CreateWindowEx causes application crash. Pin
Naveen15-Jul-09 19:17
Naveen15-Jul-09 19:17 
GeneralRe: CreateWindowEx causes application crash. Pin
birajendu15-Jul-09 19:59
birajendu15-Jul-09 19:59 
GeneralRe: CreateWindowEx causes application crash. Pin
Naveen15-Jul-09 20:45
Naveen15-Jul-09 20:45 
AnswerRe: CreateWindowEx causes application crash. Pin
Cedric Moonen15-Jul-09 20:27
Cedric Moonen15-Jul-09 20:27 
QuestionRead a files summary Pin
OrCs23615-Jul-09 14:19
OrCs23615-Jul-09 14:19 
AnswerRe: Read a files summary Pin
Randor 15-Jul-09 14:58
professional Randor 15-Jul-09 14:58 
Questionwhy it prints 3? Pin
sam_psycho15-Jul-09 10:01
sam_psycho15-Jul-09 10:01 
AnswerRe: why it prints 3? Pin
David Crow15-Jul-09 10:08
David Crow15-Jul-09 10:08 
QuestionRe: why it prints 3? Pin
CPallini15-Jul-09 10:16
mveCPallini15-Jul-09 10:16 
AnswerRe: why it prints 3? Pin
David Crow15-Jul-09 10:17
David Crow15-Jul-09 10:17 
GeneralRe: why it prints 3? Pin
CPallini15-Jul-09 10:20
mveCPallini15-Jul-09 10:20 
AnswerRe: why it prints 3? Pin
CPallini15-Jul-09 10:13
mveCPallini15-Jul-09 10:13 
AnswerRe: why it prints 3? Pin
Stuart Dootson15-Jul-09 12:24
professionalStuart Dootson15-Jul-09 12:24 
GeneralRe: why it prints 3? Pin
sam_psycho15-Jul-09 15:25
sam_psycho15-Jul-09 15:25 
GeneralRe: why it prints 3? Pin
«_Superman_»15-Jul-09 17:03
professional«_Superman_»15-Jul-09 17:03 
GeneralRe: why it prints 3? Pin
harold aptroot15-Jul-09 18:43
harold aptroot15-Jul-09 18:43 
QuestionRe: why it prints 3? Pin
David Crow16-Jul-09 2:59
David Crow16-Jul-09 2:59 

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.