The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: askm on July 12, 2006, 06:05:47 PM

Title: Inteface defs locale diffs
Post by: askm on July 12, 2006, 06:05:47 PM
I am using a tlb midl-ed on Windows 98,
with the other files to do dll. No problem.

However when I midl a idl - tlb on Windows 2000,
and do dll it give locale error

Locale setting ?

askm
Title: Re: Inteface defs locale diffs
Post by: P1 on July 12, 2006, 06:48:30 PM
Google for more information.

http://msdn2.microsoft.com/en-us/library/0ktbafh9.aspx

[
   uuid(F8CE5E42-1135-11d4-A324-0040F6D487D9),
   helpstring("MyCom3 1.0 Type Library"),
   version(1.0)
]

versus
[ uuid(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx), version(1.0), lcid(0x040c) ]
library Sample


AFAIK, M$ products use lcid(0x0409)

Regards,  P1  :8)