Click here to Skip to main content
15,923,051 members
Home / Discussions / C#
   

C#

 
Questionneed help!!! i'm desperate Pin
knight_sky5-Jan-06 18:38
knight_sky5-Jan-06 18:38 
AnswerRe: need help!!! i'm desperate Pin
leppie5-Jan-06 20:26
leppie5-Jan-06 20:26 
AnswerRe: need help!!! i'm desperate Pin
Colin Angus Mackay5-Jan-06 20:52
Colin Angus Mackay5-Jan-06 20:52 
AnswerRe: need help!!! i'm desperate Pin
BruceN7-Jan-06 2:14
BruceN7-Jan-06 2:14 
Questionproblem with Threading Pin
ekynox5-Jan-06 18:34
ekynox5-Jan-06 18:34 
AnswerRe: problem with Threading Pin
S. Senthil Kumar6-Jan-06 3:28
S. Senthil Kumar6-Jan-06 3:28 
GeneralRe: problem with Threading Pin
ekynox6-Jan-06 11:49
ekynox6-Jan-06 11:49 
QuestionDesign Issue: Class Library and State Pin
mcljava5-Jan-06 18:32
mcljava5-Jan-06 18:32 
I have an interesting problem that I am looking for some advice on. Basically I have a protocol library, where each PDU is a class. Thus the library is a collection of individual classes that are stateless.

Meanwhile, I have a need to aquire some housekeeping info via a one time register function. I'd like for this function to make the housekeeping info persistent or semi-persistent so that thet data would be available to the other classes as they are instantiated.

Now, I could use XML to write out persistant data but the overhead in file I/O seems quite underdesirable in a near real time application. I could write a value to the Registry, but again there is a performance hit. Finally I have considered kicking off a thread which the instantiated classes could interrogate but that feels over the top.

If only you could create a Shared Memory Region like the good ol' days (just kidding). But if you have tackled a similar problem, or know of an elegant approach please let me know. Thanks in advance!

Mike
AnswerRe: Design Issue: Class Library and State Pin
Colin Angus Mackay5-Jan-06 21:02
Colin Angus Mackay5-Jan-06 21:02 
GeneralRe: Design Issue: Class Library and State Pin
J4amieC5-Jan-06 21:22
J4amieC5-Jan-06 21:22 
GeneralRe: Design Issue: Class Library and State Pin
mcljava6-Jan-06 2:56
mcljava6-Jan-06 2:56 
QuestionQuick ideas for activation Pin
Alex Korchemniy5-Jan-06 14:56
Alex Korchemniy5-Jan-06 14:56 
AnswerRe: Quick ideas for activation Pin
Dave Kreskowiak6-Jan-06 3:10
mveDave Kreskowiak6-Jan-06 3:10 
Questioncrossing bounds rearrangement Pin
s o v a n n5-Jan-06 14:51
s o v a n n5-Jan-06 14:51 
QuestionPack references in an executable? Pin
ika25-Jan-06 14:15
ika25-Jan-06 14:15 
AnswerRe: Pack references in an executable? Pin
leppie5-Jan-06 20:43
leppie5-Jan-06 20:43 
GeneralRe: Pack references in an executable? Pin
ika26-Jan-06 2:02
ika26-Jan-06 2:02 
AnswerRe: Pack references in an executable? Pin
Uwe Keim6-Jan-06 1:51
sitebuilderUwe Keim6-Jan-06 1:51 
QuestionSystem.Windows.Form equivalent of PeekMessage() Pin
Ravi Bhavnani5-Jan-06 13:31
professionalRavi Bhavnani5-Jan-06 13:31 
AnswerRe: System.Windows.Form equivalent of PeekMessage() Pin
joe carbone5-Jan-06 23:47
joe carbone5-Jan-06 23:47 
GeneralRe: System.Windows.Form equivalent of PeekMessage() Pin
Ravi Bhavnani6-Jan-06 1:36
professionalRavi Bhavnani6-Jan-06 1:36 
QuestionFile Operations Pin
dvsr5-Jan-06 12:07
dvsr5-Jan-06 12:07 
AnswerRe: File Operations Pin
mav.northwind5-Jan-06 12:26
mav.northwind5-Jan-06 12:26 
Questionnewbee ques Pin
Manu_815-Jan-06 9:30
Manu_815-Jan-06 9:30 
AnswerRe: newbee ques Pin
Christian Graus5-Jan-06 10:26
protectorChristian Graus5-Jan-06 10:26 

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.