Click here to Skip to main content
15,904,287 members
Home / Discussions / COM
   

COM

 
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 
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 
#import \
"C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\mso.dll"\
rename("DocumentProperties", "DocumentPropertiesXL"),\
rename("RGB", "RBGXL")

//Microsoft VBA Objects
#import \
"C:\Program Files (x86)\Common Files\Microsoft Shared\VBA\VBA6\vbe6ext.olb"raw_interfaces_only,\
rename("Reference","ignorethis"),rename("VBE","XLVBE")

//Excel Application Objects
#import "C:\Program Files (x86)\Microsoft Office\Office12\EXCEL.EXE"\
rename("DialogBox", "DialogBoxXL"),rename("RGB", "RBGXL"),\
rename("DocumentProperties", "DocumentPropertiesXL"),\
rename("ReplaceText", "ReplaceTextXL"),\
rename("FindText", "FindTextXL"),\
rename("CopyFile", "CopyFileXL"),\
rename("VBE","XLVBE"),\
exclude("IFont", "IPicture") no_dual_interfaces

In property pages->linker->input -->additional dependencies i mentioned comsuppw.lib and comsupp.lib.

Please tell me what and all I need to check in project settings.

#include "comutil.h"
#pragma comment(lib, "comsuppw.lib")
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 
AnswerRe: Using a COM Server in an Visual Studio .vcproj [modified] Pin
Stuart Dootson10-Sep-09 5:27
professionalStuart Dootson10-Sep-09 5:27 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Juergen_8010-Sep-09 22:51
Juergen_8010-Sep-09 22:51 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Stuart Dootson10-Sep-09 23:10
professionalStuart Dootson10-Sep-09 23:10 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Juergen_8010-Sep-09 23:59
Juergen_8010-Sep-09 23:59 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Stuart Dootson11-Sep-09 0:55
professionalStuart Dootson11-Sep-09 0:55 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Juergen_8011-Sep-09 1:58
Juergen_8011-Sep-09 1:58 

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.