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)
|