Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HWND of focused window Pin
Roger Stewart21-Feb-02 7:13
professionalRoger Stewart21-Feb-02 7:13 
GeneralRe: HWND of focused window Pin
21-Feb-02 7:55
suss21-Feb-02 7:55 
QuestionHow do I get Unicode automatically? Pin
Nish Nishant21-Feb-02 4:08
sitebuilderNish Nishant21-Feb-02 4:08 
AnswerRe: How do I get Unicode automatically? Pin
Joaquín M López Muñoz21-Feb-02 4:11
Joaquín M López Muñoz21-Feb-02 4:11 
GeneralRe: How do I get Unicode automatically? Pin
Nish Nishant21-Feb-02 9:19
sitebuilderNish Nishant21-Feb-02 9:19 
AnswerRe: How do I get Unicode automatically? Pin
Joao Vaz21-Feb-02 4:53
Joao Vaz21-Feb-02 4:53 
GeneralRe: How do I get Unicode automatically? Pin
Nish Nishant21-Feb-02 9:23
sitebuilderNish Nishant21-Feb-02 9:23 
AnswerRe: How do I get Unicode automatically? Pin
Michael Dunn21-Feb-02 8:10
sitebuilderMichael Dunn21-Feb-02 8:10 
Nish [BusterBoy] wrote:
I thought GetPrivateProfileString would automatically get converted to GetPrivateProfileStringW on Win2K.

No, using the Unicode APIs is a compile-time decision. If you used the ATL AppWizard, change the active config to one of the Unicode versions to link to the Unicode APIs.

As for the string literals, enclose them in the _T() macro. Using L"" means the code will only work in Unicode builds, whereas using _T() makes it work for ANSI as well.

--Mike--
Fetchez la vache!
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan and Jamie Salé.

GeneralRe: How do I get Unicode automatically? Pin
Nish Nishant21-Feb-02 9:32
sitebuilderNish Nishant21-Feb-02 9:32 
AnswerRe: How do I get Unicode automatically? Pin
Anders Molin21-Feb-02 9:39
professionalAnders Molin21-Feb-02 9:39 
GeneralRe: How do I get Unicode automatically? Pin
Nish Nishant21-Feb-02 16:37
sitebuilderNish Nishant21-Feb-02 16:37 
GeneralRemote Debugging of ISAPI Filter/Extension Pin
21-Feb-02 3:57
suss21-Feb-02 3:57 
GeneralRe: Remote Debugging of ISAPI Filter/Extension Pin
Glenn E. Lanier II21-Feb-02 5:31
Glenn E. Lanier II21-Feb-02 5:31 
GeneralDrag'n drop Pin
Jerome Conus21-Feb-02 3:39
Jerome Conus21-Feb-02 3:39 
GeneralRe: Drag'n drop Pin
Paul M Watt21-Feb-02 5:21
mentorPaul M Watt21-Feb-02 5:21 
GeneralRe: Drag'n drop Pin
Shog921-Feb-02 9:27
sitebuilderShog921-Feb-02 9:27 
GeneralRe: Drag'n drop Pin
Anders Molin21-Feb-02 9:43
professionalAnders Molin21-Feb-02 9:43 
GeneralAccessing a view's members from another class Pin
kostasdel21-Feb-02 3:07
kostasdel21-Feb-02 3:07 
GeneralRe: Accessing a view's members from another class Pin
Joaquín M López Muñoz21-Feb-02 3:10
Joaquín M López Muñoz21-Feb-02 3:10 
GeneralRe: Accessing a view's members from another class Pin
kostasdel21-Feb-02 4:40
kostasdel21-Feb-02 4:40 
GeneralRe: Accessing a view's members from another class Pin
Mazdak21-Feb-02 3:18
Mazdak21-Feb-02 3:18 
GeneralRe: Accessing a view's members from another class Pin
kostasdel21-Feb-02 4:45
kostasdel21-Feb-02 4:45 
GeneralRe: Accessing a view's members from another class Pin
Mazdak21-Feb-02 5:51
Mazdak21-Feb-02 5:51 
GeneralTrying to use IStream to pass data to an ATL Server Pin
Braulio Dez21-Feb-02 3:05
Braulio Dez21-Feb-02 3:05 
GeneralRe: Trying to use IStream to pass data to an ATL Server Pin
Mazdak21-Feb-02 3:33
Mazdak21-Feb-02 3:33 

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.