Click here to Skip to main content
15,911,139 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Automatic Updates - Please help Pin
Steven Campbell15-Jul-04 7:16
Steven Campbell15-Jul-04 7:16 
GeneralRe: Automatic Updates - Please help Pin
Henry miller16-Jul-04 3:06
Henry miller16-Jul-04 3:06 
GeneralSMTP and Exchange Pin
Marcus Spitzmiller13-Jul-04 8:19
Marcus Spitzmiller13-Jul-04 8:19 
GeneralBackp/Restore HardDisk Image Pin
trustable13-Jul-04 1:19
trustable13-Jul-04 1:19 
Generalretrieving network printer users Pin
lnong12-Jul-04 12:29
lnong12-Jul-04 12:29 
GeneralError when get user profile from the server Pin
Mekong River12-Jul-04 6:36
Mekong River12-Jul-04 6:36 
GeneralRunning the GUI(created in MFC) Problem in Win2000 Pin
mallikarjun.lavate11-Jul-04 23:39
mallikarjun.lavate11-Jul-04 23:39 
GeneralRunning the GUI(created in MFC) Problem in Win2000 Pin
mallikarjun.lavate11-Jul-04 23:39
mallikarjun.lavate11-Jul-04 23:39 
Hi ALL,
I had created an application in MFC environment for windows XP.

When I try to ran the same application in wind00 2000, the following problem occurs.

The problem with Windows2000 occurs when you try to open a browse dialog box to save or open a file. So file>open hangs the GUI, File > save as hangs the GUI.

Note:This is what I had edited in stdafx.h code.

The CFileDialog class encapsulates the Windows common file dialog box, which provides an easy way to implement the standard File Open and File Save As dialog boxes."

In order to access Win2000 specific APIs etc, one needs the following #define in the application's stdafx.h (before any other #includes)

#define _WIN32_WINNT 0x0500 -(1)
The work-around for this is to #undef _WIN32_WINNT before the #include <afxext.h> in the application's stdafx.h: #define _WIN32_WINNT 0x0500 // allow Win2000 specific calls (2a)
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers (2b)
#include <afxwin.h> // MFC core and standard components (2c)
#undef _WIN32_WINNT // allow CFileDialog to build with the correct size (2d)
Ref:http://www.google.co.in/search?q=cache:zjjzsWFj4ygJ:www.thecodeproject.com/w2k/access_api.asp+cfiledialog+win2000+memory&hl=en

After adding the above piece of code also the problem remains the same.

With Best Regards
Lavate Mallikarjun Avanna
GeneralOWA with SSL Pin
Hugo Hallman11-Jul-04 2:43
Hugo Hallman11-Jul-04 2:43 
GeneralRe: OWA with SSL Pin
Mike Dimmick11-Jul-04 23:24
Mike Dimmick11-Jul-04 23:24 
GeneralRe: OWA with SSL Pin
Hugo Hallman12-Jul-04 2:01
Hugo Hallman12-Jul-04 2:01 
Generaluse registry to retrive histories Pin
Sopheak Lar10-Jul-04 22:48
Sopheak Lar10-Jul-04 22:48 
GeneralRe: use registry to retrive histories Pin
Mekong River7-Feb-06 22:28
Mekong River7-Feb-06 22:28 
GeneralSet the permission for folder from MS-DOS mode Pin
Mekong River10-Jul-04 18:26
Mekong River10-Jul-04 18:26 
GeneralRe: Set the permission for folder from MS-DOS mode Pin
Roger Wright11-Jul-04 2:51
professionalRoger Wright11-Jul-04 2:51 
GeneralAnti-Virus expire Pin
Mekong River10-Jul-04 6:39
Mekong River10-Jul-04 6:39 
GeneralRemote Installation Pin
Monty29-Jul-04 20:50
Monty29-Jul-04 20:50 
GeneralRe: Remote Installation Pin
Mekong River10-Jul-04 6:11
Mekong River10-Jul-04 6:11 
GeneralProblem with accessing share resource Pin
Mekong River9-Jul-04 4:52
Mekong River9-Jul-04 4:52 
GeneralWindows 2003 problem Pin
Mekong River8-Jul-04 12:11
Mekong River8-Jul-04 12:11 
GeneralRe: Windows 2003 problem Pin
Mike Dimmick10-Jul-04 7:27
Mike Dimmick10-Jul-04 7:27 
GeneralWin XP Single user question Pin
Chris Meech8-Jul-04 5:15
Chris Meech8-Jul-04 5:15 
GeneralRe: Win XP Single user question Pin
Mekong River6-Feb-06 22:51
Mekong River6-Feb-06 22:51 
GeneralRe: Win XP Single user question Pin
Chris Meech7-Feb-06 2:55
Chris Meech7-Feb-06 2:55 
QuestionCan you read this MiniDump? Pin
Anonymous7-Jul-04 23:58
Anonymous7-Jul-04 23:58 

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.