Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOLE Containers Pin
vijayaramaraju2-Dec-02 17:10
vijayaramaraju2-Dec-02 17:10 
GeneralCombo Box drop-down list problem Pin
IGx892-Dec-02 14:49
IGx892-Dec-02 14:49 
GeneralRe: Combo Box drop-down list problem Pin
Kannan Kalyanaraman2-Dec-02 20:11
Kannan Kalyanaraman2-Dec-02 20:11 
GeneralRe: Combo Box drop-down list problem Pin
IGx893-Dec-02 4:21
IGx893-Dec-02 4:21 
GeneralRe: Combo Box drop-down list problem Pin
IGx893-Dec-02 5:36
IGx893-Dec-02 5:36 
GeneralDirectX Texture Pixel Pin
Dov Sherman2-Dec-02 14:33
Dov Sherman2-Dec-02 14:33 
GeneralSHGetSpecialFolderPath problem in Win98 Pin
IGx892-Dec-02 13:25
IGx892-Dec-02 13:25 
GeneralRe: SHGetSpecialFolderPath problem in Win98 Pin
Thomas Freudenberg2-Dec-02 13:41
Thomas Freudenberg2-Dec-02 13:41 
IGx89 wrote:
Calling SHGetSpecialFolderPath with CSIDL_WINDOWS and with CSIDL_DESKTOPDIRECTORY works fine in Windows XP, but in Windows 98 (SP1, IE6 SP1) CSIDL_WINDOWS doesn't work. Why is that?

According to MSDN, usage of CSIDL_WINDOWS requires Shell32.dll v5.0, i.e. at least Windows 2000 or Windows Millenium.


IGx89 wrote:
Is there a better way to get the user's Windows directory?

Try following:
TCHAR szWinDir[MAX_PATH+1] = {0};
GetEnvironmentVariable(_T("windir"), szWinDir, MAX_PATH);


Regards
Thomas

Sonork id: 100.10453 Thömmi

Disclaimer:
Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.

GeneralRe: SHGetSpecialFolderPath problem in Win98 Pin
James R. Twine2-Dec-02 13:48
James R. Twine2-Dec-02 13:48 
GeneralRe: SHGetSpecialFolderPath problem in Win98 Pin
IGx892-Dec-02 14:38
IGx892-Dec-02 14:38 
Generalhelp: menu command programming. Pin
trustno12-Dec-02 12:51
trustno12-Dec-02 12:51 
GeneralRe: help: menu command programming. Pin
Kannan Kalyanaraman2-Dec-02 20:26
Kannan Kalyanaraman2-Dec-02 20:26 
GeneralRe: help: menu command programming. Pin
trustno13-Dec-02 8:04
trustno13-Dec-02 8:04 
GeneralRe: help: menu command programming. Pin
jhwurmbach3-Dec-02 21:03
jhwurmbach3-Dec-02 21:03 
GeneralFile association Pin
act_x2-Dec-02 11:52
act_x2-Dec-02 11:52 
GeneralRe: File association Pin
Selevercin2-Dec-02 12:08
Selevercin2-Dec-02 12:08 
Generaltitle bar Pin
Anonymous2-Dec-02 11:21
Anonymous2-Dec-02 11:21 
GeneralRe: title bar Pin
Pavel Klocek2-Dec-02 11:26
Pavel Klocek2-Dec-02 11:26 
GeneralRe: title bar Pin
Anonymous2-Dec-02 11:35
Anonymous2-Dec-02 11:35 
GeneralSocket help.. Pin
RobJones2-Dec-02 11:02
RobJones2-Dec-02 11:02 
GeneralRe: Socket help.. Pin
valikac2-Dec-02 14:29
valikac2-Dec-02 14:29 
GeneralCode Timing Question Pin
_Kal-El_2-Dec-02 11:00
_Kal-El_2-Dec-02 11:00 
GeneralRe: Code Timing Question Pin
Kannan Kalyanaraman2-Dec-02 20:24
Kannan Kalyanaraman2-Dec-02 20:24 
GeneralFILETIME conversion/comparison Pin
#realJSOP2-Dec-02 10:34
mve#realJSOP2-Dec-02 10:34 
GeneralRe: FILETIME conversion/comparison Pin
Nitron2-Dec-02 11:08
Nitron2-Dec-02 11:08 

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.