Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
AnswerRe: Stupid Question - How Do I Find The Drive Letter My Program Was Called From? Pin
Stefan Troschuetz16-Aug-06 2:19
Stefan Troschuetz16-Aug-06 2:19 
AnswerRe: Stupid Question - How Do I Find The Drive Letter My Program Was Called From? Pin
Christian Graus16-Aug-06 2:21
protectorChristian Graus16-Aug-06 2:21 
QuestionShowing Chinese and Japanese font on .net window form using c# Pin
vasantk16-Aug-06 2:04
vasantk16-Aug-06 2:04 
QuestionError in: Insert Date Value into Access Database Pin
M Riaz Bashir16-Aug-06 2:04
M Riaz Bashir16-Aug-06 2:04 
AnswerRe: Error in: Insert Date Value into Access Database Pin
Guffa16-Aug-06 2:34
Guffa16-Aug-06 2:34 
Questionhi Pin
pranu_1316-Aug-06 1:41
pranu_1316-Aug-06 1:41 
AnswerRe: hi Pin
Robert Rohde16-Aug-06 2:43
Robert Rohde16-Aug-06 2:43 
QuestionImplementing a CallBack COM Interface in C# Pin
James R. Twine16-Aug-06 1:12
James R. Twine16-Aug-06 1:12 
   OK - first of all, I am fairly certain that this is possible, but while I know .Net, I do not know C#! Smile | :)

   I have an out-of-proc COM server that optionally accepts a "callback interface" to allow a client to receive events.  This is not the same as a connection point (so-called "COM Events").

   Basically, the client implements the interface and passes its pointer to the method, and the server calls methods on this interface to notify the client of something.  As such, clients are both COM clients and COM servers, and can be out-of-proc (another executable) or in-proc (a middleware COM component).

   Now, I am pretty sure that C# can implement COM interfaces, and that it should be able to implement one that can be used in such a way.  I just want to make sure, so I can state such in my server's documentation.

   So - can this kind of callback interface be utilized in C#?  What are the restrictions, of any?  Can the interface be coded to support calls being made back on it on different threads, perhaps simultaneously?

   Adva[Thanks]nce!

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)

QuestionSQL DataAdapter disabled in toolbox?? Pin
raviroyx16-Aug-06 1:07
raviroyx16-Aug-06 1:07 
QuestionComboBox in a ListBox Pin
syntaxed16-Aug-06 0:53
syntaxed16-Aug-06 0:53 
AnswerRe: ComboBox in a ListBox Pin
stancrm16-Aug-06 1:25
stancrm16-Aug-06 1:25 
QuestionHow to reopen the existing opened File [modified] Pin
engsrini16-Aug-06 0:12
engsrini16-Aug-06 0:12 
QuestionI know I'm missing something [modified] Pin
Glen Harvy15-Aug-06 23:45
Glen Harvy15-Aug-06 23:45 
AnswerRe: I know I'm missing something Pin
albCode16-Aug-06 0:14
albCode16-Aug-06 0:14 
GeneralRe: I know I'm missing something Pin
Glen Harvy16-Aug-06 2:14
Glen Harvy16-Aug-06 2:14 
AnswerRe: I know I'm missing something Pin
CooperWu16-Aug-06 0:20
CooperWu16-Aug-06 0:20 
GeneralRe: I know I'm missing something Pin
Glen Harvy16-Aug-06 2:17
Glen Harvy16-Aug-06 2:17 
AnswerRe: I know I'm missing something Pin
V.16-Aug-06 2:25
professionalV.16-Aug-06 2:25 
GeneralRe: I know I'm missing something Pin
Guffa16-Aug-06 2:50
Guffa16-Aug-06 2:50 
GeneralRe: I know I'm missing something Pin
V.16-Aug-06 3:12
professionalV.16-Aug-06 3:12 
GeneralRe: I know I'm missing something Pin
Glen Harvy16-Aug-06 12:56
Glen Harvy16-Aug-06 12:56 
GeneralRe: I know I'm missing something Pin
V.16-Aug-06 20:32
professionalV.16-Aug-06 20:32 
Questiondoubt on URLDownloadToFile Pin
Bibhu shankar15-Aug-06 23:19
Bibhu shankar15-Aug-06 23:19 
Questiondisplay data on textboxes from database using classes [modified] Pin
Mamphekgo15-Aug-06 22:01
Mamphekgo15-Aug-06 22:01 
AnswerRe: display data on textboxes from database using classes Pin
coolestCoder16-Aug-06 0:18
coolestCoder16-Aug-06 0:18 

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.