Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error while trying to implement KeyLogger Pin
CPallini3-Mar-10 2:21
mveCPallini3-Mar-10 2:21 
AnswerRe: Error while trying to implement KeyLogger Pin
KingsGambit3-Mar-10 7:31
KingsGambit3-Mar-10 7:31 
QuestionError in calling EXE in custom action (Setup & deployment project) Pin
am 20093-Mar-10 1:17
am 20093-Mar-10 1:17 
AnswerRe: Error in calling EXE in custom action (Setup & deployment project) Pin
KarstenK3-Mar-10 1:33
mveKarstenK3-Mar-10 1:33 
AnswerRe: Error in calling EXE in custom action (Setup & deployment project) Pin
KingsGambit3-Mar-10 7:34
KingsGambit3-Mar-10 7:34 
QuestionProblem Converting CString to WCHAR Pin
TheFox3-Mar-10 0:16
TheFox3-Mar-10 0:16 
AnswerRe: Problem Converting CString to WCHAR Pin
Rajesh R Subramanian3-Mar-10 0:28
professionalRajesh R Subramanian3-Mar-10 0:28 
AnswerRe: Problem Converting CString to WCHAR Pin
CPallini3-Mar-10 0:31
mveCPallini3-Mar-10 0:31 
TheFox wrote:
const WCHAR *c = (const WCHAR *)(LPCTSTR)text_filename;


Assuming you're doing a ANSI build (not UNICODE), the above line is wrong. You should convert the ANSI string to a wide character one, for instance using MultiByteToWideChar [^] function (an example of usage here [^]).
Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Problem Converting CString to WCHAR Pin
TheFox3-Mar-10 2:32
TheFox3-Mar-10 2:32 
GeneralRe: Problem Converting CString to WCHAR Pin
CPallini3-Mar-10 3:27
mveCPallini3-Mar-10 3:27 
AnswerRe: Problem Converting CString to WCHAR Pin
KarstenK3-Mar-10 1:26
mveKarstenK3-Mar-10 1:26 
GeneralRe: Problem Converting CString to WCHAR Pin
TheFox3-Mar-10 1:37
TheFox3-Mar-10 1:37 
GeneralRe: Problem Converting CString to WCHAR Pin
KarstenK3-Mar-10 1:46
mveKarstenK3-Mar-10 1:46 
GeneralRe: Problem Converting CString to WCHAR Pin
KingsGambit3-Mar-10 7:16
KingsGambit3-Mar-10 7:16 
GeneralRe: Problem Converting CString to WCHAR Pin
CPallini3-Mar-10 1:38
mveCPallini3-Mar-10 1:38 
GeneralRe: Problem Converting CString to WCHAR Pin
KarstenK3-Mar-10 2:04
mveKarstenK3-Mar-10 2:04 
GeneralRe: Problem Converting CString to WCHAR Pin
CPallini3-Mar-10 2:17
mveCPallini3-Mar-10 2:17 
GeneralRe: Problem Converting CString to WCHAR Pin
KarstenK3-Mar-10 2:37
mveKarstenK3-Mar-10 2:37 
GeneralRe: Problem Converting CString to WCHAR Pin
CPallini3-Mar-10 2:49
mveCPallini3-Mar-10 2:49 
AnswerRe: Problem Converting CString to WCHAR Pin
Eugen Podsypalnikov3-Mar-10 1:28
Eugen Podsypalnikov3-Mar-10 1:28 
AnswerRe: Problem Converting CString to WCHAR Pin
TheFox3-Mar-10 2:33
TheFox3-Mar-10 2:33 
QuestionCPU Usage Pin
john56322-Mar-10 23:18
john56322-Mar-10 23:18 
AnswerRe: CPU Usage Pin
Stephen Hewitt2-Mar-10 23:27
Stephen Hewitt2-Mar-10 23:27 
GeneralRe: CPU Usage Pin
Luc Pattyn3-Mar-10 2:03
sitebuilderLuc Pattyn3-Mar-10 2:03 
GeneralRe: CPU Usage Pin
Cedric Moonen3-Mar-10 2:24
Cedric Moonen3-Mar-10 2:24 

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.