🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internationalization
1 messages
1 total messages Started by user Thu, 19 Oct 2006 07:04
UNICODE and COM
#200
Author: user
Date: Thu, 19 Oct 2006 07:04
26 lines
1546 bytes
Hello,

I'm using C++ BCB 6 and also BDS 2006 and trying to make a Unicode COM 
object.

File New Application
Properties, Define _UNICODE
File New COM Object
Save everything

When I compile I get error "Cannot convert char* to const wchar_t*" at 
these lines in the ...Impl.h file.

   DECLARE_PROGID("UniCom.UniCom");
   DECLARE_DESCRIPTION("");

I've tried making the text long
DECLARE_PROGID(L"UniCom.UniCom");
but then it fails in UpdateRegistry(BOOL bRegister).

Any ideas?


thanks

Roland
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads