Click here to Skip to main content
15,911,142 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Generalneed doctor to check this pice of code Pin
Oriocat22-Jul-04 9:58
Oriocat22-Jul-04 9:58 
GeneralProblem... Pin
Pazzuzu22-Jul-04 5:13
Pazzuzu22-Jul-04 5:13 
GeneralRe: Problem... Pin
palbano25-Jul-04 18:05
palbano25-Jul-04 18:05 
GeneralConverting ... Pin
User 91483322-Jul-04 3:59
User 91483322-Jul-04 3:59 
GeneralRe: Converting ... Pin
palbano25-Jul-04 18:04
palbano25-Jul-04 18:04 
GeneralWebService without ASP and IIS Pin
MyPaq22-Jul-04 2:08
MyPaq22-Jul-04 2:08 
GeneralGoing mad with this Pin
Pazzuzu21-Jul-04 6:11
Pazzuzu21-Jul-04 6:11 
GeneralRe: Going mad with this Pin
palbano21-Jul-04 17:28
palbano21-Jul-04 17:28 
Your first post you asked about "wstring to LPCTSTR"

Now you ask about "String to CString" then your code attempts to use a wstring function "c_str()" on a type "String". Assuming you posted your code correctly you should have received a compile error which you did not post.

Perhaps someone else can divine exactly what you are attempting to do and provide you with an answer. I however require accurate specific and complete information regarding this problem before I can begin to help.

Furthermore there is no shortage of articles on the net pertaining to the variety of string types in VC++ and matters of converting between types. If you care to see what I mean just Google [MSDN CString Strings LPCTSTR TCHAR]

I highly recommend studying this subject, it will payoff huge in terms of productivity and will ease your development efforts greatly.

"No matter where you go, there your are." - Buckaroo Banzai
-pete

GeneralRe: Going mad with this Pin
Pazzuzu22-Jul-04 0:07
Pazzuzu22-Jul-04 0:07 
QuestionHow to convert....... Pin
Pazzuzu21-Jul-04 4:09
Pazzuzu21-Jul-04 4:09 
GeneralVritual functions wapping Pin
Mostafa Mohamed20-Jul-04 2:12
Mostafa Mohamed20-Jul-04 2:12 
GeneralSystem::IO::File::Copy errors Pin
Chris Korzeniowski19-Jul-04 10:21
Chris Korzeniowski19-Jul-04 10:21 
GeneralRe: System::IO::File::Copy errors Pin
Chris Korzeniowski19-Jul-04 11:36
Chris Korzeniowski19-Jul-04 11:36 
GeneralMFC & .NET Serialization Compatibility Pin
alexatn19-Jul-04 9:47
alexatn19-Jul-04 9:47 
QuestionHow to setup hotkey in my application to control vobsub Pin
lakeman200015-Jul-04 21:39
lakeman200015-Jul-04 21:39 
GeneralDebugging Unmanaged Code called from Managed C++ in .NET Pin
Anonymous14-Jul-04 19:32
Anonymous14-Jul-04 19:32 
GeneralMFC and Windows.Forms in .NET Pin
EinarJon14-Jul-04 6:30
EinarJon14-Jul-04 6:30 
GeneralRe: MFC and Windows.Forms in .NET Pin
Anonymous15-Jul-04 9:32
Anonymous15-Jul-04 9:32 
GeneralRe: MFC and Windows.Forms in .NET Pin
sunhui15-Dec-04 15:18
sunhui15-Dec-04 15:18 
GeneralRe: MFC and Windows.Forms in .NET Pin
sunhui15-Dec-04 15:20
sunhui15-Dec-04 15:20 
Generalcalling managed function from unmanged class Pin
3green13-Jul-04 4:12
3green13-Jul-04 4:12 
GeneralRe: calling managed function from unmanged class Pin
palbano13-Jul-04 7:52
palbano13-Jul-04 7:52 
GeneralBackp/Restore HardDisk Image Pin
trustable13-Jul-04 1:21
trustable13-Jul-04 1:21 
GeneralRe: Backp/Restore HardDisk Image Pin
palbano13-Jul-04 7:57
palbano13-Jul-04 7:57 
GeneralRe: Backp/Restore HardDisk Image Pin
Brian Delahunty16-Jul-04 3:46
Brian Delahunty16-Jul-04 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.