Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help in writing a program? Pin
David Crow27-Jul-09 3:19
David Crow27-Jul-09 3:19 
QuestionHow to use ACL to change the access of usb device Pin
Anil Veeraghattapu 415-Jul-09 20:04
Anil Veeraghattapu 415-Jul-09 20:04 
AnswerRe: How to use ACL to change the access of usb device Pin
Davitor15-Jul-09 22:09
Davitor15-Jul-09 22:09 
GeneralRe: How to use ACL to change the access of usb device Pin
Anil Veeraghattapu 415-Jul-09 23:53
Anil Veeraghattapu 415-Jul-09 23:53 
QuestionRe: How to use ACL to change the access of usb device Pin
David Crow16-Jul-09 2:54
David Crow16-Jul-09 2:54 
QuestionRe: How to use ACL to change the access of usb device Pin
Anil Veeraghattapu 416-Jul-09 20:17
Anil Veeraghattapu 416-Jul-09 20:17 
AnswerRe: How to use ACL to change the access of usb device Pin
Randor 16-Jul-09 21:43
professional Randor 16-Jul-09 21:43 
QuestionLanguage Installed in OS Pin
kiranin15-Jul-09 19:50
kiranin15-Jul-09 19:50 
QuestionRe: Language Installed in OS Pin
«_Superman_»15-Jul-09 20:10
professional«_Superman_»15-Jul-09 20:10 
AnswerRe: Language Installed in OS Pin
kiranin15-Jul-09 20:30
kiranin15-Jul-09 20:30 
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 

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.