View Single Post
Contributor
19Jun2008,17:14  
aisha.ansari84's Avatar
Quote:
Originally Posted by laocui172
thank u very much!

I can run your code correctly in c++ builder, but i get someting wrong with visual c++ running
the code.
the error info is:
F:\test\vc6\win32Ctl\m.cpp(256) : error C2664: 'CreateWindowExA' : cannot convert parameter 11 from 'void *' to 'struct HINSTANCE__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast

i don't know why ? please help me . thks

i'm from china, speaking English is not good.
hi the code works perfectly fine in vc++ there is no such error

Last edited by aisha.ansari84; 19Jun2008 at 17:22..