Click here to Skip to main content
15,919,423 members
Home / Discussions / COM
   

COM

 
GeneralRe: Please help on sending text data efficiently Pin
FearlessBurner2-Oct-03 12:11
FearlessBurner2-Oct-03 12:11 
GeneralNew transaction cannot enlist( critical error) Pin
akshya25-Sep-03 2:28
akshya25-Sep-03 2:28 
GeneralProblem - Value not excepted Pin
Daniel Strigl25-Sep-03 1:14
Daniel Strigl25-Sep-03 1:14 
QuestionDesign mode? Pin
Daniel Strigl25-Sep-03 0:16
Daniel Strigl25-Sep-03 0:16 
AnswerRe: Design mode? Pin
Abhishek Srivastava19-Oct-03 21:07
Abhishek Srivastava19-Oct-03 21:07 
GeneralInstance handle under ATL7 Pin
Daniel Strigl24-Sep-03 22:39
Daniel Strigl24-Sep-03 22:39 
GeneralRe: Instance handle under ATL7 Pin
geo_m25-Sep-03 0:06
geo_m25-Sep-03 0:06 
GeneralCOM Interop - .NET COM events and C++ client Pin
blade24-Sep-03 13:33
blade24-Sep-03 13:33 
Hi,

I need to fire COM events from C# and the client to handle those events is in C++.

Following is the code snippet of the COM events and the dispinterface in C#.

[Guid("12854E47-AD44-4283-B503-1176CC827A49")]
public interface Foo1ComInterface

{

void FireRequest( string str );

}

[Guid("073D1766-7969-41fd-B794-8B65B0EADAF3")]
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface Foo1ComEvents

{

void FooEvent( string str );

}

[ Guid("22EFEC33-5B40-4417-AFF0-DE0C5B7C9E47")]
[ ClassInterface(ClassInterfaceType.None) ]
[ ComSourceInterfaces(typeof(Foo1ComEvents))]
public class BooHoo : Foo1ComInterface

{

.....

}

So far I have generated a tlb file using regasm and did a #import in the C++ code and am able to

call the FireRequest function as defined above from C++. But how should I handle the event

fired from the .NET side. Please help!!!

Thanks,

Abhi


GeneralCOleObjectFactory::RegisterAll() causes Assertion Failure in Debug mode Pin
Nirav Thakkar24-Sep-03 4:39
Nirav Thakkar24-Sep-03 4:39 
GeneralRe: COleObjectFactory::RegisterAll() causes Assertion Failure in Debug mode Pin
Member 333748530-Jun-09 2:22
Member 333748530-Jun-09 2:22 
Questionimplement resizing on dynamically created "Kodak Image Edit ActiveX Control"??? Pin
nsaadyah23-Sep-03 21:28
nsaadyah23-Sep-03 21:28 
GeneralActiveX property - Visible in object viewer?! Pin
Daniel Strigl23-Sep-03 20:39
Daniel Strigl23-Sep-03 20:39 
GeneralClear cache of DCOM RPC binding handle Pin
sree_sundaram22-Sep-03 5:19
sree_sundaram22-Sep-03 5:19 
GeneralMSXML usage in VC7 COM IDL file Pin
Vivekananda.C22-Sep-03 3:27
Vivekananda.C22-Sep-03 3:27 
GeneralRe: MSXML usage in VC7 COM IDL file Pin
Stefan Pedersen22-Sep-03 3:59
Stefan Pedersen22-Sep-03 3:59 
QuestionQuestion about COM+: How to make a client computer to use a component? Pin
doisy22-Sep-03 0:16
doisy22-Sep-03 0:16 
QuestionImage Edit ActiveX Control? Pin
nsaadyah21-Sep-03 19:56
nsaadyah21-Sep-03 19:56 
GeneralError in installing (Serviced Component) in COM+ Pin
mosessaur20-Sep-03 12:45
mosessaur20-Sep-03 12:45 
GeneralCom interop Pin
Abhijit Desai20-Sep-03 0:14
Abhijit Desai20-Sep-03 0:14 
GeneralSimple ActiveX control without GUI Pin
Daniel Strigl19-Sep-03 4:01
Daniel Strigl19-Sep-03 4:01 
GeneralRe: Simple ActiveX control without GUI Pin
geo_m19-Sep-03 4:57
geo_m19-Sep-03 4:57 
GeneralRe: Simple ActiveX control without GUI Pin
Daniel Strigl19-Sep-03 5:02
Daniel Strigl19-Sep-03 5:02 
GeneralRe: Simple ActiveX control without GUI Pin
geo_m19-Sep-03 5:13
geo_m19-Sep-03 5:13 
GeneralRe: Simple ActiveX control without GUI Pin
Daniel Strigl19-Sep-03 6:50
Daniel Strigl19-Sep-03 6:50 
GeneralATL COM DECLARE_CLASSFACTORY_SINGLETON. Pin
umarcool19-Sep-03 2:19
umarcool19-Sep-03 2:19 

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.