Click here to Skip to main content
15,918,193 members
Home / Discussions / C#
   

C#

 
QuestionC# RTD + .Net Remoting Pin
ZawMinTun9-Jan-12 23:01
ZawMinTun9-Jan-12 23:01 
Hi all,

I have a problem in creating a Excel RTD Server using C#.
The application is laid out as follows:
A window application which is running .Net Remoting server on a tcp channel (let's call it DataFeedServer).
A dll which can call DataFeedServer to get the data (let's call it DataFeedClient). The communication between those DataFeedServer and DataFeedClient is two-way (using callback functions and delegates).

Then I tried to call the DataFeedClient dll from a test windows application (let's call it TestWinApp).
Then the application flow is:
TestWinApp calls DataFeedClient, DataFeedClient calls DataFeedServer, DataFeedServer fires an event in DataFeedClient and finally DataFeedClient fires an event in TestWinApp. And it's working fine.

Then MS Excel comes in for real world scenario. I put a dll for RTD interface which will be called by MS Excel and which will call to DataFeedClient.
Then the scenario changed to MS Excel RTD calls DataFeedClient, and DataFeedClient calls DataFeedServer. Then DataFeedServer tried to fire an event of DataFeedClient. But fails. No error. Just silently stopped at that stage. So there's no calling from DataFeedClient back to MS Excel. The direction of the data flow is only half of the route always.

I'm not so sure I'm explaining clearly enough and thanks for taking your time this far.

Actually, the very essential information I need to know is if it's possible to use IRtdServer and Two-way .Net Remoting (with callback functions and delegates). Any information source is gratefully appreciated too.

Thanks in advance.

Best regards,
Zaw Min Tun
QuestionCalling java from C# Pin
KASR19-Jan-12 21:32
KASR19-Jan-12 21:32 
AnswerRe: Calling java from C# Pin
OriginalGriff9-Jan-12 21:41
mveOriginalGriff9-Jan-12 21:41 
AnswerRe: Calling java from C# Pin
David Skelly9-Jan-12 22:16
David Skelly9-Jan-12 22:16 
GeneralRe: Calling java from C# Pin
KASR19-Jan-12 22:53
KASR19-Jan-12 22:53 
GeneralRe: Calling java from C# Pin
David Skelly10-Jan-12 1:39
David Skelly10-Jan-12 1:39 
GeneralRe: Calling java from C# Pin
KASR110-Jan-12 18:55
KASR110-Jan-12 18:55 
GeneralRe: Calling java from C# Pin
Bernhard Hiller10-Jan-12 21:20
Bernhard Hiller10-Jan-12 21:20 
GeneralRe: Calling java from C# Pin
KASR111-Jan-12 0:05
KASR111-Jan-12 0:05 
GeneralRe: Calling java from C# Pin
Richard MacCutchan11-Jan-12 2:43
mveRichard MacCutchan11-Jan-12 2:43 
GeneralRe: Calling java from C# Pin
Pete O'Hanlon11-Jan-12 5:11
mvePete O'Hanlon11-Jan-12 5:11 
GeneralRe: Calling java from C# Pin
Richard MacCutchan11-Jan-12 5:22
mveRichard MacCutchan11-Jan-12 5:22 
AnswerRe: Calling java from C# Pin
Abhinav S9-Jan-12 22:18
Abhinav S9-Jan-12 22:18 
AnswerRe: Calling java from C# Pin
jschell11-Jan-12 9:31
jschell11-Jan-12 9:31 
QuestionHow can i perform multiple mouse clicks at the same time on desktop??? Pin
A7mad_9-Jan-12 20:59
A7mad_9-Jan-12 20:59 
AnswerRe: How can i perform multiple mouse clicks at the same time on desktop??? Pin
Wayne Gaylard9-Jan-12 22:18
professionalWayne Gaylard9-Jan-12 22:18 
GeneralRe: How can i perform multiple mouse clicks at the same time on desktop??? Pin
A7mad_16-Jan-12 0:33
A7mad_16-Jan-12 0:33 
AnswerRe: How can i perform multiple mouse clicks at the same time on desktop??? Pin
BillWoodruff10-Jan-12 6:01
professionalBillWoodruff10-Jan-12 6:01 
GeneralRe: How can i perform multiple mouse clicks at the same time on desktop??? Pin
A7mad_16-Jan-12 0:36
A7mad_16-Jan-12 0:36 
QuestionMultiThread Management Pin
Joezer BH9-Jan-12 19:37
professionalJoezer BH9-Jan-12 19:37 
AnswerRe: MultiThread Management Pin
Eddy Vluggen10-Jan-12 7:07
professionalEddy Vluggen10-Jan-12 7:07 
GeneralRe: MultiThread Management Pin
Joezer BH10-Jan-12 8:45
professionalJoezer BH10-Jan-12 8:45 
GeneralRe: MultiThread Management Pin
Pete O'Hanlon10-Jan-12 9:18
mvePete O'Hanlon10-Jan-12 9:18 
GeneralRe: MultiThread Management Pin
Joezer BH10-Jan-12 20:46
professionalJoezer BH10-Jan-12 20:46 
QuestionC# how I can sniff a process? Pin
terrinfo9-Jan-12 14:01
terrinfo9-Jan-12 14:01 

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.