Pages: 1 [2] 3
|
 |
|
Author
|
Topic: Memory dialogs revisited. (Read 23938 times)
|
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.
|
|
|
Logged
|
|
|
|
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
|
|
|
Logged
|
|
|
|
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.
|
|
|
Logged
|
|
|
|
hutch--
Administrator
Member
    
Posts: 12013
Mnemonic Driven API Grinder
|
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.
|
|
|
Logged
|
|
|
|
dedndave
|
i am curious to see if this one runs on your machine JJ...
|
|
|
Logged
|
|
|
|
|
dedndave
|
heeyyyyyyyyyyyyyyyyyy i just wanted to know if i will see the problem on my machine 
|
|
|
Logged
|
|
|
|
hutch--
Administrator
Member
    
Posts: 12013
Mnemonic Driven API Grinder
|
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.
|
|
|
Logged
|
|
|
|
|
dedndave
|
hiyas Alex  well - the wording is a little hard to understand in that post  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
|
|
|
Logged
|
|
|
|
Antariy
|
hiyas Alex  well - the wording is a little hard to understand in that post  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  
|
|
|
Logged
|
|
|
|
hutch--
Administrator
Member
    
Posts: 12013
Mnemonic Driven API Grinder
|
Alex, I have no doubt that many read you post, its just that I remembered it. 
|
|
|
Logged
|
|
|
|
Ramon Sala
Easy Code programmer
Member
    
Gender: 
Posts: 425
|
Hi,
It works fine on Windows 7 (both 32 and 64-bit), but it doesn't on Windows XP SP3.
|
|
|
Logged
|
Greetings from Catalonia
|
|
|
jj2007
|
Alex had the right idea. See attachment, and try the UseCommonControls option...
|
|
|
Logged
|
|
|
|
hutch--
Administrator
Member
    
Posts: 12013
Mnemonic Driven API Grinder
|
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 ...
|
|
|
Logged
|
|
|
|
|
Pages: 1 [2] 3
|
|
|
 |