Click here to Skip to main content
15,913,487 members
Home / Discussions / COM
   

COM

 
Generalhelp in an active x control Pin
safee ullah30-Dec-03 18:52
safee ullah30-Dec-03 18:52 
GeneralRe: help in an active x control Pin
bryce30-Dec-03 19:13
bryce30-Dec-03 19:13 
GeneralRe: help in an active x control Pin
Abhishek Srivastava30-Dec-03 19:34
Abhishek Srivastava30-Dec-03 19:34 
QuestionHow to develop pluggable application? Pin
Anonymous30-Dec-03 11:06
Anonymous30-Dec-03 11:06 
AnswerRe: How to develop pluggable application? Pin
Tristan Rhodes30-Dec-03 13:46
Tristan Rhodes30-Dec-03 13:46 
GeneralPassing CRichEditCtrl pointer to COM Pin
BazM30-Dec-03 10:08
BazM30-Dec-03 10:08 
GeneralRe: Passing CRichEditCtrl pointer to COM Pin
BazM31-Dec-03 3:02
BazM31-Dec-03 3:02 
GeneralForward Defining Structures Pin
Tristan Rhodes30-Dec-03 9:22
Tristan Rhodes30-Dec-03 9:22 
I am trying to produce a library of objects relating to Drag and Drop. My library currently looks like this:

import "oaidl.idl";<br />
import "ocidl.idl";<br />
import "objidl.idl";<br />
[<br />
	uuid(01020304-0506-0708-9010-011012013014)<br />
]<br />
library DragDrop{<br />
	interface IDataObject;<br />
	interface IEnumFORMATETC;<br />
	interface IEnumSTATDATA;<br />
	struct tagFORMATETC;<br />
	struct tagDVTARGETDEVICE;<br />
	struct tagSTGMEDIUM;<br />
	struct tagSTATDATA;<br />
	enum tagADVF;<br />
	enum tagDATADIR;<br />
	enum tagTYMED;	<br />
};


However I have a problem. While I have found many of the interfaces and structures used by the IDataObject and it's proceeding object tree. I have been unable to find the STGMEDIUM object in any of my IDL import libraries. Do i need to include this in my library?

I have found a number of instances of STGMEDIUM object, but have not actualy found one that is the one I am looking for. there is remSTGMEDIUM, and uSTGMEDIUM. Which of these should I be using if any?

I would Have thought so if i want to compile it to a TLB.

Aditionaly, there are a number of structures and enumerations defined in the interfaces. Should I pull these out and implement them in the type library seperately? Or is this done automaticaly?

Is there anything else I am missing?

Thanks

Cata
QuestionWho can tell me GUIDGEN.EXE three item mean? Pin
Peng Yao29-Dec-03 21:55
sussPeng Yao29-Dec-03 21:55 
AnswerRe: Who can tell me GUIDGEN.EXE three item mean? Pin
geo_m30-Dec-03 0:24
geo_m30-Dec-03 0:24 
Generalmidl problems Pin
Tristan Rhodes28-Dec-03 6:05
Tristan Rhodes28-Dec-03 6:05 
GeneralRe: midl problems Pin
Stefan Pedersen28-Dec-03 6:19
Stefan Pedersen28-Dec-03 6:19 
GeneralRe: midl problems Pin
Tristan Rhodes28-Dec-03 6:40
Tristan Rhodes28-Dec-03 6:40 
Generalvcvars.bat - Not recognised Pin
Tristan Rhodes28-Dec-03 6:46
Tristan Rhodes28-Dec-03 6:46 
GeneralNever Mind Pin
Tristan Rhodes28-Dec-03 6:52
Tristan Rhodes28-Dec-03 6:52 
GeneralRe: midl problems Pin
Heath Stewart28-Dec-03 7:02
protectorHeath Stewart28-Dec-03 7:02 
GeneralRe: midl problems Pin
Jörgen Sigvardsson29-Dec-03 11:49
Jörgen Sigvardsson29-Dec-03 11:49 
GeneralCOM returns an ADO Connection Pin
Hesham Amin27-Dec-03 10:48
Hesham Amin27-Dec-03 10:48 
GeneralSolved Pin
Hesham Amin28-Dec-03 23:46
Hesham Amin28-Dec-03 23:46 
GeneralPassing HWND from a MDI app to a activeX control Pin
Sunil122127-Dec-03 1:39
Sunil122127-Dec-03 1:39 
GeneralRe: Passing HWND from a MDI app to a activeX control Pin
Abhishek Srivastava28-Dec-03 21:34
Abhishek Srivastava28-Dec-03 21:34 
GeneralCOM interface: EnumFormatEtc Pin
Tristan Rhodes23-Dec-03 8:46
Tristan Rhodes23-Dec-03 8:46 
GeneralRe: COM interface: EnumFormatEtc Pin
Stefan Pedersen27-Dec-03 10:59
Stefan Pedersen27-Dec-03 10:59 
GeneralRe: COM interface: EnumFormatEtc Pin
Jörgen Sigvardsson6-Jan-04 6:25
Jörgen Sigvardsson6-Jan-04 6:25 
GeneralRegister an exe COM server Pin
User 78226222-Dec-03 22:58
professionalUser 78226222-Dec-03 22: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.