Re: [Dev-C++] ANSI C++ forbids implicit conversion from "void*"
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2002-10-01 11:35:52
|
What about *this instead of this ? >From: metalseb <met...@fr...> >Reply-To: met...@fr... >To: Elizabeth Barham <sog...@ya...>,devcpp mailing list ><dev...@li...> >Subject: Re: [Dev-C++] ANSI C++ forbids implicit conversion from "void*" >Date: Tue, 01 Oct 2002 09:17:46 +0200 > >Thanx Elizabeth. I've already tried this solution but I can get no better >results. > >The errors occurs here : > >hHyperLinkWnd= CreateWindowEx(dwExStyle, > wcex.lpszClassName, > "", > dwStyle, > HypLinkData.cx,HypLinkData.cy, > size.cx,size.cy, > hWndParent, > NULL, > wcex.hInstance, > this); <- Here at the "this" pointer passing, compiling crashes > >I've tried to pass "NULL" as parameter but same results. > >I'm really stuck with this. > >Anybody ever tried to compile this class under DevCpp ? > >Kind regards > >-- >Seb > > > >------------------------------------------------------- >This sf.net email is sponsored by: DEDICATED SERVERS only $89! >Linux or FreeBSD, FREE setup, FAST network. Get your own server >today at http://www.ServePath.com/indexfm.htm >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |