Click here to Skip to main content
15,314,675 members
Home / Discussions / System Admin
   

System Admin

 
GeneralXP & Network shares Pin
Matt Newman18-Jan-02 8:32
MemberMatt 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
MemberMatt Newman20-May-02 16:51 
GeneralWindows MFC: Tall toolbar among short toolbars Pin
Phil Davidson17-Jan-02 11:09
MemberPhil Davidson17-Jan-02 11:09 
Generalregistry printer settings Pin
alex.barylski15-Jan-02 8:59
Memberalex.barylski15-Jan-02 8:59 
GeneralAdd/Remove Programs Pin
567890123414-Jan-02 20:41
Member567890123414-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
Memberlimax9-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
MemberJon 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
MemberJon 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
Memberleezy_20006-Jan-02 14:43 
GeneralXP AutoPlay - how to turn it off Pin
567890123425-Dec-01 4:07
Member567890123425-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
MemberMatt Newman22-Dec-01 5:25 
AnswerRe: 10-connection limit on TCP/IP? Pin
Sean Cundiff22-Dec-01 5:43
MemberSean Cundiff22-Dec-01 5:43 
GeneralRe: 10-connection limit on TCP/IP? Pin
22-Dec-01 13:32
suss22-Dec-01 13:32 
GeneralRe: 10-connection limit on TCP/IP? Pin
Sean Cundiff22-Dec-01 16:50
MemberSean Cundiff22-Dec-01 16:50 
AnswerRe: 10-connection limit on TCP/IP? Pin
Roger Wright17-Jan-02 19:57
professionalRoger Wright17-Jan-02 19:57 
GeneralAdvanced TCP Logger v3.52 Pin
18-Dec-01 4:24
suss18-Dec-01 4:24 
GeneralRe: Advanced TCP Logger v3.52 Pin
Mike Nordell28-Dec-01 2:14
MemberMike Nordell28-Dec-01 2:14 
GeneralConnect the iPaq with win2000 Pin
17-Dec-01 18:35
suss17-Dec-01 18:35 
GeneralRe: Connect the iPaq with win2000 Pin
Mike Epprecht28-Jan-02 4:40
MemberMike Epprecht28-Jan-02 4:40 
QuestionStart>Run... Huh? Pin
User 842015-Dec-01 10:11
MemberUser 842015-Dec-01 10:11 

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.