Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stupid problem Pin
David Crow4-Sep-03 3:07
David Crow4-Sep-03 3:07 
GeneralProblem with thread Pin
Majid Shahabfar3-Sep-03 20:35
Majid Shahabfar3-Sep-03 20:35 
GeneralRe: Problem with thread Pin
Magnus Westin3-Sep-03 21:08
Magnus Westin3-Sep-03 21:08 
GeneralDirectX problem Pin
SteelModule3-Sep-03 19:58
SteelModule3-Sep-03 19:58 
GeneralRe: DirectX problem Pin
JWood5-Sep-03 3:38
JWood5-Sep-03 3:38 
GeneralDetermine if System is Shutting Down/Restarting or Logging off Pin
Paul Farry3-Sep-03 19:58
professionalPaul Farry3-Sep-03 19:58 
GeneralRe: Determine if System is Shutting Down/Restarting or Logging off Pin
Dominik Reichl3-Sep-03 21:51
Dominik Reichl3-Sep-03 21:51 
GeneralHelp Experts...CString to LPCSTR conversion Pin
rohit.dhamija3-Sep-03 19:44
rohit.dhamija3-Sep-03 19:44 
Good Morning,
I am developing an application in MFC VC++ Version 6.0 for Windows 2000
I need some help.
How can we convert CSTring to LPCSTR
I have a function in which I neet to pass LPCSTR type agument.

myprogram()
{
CString str;
//
//how to convert this str to LPCSTR
//
myfunc(str)---???

}

myfunc(LPCSTR str)
{
....
....
...
}

Waiting for a positive response.

Rohit
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
Michael Dunn3-Sep-03 19:52
sitebuilderMichael Dunn3-Sep-03 19:52 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
BhaskarBora3-Sep-03 19:54
BhaskarBora3-Sep-03 19:54 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
rohit.dhamija3-Sep-03 20:11
rohit.dhamija3-Sep-03 20:11 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
BhaskarBora3-Sep-03 20:21
BhaskarBora3-Sep-03 20:21 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
J. Dunlap3-Sep-03 20:30
J. Dunlap3-Sep-03 20:30 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
rohit.dhamija3-Sep-03 20:49
rohit.dhamija3-Sep-03 20:49 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
chifor3-Sep-03 21:19
chifor3-Sep-03 21:19 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
rohit.dhamija3-Sep-03 23:35
rohit.dhamija3-Sep-03 23:35 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
Braulio Dez3-Sep-03 23:49
Braulio Dez3-Sep-03 23:49 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
Maverick4-Sep-03 22:30
Maverick4-Sep-03 22:30 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
Dangleberry22-Sep-03 0:00
sussDangleberry22-Sep-03 0:00 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
rohit.dhamija22-Sep-03 0:11
rohit.dhamija22-Sep-03 0:11 
Questionhow to get IP Pin
igala.net3-Sep-03 19:21
igala.net3-Sep-03 19:21 
AnswerRe: how to get IP Pin
Jason Henderson4-Sep-03 2:44
Jason Henderson4-Sep-03 2:44 
GeneralTranslate this method to c++; Pin
Bo Hunter3-Sep-03 19:05
Bo Hunter3-Sep-03 19:05 
GeneralRe: Translate this method to c++; Pin
HJo3-Sep-03 23:33
HJo3-Sep-03 23:33 
GeneralRe: Translate this method to c++; Pin
Bo Hunter4-Sep-03 11:37
Bo Hunter4-Sep-03 11:37 

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.