Click here to Skip to main content
15,914,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CArray on the heap Pin
David Crow1-Apr-04 6:49
David Crow1-Apr-04 6:49 
GeneralRe: CArray on the heap Pin
Ravi Bhavnani1-Apr-04 7:08
professionalRavi Bhavnani1-Apr-04 7:08 
GeneralRe: CArray on the heap Pin
Navin1-Apr-04 7:38
Navin1-Apr-04 7:38 
GeneralProblem with strings conversion Pin
doctorpi1-Apr-04 6:05
doctorpi1-Apr-04 6:05 
GeneralRe: Problem with strings conversion Pin
Ravi Bhavnani1-Apr-04 6:33
professionalRavi Bhavnani1-Apr-04 6:33 
GeneralRe: Problem with strings conversion Pin
doctorpi1-Apr-04 6:42
doctorpi1-Apr-04 6:42 
GeneralRe: Problem with strings conversion Pin
Ravi Bhavnani1-Apr-04 6:49
professionalRavi Bhavnani1-Apr-04 6:49 
GeneralRe: Problem with strings conversion Pin
doctorpi1-Apr-04 6:58
doctorpi1-Apr-04 6:58 
Sorry, it has been my fault.
My problem comes maybe from the point that I can't assign my file directly putting double \\.
// My Code
TCHAR m_szDrive[10];
TCHAR m_szDir[MAX_PATH];
TCHAR m_szFullPath[MAX_PATH];
CString sFile;
// Application Path
::GetModuleFileName(NULL,m_szFullPath,MAX_PATH);
_splitpath(m_szFullPath,m_szDrive,m_szDir,NULL,NULL);
sFile=m_szDrive;
sFile+=m_szDir;
sFile+=_T("myfile.txt");
CreateFile(sFile,.... THAT DOESN'T WORK
Do you know how can I convert my string to the right parameter?
Thanks for your patience.
Doc


GeneralRe: Problem with strings conversion Pin
Ravi Bhavnani1-Apr-04 7:06
professionalRavi Bhavnani1-Apr-04 7:06 
GeneralRe: Problem with strings conversion Pin
doctorpi1-Apr-04 7:14
doctorpi1-Apr-04 7:14 
GeneralRe: Problem with strings conversion Pin
Ravi Bhavnani1-Apr-04 7:20
professionalRavi Bhavnani1-Apr-04 7:20 
GeneralRe: Problem with strings conversion Pin
doctorpi1-Apr-04 7:24
doctorpi1-Apr-04 7:24 
GeneralRe: Problem with strings conversion Pin
Paul Ranson2-Apr-04 0:19
Paul Ranson2-Apr-04 0:19 
GeneralVisual C++.NET version 2003 Pin
DennisTheMenace1-Apr-04 5:56
DennisTheMenace1-Apr-04 5:56 
GeneralGetMenuItemInfo access violation in user32.dll Pin
jphillips_2003@hotmail.com1-Apr-04 5:48
jphillips_2003@hotmail.com1-Apr-04 5:48 
GeneralRich Text Error in VC .Net Pin
BlackDice1-Apr-04 5:12
BlackDice1-Apr-04 5:12 
GeneralUse DLL to raise event in VB app Pin
BlackDice1-Apr-04 5:03
BlackDice1-Apr-04 5:03 
GeneralOutlook express rules and folders Pin
ravjak1-Apr-04 4:48
ravjak1-Apr-04 4:48 
QuestionHow to find protected/encrypted word documents? Pin
GTS20201-Apr-04 4:10
GTS20201-Apr-04 4:10 
AnswerRe: How to find protected/encrypted word documents? Pin
David Crow1-Apr-04 6:53
David Crow1-Apr-04 6:53 
GeneralRe: How to find protected/encrypted word documents? Pin
GTS20201-Apr-04 22:54
GTS20201-Apr-04 22:54 
AnswerRe: How to find protected/encrypted word documents? Pin
gUrM33T1-Apr-04 16:39
gUrM33T1-Apr-04 16:39 
GeneralRe: How to find protected/encrypted word documents? Pin
GTS20201-Apr-04 22:56
GTS20201-Apr-04 22:56 
GeneralModem informations Pin
Chernobog11-Apr-04 3:44
Chernobog11-Apr-04 3:44 
GeneralRe: Modem informations Pin
Roger Wright1-Apr-04 4:30
professionalRoger Wright1-Apr-04 4:30 

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.