What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » C++ noob...lol

C++ noob...lol
Author: Message:
Nukez
New Member
*


Posts: 1
Joined: Jun 2005
O.P. C++ noob...lol
Hi,
Im new in C++ and i've tried to translate a plug-in that i made in VB.
i think that i have well translated my thing but i have a mistake remaining...
when i do this :

strcat(sTextToSend,Dir);
strcat(sTextToSend,File->FileL->Items->Strings[int(sText)]);

(FileL is and FileListBox that i'm tring to get one file name)
(I have already affected a value to sTextToSend by strcpy() )

The first strcat() don't show an error
But, the second one show me this error :
[C++ Error] MPPPluginC.cpp(202) : E2034 Cannot convert 'AnsiString' to 'const char *'

i have to do type casting... but the question is How... lol. Or may be an alternative to to the same job !

thanks in advance ,
Nukez.

(PS: i don't know if it can help you but i'm using Borland C++builder 6)
06-05-2005 01:56 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
C++ noob...lol - by Nukez on 06-05-2005 at 01:56 PM
RE: C++ noob...lol - by RaceProUK on 06-05-2005 at 02:56 PM
RE: C++ noob...lol - by Yousef on 06-05-2005 at 03:23 PM
RE: C++ noob...lol - by RaceProUK on 06-05-2005 at 03:42 PM
RE: C++ noob...lol - by Yousef on 06-05-2005 at 04:28 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On