Click here to Skip to main content
15,915,823 members
Home / Discussions / COM
   

COM

 
AnswerRe: Access violation in COM object on exit from DLL using it Pin
sundareswaran.senthilvel13-Jan-06 0:59
professionalsundareswaran.senthilvel13-Jan-06 0:59 
GeneralRe: Access violation in COM object on exit from DLL using it Pin
Jens Winslow13-Jan-06 6:05
Jens Winslow13-Jan-06 6:05 
QuestionProblem when User has selected Chinese Traditional Big5 as international option in outlook2003 Pin
Ganesh_T27-Dec-05 1:51
Ganesh_T27-Dec-05 1:51 
QuestionHow to generate custom HRESULT in COM and display message in to MFC Client? Pin
MandiraT27-Dec-05 0:51
MandiraT27-Dec-05 0:51 
QuestionCOM object with CLSID {845FB959-4279-11D2-BF23-00805FBE84A6} is either not valid or not registered. Pin
Mohamed Jaffar Sagir27-Dec-05 0:21
Mohamed Jaffar Sagir27-Dec-05 0:21 
AnswerRe: COM object with CLSID {845FB959-4279-11D2-BF23-00805FBE84A6} is either not valid or not registered. Pin
PhilWilson4-Jan-06 6:56
PhilWilson4-Jan-06 6:56 
QuestionCannot open include file: 'Wbemidl.h': No such file or directory Pin
abhiramsss26-Dec-05 23:32
abhiramsss26-Dec-05 23:32 
QuestionProblem in Chinese Traditional Charset.. in com addin Pin
Ganesh_T26-Dec-05 18:29
Ganesh_T26-Dec-05 18:29 
Hi I gave developed the com addin for outlook 2003. I am attaching toolbar in inbox second level. If the username is in Chinese Traditional Charset then it doesn't work. I mean the toolbars does not get attached.

I have written code and on reveiewing i think something goes wrong here..

CComPtr<outlook::recipient>CurrUser;
BSTR username;
char* strName=new char[50];
mysession->get_CurrentUser(&CurrUser);
CurrUser->get_Name(&username);
strcpy(strName,"\nCreated By: ");
strName=strcat(strName,_com_util::ConvertBSTRToString(username));
strcpy(m_username,strName);
delete strName;
strName=0;

...

This is not unicode strings char* and if username is Chinese Traditional charset code is imncorrect.
this coment was given by one of my senior friend.

Looking forward for reply,

Cheers
Ganesh



hi
QuestionDirectShow: Getting the window handle of a panel Pin
Ramow26-Dec-05 5:20
Ramow26-Dec-05 5:20 
QuestionOut of Proc exe and Win NT service Pin
misha_grewal25-Dec-05 20:06
misha_grewal25-Dec-05 20:06 
QuestionEnterprise services Pin
psantoshkumar25-Dec-05 19:26
psantoshkumar25-Dec-05 19:26 
Questionhelp on ATL COM first-chance exeption problem Pin
hardworkboy22-Dec-05 15:23
hardworkboy22-Dec-05 15:23 
AnswerRe: help on ATL COM first-chance exeption problem Pin
Stephen Hewitt10-Jan-06 14:13
Stephen Hewitt10-Jan-06 14:13 
QuestionActiveX Pin
Rajesh R Subramanian20-Dec-05 19:29
professionalRajesh R Subramanian20-Dec-05 19:29 
AnswerRe: ActiveX Pin
Aamir Butt22-Dec-05 23:47
Aamir Butt22-Dec-05 23:47 
GeneralRe: ActiveX Pin
vishalmore28-Dec-05 20:03
vishalmore28-Dec-05 20:03 
GeneralRe: ActiveX Pin
lemur211-Jan-06 9:55
lemur211-Jan-06 9:55 
QuestionCreating a COM Pin
vidyarani_14120-Dec-05 10:26
vidyarani_14120-Dec-05 10:26 
AnswerRe: Creating a COM Pin
MarcelDijk20-Dec-05 12:44
MarcelDijk20-Dec-05 12:44 
GeneralRe: Creating a COM Pin
vidyarani_14121-Dec-05 5:03
vidyarani_14121-Dec-05 5:03 
AnswerRe: Creating a COM Pin
MarcelDijk21-Dec-05 11:45
MarcelDijk21-Dec-05 11:45 
GeneralRe: Creating a COM Pin
vidyarani_14122-Dec-05 4:53
vidyarani_14122-Dec-05 4:53 
GeneralRe: Creating a COM Pin
vishalmore28-Dec-05 20:25
vishalmore28-Dec-05 20:25 
AnswerRe: Creating a COM Pin
Brian C Hart30-Dec-05 23:22
professionalBrian C Hart30-Dec-05 23:22 
QuestionImplementing Doc/View/Frame in an ActiveX control Pin
zulat20-Dec-05 2:26
zulat20-Dec-05 2:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.