blackcoder41, I do not know how to use manifest file. I want to know how I can use manifest file. Can you please explain to me how I can use manifest file? If I use this code, it enables XP visuals.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
//#define _WIN32_IE 0x0400
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>
//#include "resource.h"
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
INITCOMMONCONTROLSEX iccx;
iccx.dwSize=sizeof(INITCOMMONCONTROLSEX);
iccx.dwICC=ICC_ANIMATE_CLASS;
InitCommonControlsEx(&iccx);
MessageBox (NULL, TEXT("Hello, Windows XP!"), TEXT("HelloMsg"), 0);
return 0;
}
|
This is the directory structure of the project folder.
……………………………………………………………………………………..
HelloMsg3\
Files:
HelloMsg3.ncb, HelloMsg3.sln.
Folders:
Debug, HelloMsg3.
…………………………………………………………………………………………………….......
HelloMsg3\Debug\
Files:
HelloMsg3.exe, HelloMsg3.ilk, HelloMsg3.pdb.
…………………………………………………………………………………………………………………….
HelloMsg3\HelloMsg3\
Files:
HelloMsg3.cpp, HelloMsg3.vcproj, HelloMsg3.vcproj.ADNAN.Adnan2.user.
Folders:
Debug.
…………………………………………………………………………………………………………………………
HelloMsg3\HelloMsg3\Debug
Files:
HelloMsg3.exe.intermediate.manifest, BuldLog.htm, HelloMsg3.obj, mt.dep, vc90.idb, vc90.pdb.
…………………………………………………………………………………………………………………………………
Should I modify HelloMsg3.exe.intermediate.manifest file? If not, then in which folder I should copy manifest file and how to use it? I'm using Visual C++ 2008 Express Edition.
...............................................................................................................................
_Adnan_