Click here to Skip to main content
15,895,667 members
Home / Discussions / COM
   

COM

 
Questioncollect information about visitors with BHO Pin
Maverickcool4-Mar-09 7:56
Maverickcool4-Mar-09 7:56 
QuestionMulti Tier Class setup? Pin
Herrwolf14-Mar-09 2:06
Herrwolf14-Mar-09 2:06 
Questionhow to make create IDiscMater2 successful? Pin
kcynic4-Mar-09 0:54
kcynic4-Mar-09 0:54 
AnswerRe: how to make create IDiscMater2 successful? Pin
kcynic4-Mar-09 2:55
kcynic4-Mar-09 2:55 
QuestionFunction Pointer in IDL File Pin
Gopal_Kanchana2-Mar-09 22:43
Gopal_Kanchana2-Mar-09 22:43 
AnswerRe: Function Pointer in IDL File Pin
Baltoro5-Mar-09 11:54
Baltoro5-Mar-09 11:54 
GeneralRe: Function Pointer in IDL File Pin
Gopal_Kanchana5-Mar-09 19:52
Gopal_Kanchana5-Mar-09 19:52 
GeneralRe: Function Pointer in IDL File Pin
Baltoro9-Mar-09 5:43
Baltoro9-Mar-09 5:43 
Sorry, it took so long to get back to you, I don't visit the site every day.
The reason I suggested that you consider how you want the 'function pointer' to be marshaled is that the COM Library is designed to use the RPC mechanism and a proxy/stub architecture to interact with other COM components, whether in the same process, in another thread in the same process, or even another process on a remote machine. I have no way of knowing how aware you are of COM internals,...so, I don't make any assumptions.
The COM Library performs many operations that are invisible to the programmer when you make an activation request (for instance, CoCreateInstance or DllGetClassObject), depending on the server registration and how you configure your apartments. If it's an In-Process Server, you could, hypothetically, pass a 'function pointer' to another DLL in the same process, and the address would be accessible. In practice, this is a really dumb idea. The obvious question is: why not call the method directly? If the Com DLL is in another process address space, any virtual function pointer will be invalid (this will be true even if it's NOT a COM Dll). I'm assuming that you konw all this.
Your question provides the very minimum of information, making it difficult to answer accurately.
...So, what's your point? If you want to define a 'function pointer', go ahead.
QuestionSHDocVw.dll Cannot Print Pin
YNet1-Mar-09 15:24
YNet1-Mar-09 15:24 
QuestionHow to make my com object can be used by C# using add reference operation? Pin
kcynic1-Mar-09 4:04
kcynic1-Mar-09 4:04 
AnswerRe: How to make my com object can be used by C# using add reference operation? Pin
«_Superman_»1-Mar-09 17:27
professional«_Superman_»1-Mar-09 17:27 
GeneralRe: How to make my com object can be used by C# using add reference operation? Pin
kcynic1-Mar-09 18:13
kcynic1-Mar-09 18:13 
QuestionRegistering assembly for COM interop Pin
Sameer Bhawtankar28-Feb-09 0:44
Sameer Bhawtankar28-Feb-09 0:44 
AnswerRe: Registering assembly for COM interop Pin
Jonathan Davies28-Feb-09 1:54
Jonathan Davies28-Feb-09 1:54 
Questionneed Suggestions for Project? Pin
shaina223127-Feb-09 17:29
shaina223127-Feb-09 17:29 
AnswerRe: need Suggestions for Project? Pin
Jonathan Davies28-Feb-09 2:15
Jonathan Davies28-Feb-09 2:15 
Questionserial port programming using threads in c Pin
rao_abhilash26-Feb-09 19:37
rao_abhilash26-Feb-09 19:37 
AnswerRe: serial port programming using threads in c Pin
«_Superman_»26-Feb-09 21:12
professional«_Superman_»26-Feb-09 21:12 
QuestionHow to find DispIds for excel procedures? Pin
SNI26-Feb-09 1:36
SNI26-Feb-09 1:36 
Questionfail to get IHTMLElement from IHTMLFormElement Pin
computer_nerd24-Feb-09 5:03
computer_nerd24-Feb-09 5:03 
AnswerRe: fail to get IHTMLElement from IHTMLFormElement Pin
Jonathan Davies25-Feb-09 5:49
Jonathan Davies25-Feb-09 5:49 
GeneralRe: fail to get IHTMLElement from IHTMLFormElement Pin
computer_nerd27-Feb-09 12:48
computer_nerd27-Feb-09 12:48 
GeneralRe: fail to get IHTMLElement from IHTMLFormElement Pin
Jonathan Davies28-Feb-09 3:52
Jonathan Davies28-Feb-09 3:52 
GeneralRe: fail to get IHTMLElement from IHTMLFormElement Pin
computer_nerd1-Mar-09 1:30
computer_nerd1-Mar-09 1:30 
Questionshell Undo manager Pin
Frank Thielemann24-Feb-09 4:11
Frank Thielemann24-Feb-09 4:11 

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.