Click here to Skip to main content
15,885,214 members
Home / Discussions / COM
   

COM

 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
Jürgen Jung10-Mar-10 2:21
Jürgen Jung10-Mar-10 2:21 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound10-Mar-10 7:51
glitteringsound10-Mar-10 7:51 
QuestionUnable to update system registry Pin
Pryabu9-Mar-10 0:03
Pryabu9-Mar-10 0:03 
AnswerRe: Unable to update system registry Pin
Jonathan Davies9-Mar-10 2:19
Jonathan Davies9-Mar-10 2:19 
QuestionHide InDesign Application while Its Instance is created Pin
Rashmi_Karnam2-Mar-10 18:58
Rashmi_Karnam2-Mar-10 18:58 
QuestionTrouble with UrlDownloadToFile in Firefox Pin
GamerGoon1-Mar-10 1:18
GamerGoon1-Mar-10 1:18 
Questionhow to pre-define a com interface in a idl file? Pin
kcynic28-Feb-10 18:32
kcynic28-Feb-10 18:32 
AnswerRe: how to pre-define a com interface in a idl file? Pin
Stuart Dootson28-Feb-10 23:42
professionalStuart Dootson28-Feb-10 23:42 
IDL has forward declaration of interface, just like C/C++ has forward declarations, viz:

// cccc.idl : IDL source for cccc
//

// This file will be processed by the MIDL tool to
// produce the type library (cccc.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";

[
	uuid(D39DD965-FC96-4C0A-AA62-CA3F5F117685),
	version(1.0),
	helpstring("cccc 1.0 Type Library")
]
library ccccLib
{
   interface ITest2;
   [
	   object,
	   uuid(7CD26371-4A6B-4234-A024-6690A53CA450),
	   nonextensible,
	   helpstring("Itest Interface"),
	   pointer_default(unique)
   ]
   interface Itest : IUnknown
   {
      HRESULT DoSomething([in] ITest2* c);
   };
   [
	   object,
	   uuid(72a5a7e2-0256-428f-8bb5-42d39096892d),
	   nonextensible,
	   helpstring("Itest Interface"),
	   pointer_default(unique)
   ]
   interface ITest2 : IUnknown
   {
      HRESULT DoSomething([in]Itest* c);
   };
	importlib("stdole2.tlb");
	[
		uuid(F8AAE058-76E9-4F2C-995A-FB5B6565CED6),
		helpstring("test Class")
	]
	coclass test
	{
		[default] interface Itest;
		interface ITest2;
	};
};
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

CodeProject MVP for 2010 - who'd'a thunk it!

GeneralRe: how to pre-define a com interface in a idl file? Pin
kcynic1-Mar-10 20:50
kcynic1-Mar-10 20:50 
QuestionNeed help to write a COM component which should be accessible from JScript! Pin
gopikomanduri26-Feb-10 7:29
gopikomanduri26-Feb-10 7:29 
AnswerRe: Need help to write a COM component which should be accessible from JScript! Pin
cariolihome26-Feb-10 23:27
cariolihome26-Feb-10 23:27 
AnswerRe: Need help to write a COM component which should be accessible from JScript! Pin
«_Superman_»28-Feb-10 17:14
professional«_Superman_»28-Feb-10 17:14 
QuestionHow to load a CRichEditCtrl with RTF containing embedded objects. Pin
Leif Goodwin26-Feb-10 3:30
Leif Goodwin26-Feb-10 3:30 
AnswerRe: How to load a CRichEditCtrl with RTF containing embedded objects. [modified] Pin
Leif Simon Goodwin27-Feb-10 1:33
Leif Simon Goodwin27-Feb-10 1:33 
AnswerRe: How to load a CRichEditCtrl with RTF containing embedded objects. Pin
Leif Simon Goodwin2-Apr-10 0:40
Leif Simon Goodwin2-Apr-10 0:40 
QuestionRun Only One Instance Of AddOn In Multiple IE Win Pin
A_Fa24-Feb-10 3:09
A_Fa24-Feb-10 3:09 
AnswerRe: Run Only One Instance Of AddOn In Multiple IE Win Pin
KarstenK24-Feb-10 3:40
mveKarstenK24-Feb-10 3:40 
AnswerRe: Run Only One Instance Of AddOn In Multiple IE Win Pin
R@jeev K R7-Mar-10 19:43
R@jeev K R7-Mar-10 19:43 
Questioncom memory management Pin
ramina sen23-Feb-10 21:15
ramina sen23-Feb-10 21:15 
AnswerRe: com memory management Pin
Richard MacCutchan23-Feb-10 22:00
mveRichard MacCutchan23-Feb-10 22:00 
AnswerRe: com memory management Pin
KarstenK24-Feb-10 4:20
mveKarstenK24-Feb-10 4:20 
QuestionFew basics about COM Pin
tasumisra21-Feb-10 18:09
tasumisra21-Feb-10 18:09 
AnswerRe: Few basics about COM Pin
Richard MacCutchan21-Feb-10 21:55
mveRichard MacCutchan21-Feb-10 21:55 
Questionhandle DISPID_NEWWINDOW2 or 3 Pin
rustok19-Feb-10 21:46
rustok19-Feb-10 21:46 
AnswerRe: handle DISPID_NEWWINDOW2 or 3 Pin
0day7-Mar-10 21:46
0day7-Mar-10 21:46 

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.