Click here to Skip to main content
15,912,756 members
Home / Discussions / COM
   

COM

 
GeneralSMTP Server Extension (Mail Sink) performance Pin
Paul Ingles21-Oct-03 5:10
Paul Ingles21-Oct-03 5:10 
GeneralC# AsyncCallBack and COM+ Pin
rick close20-Oct-03 8:10
rick close20-Oct-03 8:10 
GeneralService, IHTMLDocument2, print Pin
User 64185520-Oct-03 3:50
User 64185520-Oct-03 3:50 
General2D arrays in ATL 7 Pin
Urban Olars20-Oct-03 1:13
Urban Olars20-Oct-03 1:13 
GeneralRe: 2D arrays in ATL 7 Pin
Giles6-Nov-03 1:06
Giles6-Nov-03 1:06 
GeneralControl of ActiveX objects opened in IE Pin
Ed0119-Oct-03 23:50
Ed0119-Oct-03 23:50 
GeneralNotifying Multiple Instances of Changes to One Pin
Heath Stewart16-Oct-03 14:23
protectorHeath Stewart16-Oct-03 14:23 
GeneralWin32 DLL wrapped into COM object Pin
RedZenBird16-Oct-03 11:25
RedZenBird16-Oct-03 11:25 
First off, I'm a real COM neophyte....that said.....

Situation:

I have a win32 dll which exports approx 100 functions. These functions use data structures (some with upwards of 50 data fields) passed in/out of the function calls.

All the structures have intrinsic types for fields (char*, doubles, ints bools) etc. There are no linked lists, pointer to other structures, unions etc in the structures that are passed.


Requirement:

I have to "wrap" this dll into a COM/ActiveX object so that the entire functionality of this dll is "visible" as a COM object. But, I really don't have a real good idea where to start with this. Do I:

1. Convert all structures to MIDL equivalents? (is there a tool for this?)
2. Create an ATL object to contain the dll and simply forward all calls to the DLL?
3. How does one convert large structured data through this kinds of mechanism?

Please advise, and thank you in advance...




Just trying to keep the forces of entropy at bay
GeneralRe: Win32 DLL wrapped into COM object Pin
Mike Pulice11-Nov-03 8:25
Mike Pulice11-Nov-03 8:25 
GeneralIHTMLWindow2::open() related question Pin
16-Oct-03 6:58
suss16-Oct-03 6:58 
GeneralRe: IHTMLWindow2::open() related question Pin
Heath Stewart17-Oct-03 9:35
protectorHeath Stewart17-Oct-03 9:35 
GeneralHashtable Pin
Jajco15-Oct-03 4:41
Jajco15-Oct-03 4:41 
QuestionGUID is undefined ??? Pin
Saurabh_Delhi15-Oct-03 4:11
Saurabh_Delhi15-Oct-03 4:11 
AnswerRe: GUID is undefined ??? Pin
Saurabh_Delhi15-Oct-03 19:46
Saurabh_Delhi15-Oct-03 19:46 
GeneralIHTMLElement & put_innerHTML update problem Pin
Ceri14-Oct-03 23:21
Ceri14-Oct-03 23:21 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks15-Oct-03 0:23
Neville Franks15-Oct-03 0:23 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri15-Oct-03 1:00
Ceri15-Oct-03 1:00 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks15-Oct-03 1:51
Neville Franks15-Oct-03 1:51 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Steve S15-Oct-03 2:22
Steve S15-Oct-03 2:22 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks15-Oct-03 2:35
Neville Franks15-Oct-03 2:35 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri15-Oct-03 23:37
Ceri15-Oct-03 23:37 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks16-Oct-03 1:52
Neville Franks16-Oct-03 1:52 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri16-Oct-03 2:00
Ceri16-Oct-03 2:00 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Ceri16-Oct-03 3:03
Ceri16-Oct-03 3:03 
GeneralRe: IHTMLElement & put_innerHTML update problem Pin
Neville Franks16-Oct-03 9:16
Neville Franks16-Oct-03 9:16 

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.