Click here to Skip to main content
15,909,199 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: error compling dll Pin
Cedric Moonen8-May-08 21:10
Cedric Moonen8-May-08 21:10 
QuestionFunctionality similar to mcafee site advisor browser plugin Pin
bikramthapa7-May-08 2:18
bikramthapa7-May-08 2:18 
QuestionCatching a WM_MOUSEMOVE from a popup menu opened from IE-toolbar Pin
amosygal6-May-08 23:42
amosygal6-May-08 23:42 
QuestionFire Event from Worker thread in ATL COM Loaded on a Web Page Pin
garammasala5-May-08 23:52
garammasala5-May-08 23:52 
QuestionAtlAdvise returns 0x80040201 [modified] Pin
Scorp1us1-May-08 8:28
Scorp1us1-May-08 8:28 
QuestionPopup Menu sends "UnInit" Before sending a command Pin
yytg1-May-08 4:43
yytg1-May-08 4:43 
QuestionC2440 Pin
T.RATHA KRISHNAN30-Apr-08 19:37
T.RATHA KRISHNAN30-Apr-08 19:37 
AnswerRe: C2440 Pin
Jörgen Sigvardsson1-May-08 0:14
Jörgen Sigvardsson1-May-08 0:14 
Microsoft's compiler allows you to associate an interface with its IID. This means that for such an interface, the compiler can give you a reference to the IID.

To associate an interface with an IID, you use the __declspec(uuid()) directive. Example:
struct __declspec(uuid("D97A6DA0-A85D-11CF-83AE-00A0C90C2BD8")) IMyInterface { ... };
This tells the compiler to create an IID in static memory with the specified value. A pointer to the IID is then acquired by using the __uuidof() operator like this:
const IID* pIID = __uuidof(IMyInterface)


If you use Microsoft's IDL compiler (MIDL), the association between interface and IID is made automatically for you. Also, most of the system interfaces (IUnknown, IDispatch, etc.) also have this feature.

It would seem to me that there is no IID associated with IInputObject. There is most likely an IID variable declared somewhere that you can use. Have you tried swapping COM_INTERFACE_ENTRY(IInputObject) with COM_INTERFACE_ENTRY_IID(IID_IInputObject, IInputObject)?

--
Kein Mitleid Für Die Mehrheit

QuestionHow to use ATL COM dll in JavaScript? Pin
ritz123430-Apr-08 2:30
ritz123430-Apr-08 2:30 
AnswerRe: How to use ATL COM dll in JavaScript? Pin
led mike30-Apr-08 4:32
led mike30-Apr-08 4:32 
AnswerRe: How to use ATL COM dll in JavaScript? Pin
CPallini30-Apr-08 5:19
mveCPallini30-Apr-08 5:19 
GeneralRe: How to use ATL COM dll in JavaScript? Pin
ritz123430-Apr-08 18:41
ritz123430-Apr-08 18:41 
QuestionRe: How to use ATL COM dll in JavaScript? Pin
CPallini30-Apr-08 22:10
mveCPallini30-Apr-08 22:10 
AnswerRe: How to use ATL COM dll in JavaScript? Pin
ritz12341-May-08 3:06
ritz12341-May-08 3:06 
GeneralLoading a Dialog Resource from a different DLL Pin
PhilGoh29-Apr-08 2:30
PhilGoh29-Apr-08 2:30 
AnswerRe: Loading a Dialog Resource from a different DLL Pin
prasad_som30-Apr-08 4:16
prasad_som30-Apr-08 4:16 
QuestionHandle VC++ ATL COM Event in Java Script ?? [modified] Pin
garammasala28-Apr-08 2:46
garammasala28-Apr-08 2:46 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt28-Apr-08 15:57
Stephen Hewitt28-Apr-08 15:57 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala28-Apr-08 17:42
garammasala28-Apr-08 17:42 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt28-Apr-08 17:46
Stephen Hewitt28-Apr-08 17:46 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala28-Apr-08 20:43
garammasala28-Apr-08 20:43 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt29-Apr-08 20:07
Stephen Hewitt29-Apr-08 20:07 
QuestionRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala5-May-08 21:07
garammasala5-May-08 21:07 
AnswerRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt6-May-08 16:25
Stephen Hewitt6-May-08 16:25 
AnswerRe: Handle VC++ ATL COM Event in Java Script ?? [modified] Pin
garammasala6-May-08 17:38
garammasala6-May-08 17:38 

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.