View Single Post
Join Date: Nov 2008
Posts: 3
Reputation: Rrajal is an unknown quantity at this point 
Solved Threads: 0
Rrajal Rrajal is offline Offline
Newbie Poster

Re: Unicode in vb6.0

 
0
  #3
Nov 17th, 2008
Originally Posted by debasisdas View Post
that will be easy if you use .NET not vb 6.
Hi Debasis.
Thanks for reply, but I as I mentioned, my project is not entirely developed by me and I don't stand a chance to convert the whole project in .Net. its too big to convert for me.

Pl. let me know if any way I can make it enabled with all diff languages (with all the lot of APIs within).

There is another issue I would like to ask is if you know we can have if else in vc for declaring api as A (ANSI) or W (Wide) and its included in header class only, compiler will select it by its own that which API to use.

like.

#ifdef UNICODE
#define OpenSCManager OpenSCManagerW
#else
#define OpenSCManager OpenSCManagerA
#endif // !UNICODE

is there any way in vb to find the same? so I can put switches and let my compiler decide which API to chose at which point?

ps. the above declaration is in header file in vc, so here we need not to worry about.

Thanks... waiting for your reply
Reply With Quote