Click here to Skip to main content
15,396,537 members
Home / Discussions / COM
   

COM

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder16-Jul-09 3:09
cofounderChris Maunder16-Jul-09 3:09 
PinnedHow to get an answer to your question PinPopular
Chris Maunder16-Jul-09 3:05
cofounderChris Maunder16-Jul-09 3:05 
QuestionWhat remote work tools do you use with your team? Pin
JaleyRowe19-Mar-22 0:51
MemberJaleyRowe19-Mar-22 0:51 
QuestionRe: What remote work tools do you use with your team? Pin
Richard MacCutchan19-Mar-22 2:27
mveRichard MacCutchan19-Mar-22 2:27 
GeneralHow to Wrap OLE Structured Storage Pin
Visual Herbert20-Feb-21 0:42
MemberVisual Herbert20-Feb-21 0:42 
QuestionWin32 - Use COM object help Pin
Bret Stern8-Jan-21 5:39
MemberBret Stern8-Jan-21 5:39 
Been programming for too long, but always wanted to understand how to call
a COM object from within a win32 c application.
So I'm starting here hoping for some guidance.

Although I have VS 2008, I would like to do this in Codeblocks.

The COM object I want to use is for Sage 100. I currently load the COM object using Lazarus (DELPHI) like so:

unit header_boi.pas

const
boi_so_err = 1;
boi_data_path = '\\MM-2012-MAS-DEV\Sage\Sage 100 Advanced ERP\MAS90';

boi_script = 'ProvideX.Script';
boi_session = 'ProvideX.PvxDispatch';

unit boi_api.pas

hboi_script := CreateOleObject(boi_script);


In C, it is my understanding, I need to use CoCreateInstance?? Is this correct?

Problem is, I just don't know.
I have lots of books, but would love some guidance.

Best in 2021, Good karma promised.
Bret
AnswerRe: Win32 - Use COM object help Pin
Richard MacCutchan8-Jan-21 6:30
mveRichard MacCutchan8-Jan-21 6:30 
QuestionHow to get header and footer value in MS Project file format(.mpp) using office interope (C#) Pin
Member 1481839713-Nov-20 5:38
MemberMember 1481839713-Nov-20 5:38 
AnswerRe: How to get header and footer value in MS Project file format(.mpp) using office interope (C#) Pin
Gerry Schmitz13-Nov-20 9:49
mveGerry Schmitz13-Nov-20 9:49 
AnswerRe: How to get header and footer value in MS Project file format(.mpp) using office interope (C#) Pin
Richard MacCutchan13-Nov-20 22:06
mveRichard MacCutchan13-Nov-20 22:06 
Questioninterop Pin
lista25-Apr-19 7:00
Memberlista25-Apr-19 7:00 
QuestionRe: interop Pin
Eddy Vluggen31-Mar-20 14:39
professionalEddy Vluggen31-Mar-20 14:39 
Questionkey match Pin
Member 141404154-Feb-19 23:24
MemberMember 141404154-Feb-19 23:24 
AnswerRe: key match Pin
OriginalGriff4-Feb-19 23:28
mveOriginalGriff4-Feb-19 23:28 
QuestionObservation Pin
Richard Andrew x6415-Dec-18 8:22
professionalRichard Andrew x6415-Dec-18 8:22 
AnswerRe: Observation Pin
Mycroft Holmes5-Feb-19 14:35
professionalMycroft Holmes5-Feb-19 14:35 
QuestionConnect hsajet printer Pin
Member 1119728820-Oct-16 15:42
MemberMember 1119728820-Oct-16 15:42 
AnswerRe: Connect hsajet printer Pin
Richard MacCutchan20-Oct-16 20:47
mveRichard MacCutchan20-Oct-16 20:47 
QuestionRegistration Free Com in Excel Pin
Member 1233692919-Oct-16 0:40
MemberMember 1233692919-Oct-16 0:40 
AnswerRe: Registration Free Com in Excel Pin
Richard Deeming19-Oct-16 2:28
mveRichard Deeming19-Oct-16 2:28 
GeneralRe: Registration Free Com in Excel Pin
Member 1233692919-Oct-16 2:49
MemberMember 1233692919-Oct-16 2:49 
GeneralRe: Registration Free Com in Excel Pin
Richard Deeming19-Oct-16 2:54
mveRichard Deeming19-Oct-16 2:54 
GeneralRe: Registration Free Com in Excel Pin
Member 1233692919-Oct-16 4:18
MemberMember 1233692919-Oct-16 4:18 
GeneralRe: Registration Free Com in Excel Pin
Richard Deeming19-Oct-16 9:21
mveRichard Deeming19-Oct-16 9:21 
GeneralRe: Registration Free Com in Excel Pin
Member 1233692920-Oct-16 0:35
MemberMember 1233692920-Oct-16 0:35 

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.