RE: [Dev-C++] The error I receive (obj passing itself)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2002-07-31 13:06:58
|
Yes that works fine, I did that already. I was just wondering if it was possible for an object to pass itself, and if so why was I getting errors. >From: "Ramana Kumar" <ra...@my...> >To: "Daniel Glenfield" <sp...@ho...>,"C++" ><dev...@li...> >Subject: RE: [Dev-C++] The error I receive (obj passing itself) >Date: Wed, 31 Jul 2002 22:42:09 +1000 > >i'm sure i've missed the rest of this conversation, but just from that >email >you just sent, if you haven't already, i think you should try passing the >address of another object of class Exception and see if that works, just to >make sure it is in fact the passing of itself that is the problem. for >example: >Exception obj2; >Obj.SetErrorLog(&obj2); > >-----Original Message----- >From: dev...@li... >[mailto:dev...@li...]On Behalf Of Daniel >Glenfield >Sent: Wednesday, 31 July 2002 7:52 PM >To: dev...@li... >Subject: [Dev-C++] The error I receive (obj passing itself) > > > > > >error C2664: 'SetErrorLog' : cannot convert parameter 1 from 'class >Exception *' to 'class Exception &' > > >That's by doing Obj.SetErrorLog( &Obj ); > > >_________________________________________________________________ >Join the worlds largest e-mail service with MSN Hotmail. >http://www.hotmail.com > > > >------------------------------------------------------- >This sf.net email is sponsored by: Dice - The leading online job board >for high-tech professionals. Search and apply for tech jobs today! >http://seeker.dice.com/seeker.epl?rel_code=31 >_______________________________________________ >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 _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |