News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Memory dialogs revisited.

Started by hutch--, March 15, 2011, 01:09:53 PM

Previous topic - Next topic

jj2007

On Win XP SP2, there is indeed a problem with the manifest file:
If it is included in rsrc.rc, the app launches but does not show and quits silently.
If 1 24 "manifest.xml" is removed, it works just fine.

dedndave

that's odd Jochen - it works here
the only thing "out of the ordinary" that i see in the manifest is the "description" tag

jj2007

I put
mactst.exe
echo %ERRORLEVEL%

into the batch file. "Impossible to run the specified program" and errorlevel 9020 ::)

With //1 24 manifest.xml commented out in rsrc.rc it runs fine and gives errorlevel 0.

hutch--

Same problem with an earlier app, if it has a manifest file it must have the common controls enabled. This may be specific to the Windows version that Erol is running but it looks like you need both to be safe on all Windows versions.

The attached ZIP file has the modification done by enabling the common control library.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

dedndave

i am curious to see if this one runs on your machine JJ...

jj2007


dedndave

heeyyyyyyyyyyyyyyyyyy
i just wanted to know if i will see the problem on my machine   :bg

hutch--

Dave,

Probably not if you are running a US version of XP but for folks writing general purpose software its worth knowing that you need both a manifest file AND that you must enable the common controls to display the later styles for XP, Vista and Win7.

The feedback from both Erol and JJ has been very useful.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Antariy

It seem, that nobody, except Hutch and Vortex, ever reading my useless posts: http://www.masm32.com/board/index.php?topic=15932.msg131804#msg131804

Sadly enough :(

dedndave

hiyas Alex   :U

well - the wording is a little hard to understand in that post   :P
noone mentioned it had to do with language/versions of XP, either - until now
i thought it might be something to do with the fact that i have media center edition - lol
there are a couple very hefty updates for MCE that do not get installed onto regular XP
as i recall, one is 20 Mb and the other is 35 Mb

Antariy

Quote from: dedndave on March 18, 2011, 03:35:19 AM
hiyas Alex   :U

well - the wording is a little hard to understand in that post   :P
noone mentioned it had to do with language/versions of XP, either - until now
i thought it might be something to do with the fact that i have media center edition - lol
there are a couple very hefty updates for MCE that do not get installed onto regular XP
as i recall, one is 20 Mb and the other is 35 Mb

Well, then I'll write in native language :P

:bg

hutch--

Alex,

I have no doubt that many read you post, its just that I remembered it.  :U
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Ramon Sala

Hi,

It works fine on Windows 7 (both 32 and 64-bit), but it doesn't on Windows XP SP3.
Greetings from Catalonia

jj2007

Alex had the right idea. See attachment, and try the UseCommonControls option...

hutch--

OK,

So if I have it right at the moment, some Windows versions are conditional in their usage of the initialised common control library. With the US English versions I use this code works on all of them, Win2000, XP SP3 and Win7 64 bit. I looked at the mod that JJ posted which runs on my US English versions. Now the situation that Erol reported was that on his Windows version if you ran a manifest file without enabling the common control library that the dialog would not start.

Now what I am interested in determining is if on some Windows language versions that you must match the control flags to the controls used. IE bar classes for toolbars and status bars etc ...
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php