Click here to Skip to main content
15,566,064 members
Home / Discussions / COM
   

COM

 
GeneralRe: Using C# .dll in unmanaged C++ application Pin
mypicturefaded26-Sep-09 7:27
mypicturefaded26-Sep-09 7:27 
Questionloosing data in COM method Pin
shivako17-Sep-09 3:07
shivako17-Sep-09 3:07 
AnswerRe: loosing data in COM method Pin
Stuart Dootson17-Sep-09 3:48
professionalStuart Dootson17-Sep-09 3:48 
AnswerRe: loosing data in COM method Pin
Roger Stoltz17-Sep-09 3:57
Roger Stoltz17-Sep-09 3:57 
AnswerRe: loosing data in COM method Pin
CPallini17-Sep-09 12:14
mveCPallini17-Sep-09 12:14 
QuestionGetting link error Pin
gtag16-Sep-09 23:00
gtag16-Sep-09 23:00 
AnswerRe: Getting link error Pin
Stuart Dootson17-Sep-09 0:23
professionalStuart Dootson17-Sep-09 0:23 
GeneralRe: Getting link error Pin
gtag17-Sep-09 1:35
gtag17-Sep-09 1: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 2:00
professionalStuart Dootson17-Sep-09 2:00 
GeneralRe: Getting link error Pin
gtag17-Sep-09 2:29
gtag17-Sep-09 2:29 
GeneralRe: Getting link error Pin
Stuart Dootson17-Sep-09 3:05
professionalStuart Dootson17-Sep-09 3:05 
GeneralRe: Getting link error Pin
gtag17-Sep-09 3:44
gtag17-Sep-09 3:44 
GeneralRe: Getting link error Pin
Stuart Dootson17-Sep-09 3:46
professionalStuart Dootson17-Sep-09 3:46 
GeneralRe: Getting link error Pin
gtag17-Sep-09 19:40
gtag17-Sep-09 19:40 
QuestionC#development about Visio link the txt file. Pin
fbi56fbi15-Sep-09 22:47
fbi56fbi15-Sep-09 22:47 
Questionnew to this Pin
eclipsdrs14-Sep-09 8:56
eclipsdrs14-Sep-09 8:56 
AnswerRe: new to this Pin
Stuart Dootson14-Sep-09 13:39
professionalStuart Dootson14-Sep-09 13:39 
QuestionShared Add-in issues Pin
SRKSHOME11-Sep-09 5:57
SRKSHOME11-Sep-09 5:57 
QuestionUsing a COM Server in an Visual Studio .vcproj Pin
Juergen_8010-Sep-09 5:44
Juergen_8010-Sep-09 5:44 
AnswerRe: Using a COM Server in an Visual Studio .vcproj [modified] Pin
Stuart Dootson10-Sep-09 6:27
professionalStuart Dootson10-Sep-09 6:27 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Juergen_8010-Sep-09 23:51
Juergen_8010-Sep-09 23:51 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Stuart Dootson11-Sep-09 0:10
professionalStuart Dootson11-Sep-09 0:10 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Juergen_8011-Sep-09 0:59
Juergen_8011-Sep-09 0:59 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Stuart Dootson11-Sep-09 1:55
professionalStuart Dootson11-Sep-09 1:55 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Juergen_8011-Sep-09 2:58
Juergen_8011-Sep-09 2: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.