Alaska Software Inc. - Manifest & Unicode
Username: Password:
AuthorTopic: Manifest & Unicode
AUGE_OHRManifest & Unicode
on Wed, 26 Aug 2009 08:24:50 +0200
hi,

i did report often that i have Problem with XP Manifest when using Unicode.
(e.g "chinese Unicode and XP Manifest ?", public.xbase++.gui, 9. Mai 2008 )

now i found this at
http://www.bigresource.com/VB-Manifest-file-and-Unicode-IZtALowOk5.html
*** quote ***
Manifest File And Unicode

I added a pretty standard manifest file into my project. I'm creating a
button using CreateWindowExW to get Unicode support for it. After adding the
manifest file the Unicode support is gone - anyone have a clue why? Is there
anything wrong with the manifest I use?

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" processorArchitecture="x86"
name="prjThemed" type="win32" />
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
version="6.0.0.0" processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df" language="*" />
</dependentAssembly>
</dependency>
</assembly>

If I rename the manifest, everything is OK, except that the XP style is
gone, but Unicode text displays correctly.
*** eof ***

this is exact what i have with Xbase++ XbpSLE !!!

is there anyone else using Unicode and have this "Problem" ?

greetings by OHR
Jimmy
Hector Pezoa GonzalezRe: Manifest & Unicode
on Wed, 26 Aug 2009 19:49:31 -0400
Hi

ifdef _UNICODE

#if defined _M_IX86

#pragma comment(linker,"/manifestdependency:\"type='win32' 
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' 
processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' 
language='*'\"")

#elif defined _M_IA64

#pragma comment(linker,"/manifestdependency:\"type='win32' 
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' 
processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' 
language='*'\"")

#elif defined _M_X64

#pragma comment(linker,"/manifestdependency:\"type='win32' 
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' 
processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' 
language='*'\"")

#else

#pragma comment(linker,"/manifestdependency:\"type='win32' 
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' 
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")

#endif

#endif



"AUGE_OHR" <AUGE_OHR*AT*WEB.DE> escribi en el mensaje 
news:34d0f1de$1e8bf7c8$7c2b8@news.alaska-software.com...
> hi,
>
> i did report often that i have Problem with XP Manifest when using 
> Unicode.
> (e.g "chinese Unicode and XP Manifest ?", public.xbase++.gui, 9. Mai 
> 2008 )
>
> now i found this at
> http://www.bigresource.com/VB-Manifest-file-and-Unicode-IZtALowOk5.html
> *** quote ***
> Manifest File And Unicode
>
> I added a pretty standard manifest file into my project. I'm creating a
> button using CreateWindowExW to get Unicode support for it. After adding 
> the
> manifest file the Unicode support is gone - anyone have a clue why? Is 
> there
> anything wrong with the manifest I use?
>
> Code:
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
> <assemblyIdentity version="1.0.0.0" processorArchitecture="x86"
> name="prjThemed" type="win32" />
> <dependency>
> <dependentAssembly>
> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
> version="6.0.0.0" processorArchitecture="x86"
> publicKeyToken="6595b64144ccf1df" language="*" />
> </dependentAssembly>
> </dependency>
> </assembly>
>
> If I rename the manifest, everything is OK, except that the XP style is
> gone, but Unicode text displays correctly.
> *** eof ***
>
> this is exact what i have with Xbase++ XbpSLE !!!
>
> is there anyone else using Unicode and have this "Problem" ?
>
> greetings by OHR
> Jimmy
>
>
>
AUGE_OHRRe: Manifest & Unicode
on Thu, 27 Aug 2009 07:17:05 +0200
hi,

thx for Answer.

but sorry, i do not understand what "to do" ?

can you please "explain" a Newbie where i have to include
your Code (into Xbase++ Source or *.ARC or Manifest) ?

thx, greetings by OHR
Jimmy
Hector Pezoa GonzalezRe: Manifest & Unicode
on Thu, 27 Aug 2009 11:23:40 -0400
Hi

Hi

Only define or modify  processorArchitecture
'x86'     ia64'   amd64'    '*'


<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
version="6.0.0.0" processorArchitecture="x86"    ????????(((here  modify ))
publicKeyToken="6595b64144ccf1df" language="*" />
</dependentAssembly>
</dependency>
</assembly>


"AUGE_OHR" <AUGE_OHR*AT*WEB.DE> escribi en el mensaje 
news:1f1f011a$2355c5c3$84b94@news.alaska-software.com...
> hi,
>
> thx for Answer.
>
> but sorry, i do not understand what "to do" ?
>
> can you please "explain" a Newbie where i have to include
> your Code (into Xbase++ Source or *.ARC or Manifest) ?
>
> thx, greetings by OHR
> Jimmy
>
AUGE_OHRRe: Manifest & Unicode
on Sun, 30 Aug 2009 22:00:31 +0200
hi,

> Only define or modify  processorArchitecture
> 'x86'     ia64'   amd64'    '*'
>
> <dependency>
> <dependentAssembly>
> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
> version="6.0.0.0" processorArchitecture="x86"    ????????(((here 
>  modify ))
> publicKeyToken="6595b64144ccf1df" language="*" />
> </dependentAssembly>
> </dependency>
> </assembly>

hm ... i understand that x86 -> w32, ia64 -> w64 and amd64 is for AMD
this is Hardware Platform

but what make the Differenz in Manifest with Unicode ?

>#pragma comment(linker,"/manifestdependency

did you put this in your Xbase++ *.ARC File ?

greetings by OHR
Jimmy



thx, greetings by OHR
Jimmy