Unicode vs Non-Unicode |
Post Reply |
Author | |
griswald88
Groupie Joined: 16 May 2008 Status: Offline Points: 27 |
Post Options
Thanks(0)
Posted: 26 June 2008 at 1:16pm |
I understand that the unicode versions of the com components support foreign characters, but I wanted to know other than characterset implementation, is there any other differences between the two versions, particularly with the CommandBars and TaskPanel? We localize our applications and would prefer to use the unicode controls, but we have implemented everything so far using the ANSI controls. What impact would switching to the unicode controls have, if any?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Don't think you will notice any difference instead of charset support.
Main difference that Unicode version don't work with win9x.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
|
I don't know how unicode works from a technical level but is it possible for you to combine the unicode and non-unicode versions. Either make it auto-detect whether or not unicode is supported or else have a setting which will turn it on and off? Right now I'm using the non-unicode version because I need to support Win9x but I also would like to also support other languages for those who have a newer OS.
|
|
Baldur
Senior Member Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
Post Options
Thanks(0)
|
Normaly it's no problem, if you use the ActiveX-Versions.
The CLSID's and Typelib-Id from both versions are the same.
If you run the CJ COM-Registrator you can switch between this versions without any effect.
So for Win9X you can deliver the non-unicode and for other you can deliver the unicode-versions.
Your Application can ask the Unicode-Property of CJ's control.
Because COM-interfaces use BSTR for Strings, this are always Unicode (for windows also named WideChar).
Only the UI's of windows himself doesn't support WideChar in 9X.
|
|
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
|
I'll have to test out using both unicode and non-unicode versions of the ocxs. I'm not going to create a seperate installation package for both versions so I will have to bundle them together, which will increase the size of my installation program by several MB. Not ideal but if it works smoothly, I may still go with that option.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |