Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: Circular Reference Hell! Pin
RFickling6-Nov-04 13:30
RFickling6-Nov-04 13:30 
QuestionI need a simulator for ..........? Pin
Sakkijha6-Nov-04 11:38
Sakkijha6-Nov-04 11:38 
AnswerRe: I need a simulator for ..........? Pin
tom_dx6-Nov-04 11:51
tom_dx6-Nov-04 11:51 
GeneralRe: I need a simulator for ..........? Pin
Sakkijha6-Nov-04 12:03
Sakkijha6-Nov-04 12:03 
GeneralRe: I need a simulator for ..........? Pin
tom_dx6-Nov-04 13:12
tom_dx6-Nov-04 13:12 
AnswerRe: I need a simulator for ..........? Pin
Christian Graus7-Nov-04 15:31
protectorChristian Graus7-Nov-04 15:31 
Questioncan't get two EXEs to share the same DLL? Pin
vista276-Nov-04 11:16
vista276-Nov-04 11:16 
AnswerRe: can't get two EXEs to share the same DLL? Pin
Colin Angus Mackay6-Nov-04 12:59
Colin Angus Mackay6-Nov-04 12:59 
vista27 wrote:
Is this because both EXEs are using their own copy of the DLL, and not REALLY sharing the same DLL?

Although DLLs allow you to share the same code between two applications the data isn't shared. Hence the event fired in one EXE is not picked up by the other EXE.

vista27 wrote:
How can I achieve the behavior desired?

I have to admit never having needed to do this. The closest I've ever got is a web application making a change in a database and a Service process checking the database periodically to see if there is any new data. The event of the web application is picked up in the service which is a similar scenario, but the service spends most of its time asleep and only polls the database once a minute.

How soon does the event need to be picked up? If a wait of a minute is acceptable then something similar to my previous solution may work for you also.

Although I have not used it, Message Queues may be what you are looking for. MSMQ - Overview[^]. C#: A Message Queuing Service Application[^]


Do you want to know more?


AnswerRe: can't get two EXEs to share the same DLL? Pin
Dave Kreskowiak6-Nov-04 17:14
mveDave Kreskowiak6-Nov-04 17:14 
AnswerRe: can't get two EXEs to share the same DLL? Pin
Peff6-Nov-04 17:25
Peff6-Nov-04 17:25 
QuestionDetect Server Software (i.e. Apache)? Pin
Justin Garrick6-Nov-04 8:47
Justin Garrick6-Nov-04 8:47 
QuestionIdentify this form? Pin
Justin Garrick6-Nov-04 8:03
Justin Garrick6-Nov-04 8:03 
AnswerRe: Identify this form? Pin
tom_dx6-Nov-04 8:16
tom_dx6-Nov-04 8:16 
GeneralRe: Identify this form? Pin
Justin Garrick6-Nov-04 8:44
Justin Garrick6-Nov-04 8:44 
GeneralRe: Identify this form? Pin
tom_dx6-Nov-04 11:50
tom_dx6-Nov-04 11:50 
GeneralBoreland C# personal edition Pin
Underhillron6-Nov-04 5:42
Underhillron6-Nov-04 5:42 
GeneralRe: Boreland C# personal edition Pin
Pooria Madani6-Nov-04 8:04
Pooria Madani6-Nov-04 8:04 
GeneralRe: Boreland C# personal edition Pin
yoaz6-Nov-04 22:16
yoaz6-Nov-04 22:16 
GeneralRe: Boreland C# personal edition Pin
Christian Graus7-Nov-04 15:33
protectorChristian Graus7-Nov-04 15:33 
Generaldifference of GDI+ & OpenGL Pin
visitsaadi6-Nov-04 4:40
visitsaadi6-Nov-04 4:40 
GeneralRe: difference of GDI+ & OpenGL Pin
Christian Graus7-Nov-04 15:35
protectorChristian Graus7-Nov-04 15:35 
GeneralTcpClient - waiting for connection Pin
quilkin6-Nov-04 4:19
quilkin6-Nov-04 4:19 
GeneralRe: TcpClient - waiting for connection Pin
jahawkins6-Nov-04 4:56
jahawkins6-Nov-04 4:56 
GeneralRe: TcpClient - waiting for connection Pin
quilkin6-Nov-04 5:23
quilkin6-Nov-04 5:23 
GeneralRe: TcpClient - waiting for connection Pin
Stefan Troschuetz6-Nov-04 12:43
Stefan Troschuetz6-Nov-04 12:43 

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.