Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: please help me ineed this Pin
Jonathan [Darka]30-Jul-07 0:13
professionalJonathan [Darka]30-Jul-07 0:13 
QuestionRe: please help me ineed this Pin
David Crow30-Jul-07 3:46
David Crow30-Jul-07 3:46 
QuestionHow this expression get's executed Pin
hari prasad sathpadi29-Jul-07 21:03
hari prasad sathpadi29-Jul-07 21:03 
GeneralRe: How this expression get's executed Pin
Matthew Faithfull29-Jul-07 21:17
Matthew Faithfull29-Jul-07 21:17 
QuestionRe: How this expression get's executed Pin
Nelek29-Jul-07 21:17
protectorNelek29-Jul-07 21:17 
AnswerRe: How this expression get's executed Pin
Jonathan [Darka]29-Jul-07 22:10
professionalJonathan [Darka]29-Jul-07 22:10 
Questionpass multi-byte (or wide) characters to DeleteFile Pin
George_George29-Jul-07 20:58
George_George29-Jul-07 20:58 
AnswerRe: pass multi-byte (or wide) characters to DeleteFile Pin
Matthew Faithfull29-Jul-07 21:12
Matthew Faithfull29-Jul-07 21:12 
George_George wrote:
BOOL WINAPI DeleteFile(
LPCTSTR lpFileName
);


The input parameter is of type const TCHAR*. TCHAR is defined in winnt.h as WCHAR if UNICODE is defined or char otherwise. My advise is therefore to pass a TCHAR pointer and you can't go wrong.

<br />
LPCTSTR lpFileName = _T( "C:\\Temp\\someFile" );<br />
::DeleteFile( lpFileName );<br />



Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
George_George29-Jul-07 21:31
George_George29-Jul-07 21:31 
AnswerRe: pass multi-byte (or wide) characters to DeleteFile Pin
CPallini29-Jul-07 21:24
mveCPallini29-Jul-07 21:24 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
George_George29-Jul-07 21:30
George_George29-Jul-07 21:30 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
CPallini29-Jul-07 21:36
mveCPallini29-Jul-07 21:36 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
George_George29-Jul-07 21:41
George_George29-Jul-07 21:41 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
CPallini29-Jul-07 21:51
mveCPallini29-Jul-07 21:51 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
George_George29-Jul-07 23:53
George_George29-Jul-07 23:53 
QuestionMathematics library Pin
Shashi.Shinde29-Jul-07 20:55
Shashi.Shinde29-Jul-07 20:55 
AnswerRe: Mathematics library Pin
Nelek29-Jul-07 21:15
protectorNelek29-Jul-07 21:15 
GeneralRe: Mathematics library Pin
Shashi.Shinde29-Jul-07 21:31
Shashi.Shinde29-Jul-07 21:31 
GeneralRe: Mathematics library Pin
Nelek29-Jul-07 21:46
protectorNelek29-Jul-07 21:46 
AnswerRe: Mathematics library Pin
Shouvik Das29-Jul-07 23:43
Shouvik Das29-Jul-07 23:43 
GeneralRe: Mathematics library Pin
Shashi.Shinde30-Jul-07 0:06
Shashi.Shinde30-Jul-07 0:06 
AnswerRe: Mathematics library Pin
beko29-Jul-07 23:59
beko29-Jul-07 23:59 
GeneralRe: Mathematics library Pin
Shashi.Shinde30-Jul-07 0:06
Shashi.Shinde30-Jul-07 0:06 
GeneralRe: Mathematics library Pin
Iain Clarke, Warrior Programmer30-Jul-07 1:01
Iain Clarke, Warrior Programmer30-Jul-07 1:01 
GeneralRe: Mathematics library Pin
Shashi.Shinde30-Jul-07 1:18
Shashi.Shinde30-Jul-07 1:18 

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.