Click here to Skip to main content
15,887,683 members
Home / Discussions / COM
   

COM

 
QuestionMessage Removed Pin
20-Sep-09 22:57
gtag20-Sep-09 22:57 
AnswerRe: expression cannot be evaluated:0x0046d5b0 _com_error Pin
gtag30-Sep-09 1:19
gtag30-Sep-09 1:19 
QuestionUsing C# .dll in unmanaged C++ application Pin
mypicturefaded17-Sep-09 9:59
mypicturefaded17-Sep-09 9:59 
AnswerRe: Using C# .dll in unmanaged C++ application Pin
«_Superman_»18-Sep-09 0:00
professional«_Superman_»18-Sep-09 0:00 
GeneralRe: Using C# .dll in unmanaged C++ application Pin
mypicturefaded18-Sep-09 3:54
mypicturefaded18-Sep-09 3:54 
AnswerRe: Using C# .dll in unmanaged C++ application Pin
theCPkid25-Sep-09 22:18
theCPkid25-Sep-09 22:18 
GeneralRe: Using C# .dll in unmanaged C++ application Pin
mypicturefaded26-Sep-09 6:27
mypicturefaded26-Sep-09 6:27 
Questionloosing data in COM method Pin
shivako17-Sep-09 2:07
shivako17-Sep-09 2:07 
Hi ,
I have modified a method of a com interface. from

virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Restore(
/* [in] */ BSTR bszServerInstanceName,
/* [in] */ unsigned int uiNumCnt,
/* [in] */ BSTR *lpbszDb,
/* [in] */ BSTR *lpbszNewDs,
/* [in] */ BSTR bszDocumentXML,
/* [in] */ BSTR bszWriterXML,
unsigned int uiarg,
BSTR *lpbszList,
BSTR *lpbszTarget,
/* [in] */ BOOL boolflag,
/* [in] */ BSTR bszType) = 0;


to

virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Restore(
/* [in] */ BSTR bszServerInstanceName,
/* [in] */ unsigned int uiNumCnt,
/* [in] */ BSTR *lpbszDb,
/* [in] */ BSTR *lpbszNewDs,
/* [in] */ BSTR bszDocumentXML,
/* [in] */ BSTR bszWriterXML,
unsigned int uiarg,
BSTR *lpbszList,
BSTR *lpbszTarget,
/* [in] */ BOOL boolflag,
/* [in] */ BSTR bszType,
/* [in] */ BOOL boolLRflag) = 0;

I have added a bool to the end of parameter list.

when I call this method from my C code the last BOOL data I get is garbage whats wrong?

Best wishes

AnswerRe: loosing data in COM method Pin
Stuart Dootson17-Sep-09 2:48
professionalStuart Dootson17-Sep-09 2:48 
AnswerRe: loosing data in COM method Pin
Roger Stoltz17-Sep-09 2:57
Roger Stoltz17-Sep-09 2:57 
AnswerRe: loosing data in COM method Pin
CPallini17-Sep-09 11:14
mveCPallini17-Sep-09 11:14 
QuestionGetting link error Pin
gtag16-Sep-09 22:00
gtag16-Sep-09 22:00 
AnswerRe: Getting link error Pin
Stuart Dootson16-Sep-09 23:23
professionalStuart Dootson16-Sep-09 23:23 
GeneralRe: Getting link error Pin
gtag17-Sep-09 0:35
gtag17-Sep-09 0:35 
GeneralRe: Getting link error Pin
Stuart Dootson17-Sep-09 1:00
professionalStuart Dootson17-Sep-09 1:00 
GeneralRe: Getting link error Pin
gtag17-Sep-09 1:29
gtag17-Sep-09 1:29 
GeneralRe: Getting link error Pin
Stuart Dootson17-Sep-09 2:05
professionalStuart Dootson17-Sep-09 2:05 
GeneralRe: Getting link error Pin
gtag17-Sep-09 2:44
gtag17-Sep-09 2:44 
GeneralRe: Getting link error Pin
Stuart Dootson17-Sep-09 2:46
professionalStuart Dootson17-Sep-09 2:46 
GeneralRe: Getting link error Pin
gtag17-Sep-09 18:40
gtag17-Sep-09 18:40 
QuestionC#development about Visio link the txt file. Pin
fbi56fbi15-Sep-09 21:47
fbi56fbi15-Sep-09 21:47 
Questionnew to this Pin
eclipsdrs14-Sep-09 7:56
eclipsdrs14-Sep-09 7:56 
AnswerRe: new to this Pin
Stuart Dootson14-Sep-09 12:39
professionalStuart Dootson14-Sep-09 12:39 
QuestionShared Add-in issues Pin
SRKSHOME11-Sep-09 4:57
SRKSHOME11-Sep-09 4:57 
QuestionUsing a COM Server in an Visual Studio .vcproj Pin
Juergen_8010-Sep-09 4:44
Juergen_8010-Sep-09 4:44 

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.