Click here to Skip to main content
15,879,535 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: How to detect different Windows versions... Pin
Jon Sagara18-Jan-02 18:55
Jon Sagara18-Jan-02 18:55 
GeneralRe: How to detect different Windows versions... Pin
Nish Nishant18-Jan-02 19:00
sitebuilderNish Nishant18-Jan-02 19:00 
GeneralRe: How to detect different Windows versions... Pin
Jon Sagara18-Jan-02 21:20
Jon Sagara18-Jan-02 21:20 
GeneralRe: How to detect different Windows versions... Pin
Nish Nishant18-Jan-02 21:40
sitebuilderNish Nishant18-Jan-02 21:40 
AnswerRe: How to detect different Windows versions... Pin
Agus Kurniawan18-Jan-02 16:37
Agus Kurniawan18-Jan-02 16:37 
GeneralRe: How to detect different Windows versions... Pin
Steve T21-Jan-02 16:51
Steve T21-Jan-02 16:51 
GeneralRe: How to detect different Windows versions... Pin
Jon Sagara21-Jan-02 19:11
Jon Sagara21-Jan-02 19:11 
GeneralXP & Network shares Pin
Matt Newman18-Jan-02 8:32
Matt Newman18-Jan-02 8:32 
GeneralRe: XP & Network shares Pin
Richard Deeming20-May-02 5:53
mveRichard Deeming20-May-02 5:53 
GeneralRe: XP & Network shares Pin
Matt Newman20-May-02 16:51
Matt Newman20-May-02 16:51 
GeneralWindows MFC: Tall toolbar among short toolbars Pin
Phil Davidson17-Jan-02 11:09
Phil Davidson17-Jan-02 11:09 
Generalregistry printer settings Pin
alex.barylski15-Jan-02 8:59
alex.barylski15-Jan-02 8:59 
GeneralAdd/Remove Programs Pin
567890123414-Jan-02 20:41
567890123414-Jan-02 20:41 
GeneralRe: Add/Remove Programs Pin
Nish Nishant18-Jan-02 17:01
sitebuilderNish Nishant18-Jan-02 17:01 
GeneralProblem with XP graphical interface Pin
limax9-Jan-02 22:20
limax9-Jan-02 22:20 
There is a simple program (WinAPI only) that creates window and in WM_CREATE handler creates one button with:
HWND hButton = CreateWindowEx(0, WC_BUTTON, _T("Push me: AaBb"),
WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,
100, 100, 200, 20,
hwnd, NULL, g_hInstance, NULL);

It runs ok with old comctl32.dll
The problem appears when I want to switch to XP interface and create a file named "my_app_name.exe.manifest" with the following content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<description>Your application description here.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

The button DOES NOT CREATE Cry | :((
GetLastError() returns "invalid window handle". What I am doing wrong?

Best Regards,
Maxim
GeneralIcon shadows Pin
Jon Newman9-Jan-02 8:04
Jon Newman9-Jan-02 8:04 
GeneralRe: Icon shadows Pin
Michael Dunn9-Jan-02 9:10
sitebuilderMichael Dunn9-Jan-02 9:10 
GeneralRe: Icon shadows Pin
Jon Newman10-Jan-02 1:29
Jon Newman10-Jan-02 1:29 
GeneralRe: Icon shadows Pin
Michael Dunn10-Jan-02 7:51
sitebuilderMichael Dunn10-Jan-02 7:51 
Questionwhat's the use of these functions? Pin
leezy_20006-Jan-02 14:43
leezy_20006-Jan-02 14:43 
GeneralXP AutoPlay - how to turn it off Pin
567890123425-Dec-01 4:07
567890123425-Dec-01 4:07 
Question10-connection limit on TCP/IP? Pin
22-Dec-01 2:40
suss22-Dec-01 2:40 
AnswerRe: 10-connection limit on TCP/IP? Pin
Matt Newman22-Dec-01 5:25
Matt Newman22-Dec-01 5:25 
AnswerRe: 10-connection limit on TCP/IP? Pin
Sean Cundiff22-Dec-01 5:43
Sean Cundiff22-Dec-01 5:43 
GeneralRe: 10-connection limit on TCP/IP? Pin
22-Dec-01 13:32
suss22-Dec-01 13:32 

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.