Click here to Skip to main content
15,912,578 members
Home / Discussions / C#
   

C#

 
AnswerRe: aspx's page_load firing multiple times Pin
CWIZO16-Mar-06 2:15
CWIZO16-Mar-06 2:15 
QuestionReflect entire Class Hierarchy Pin
Abbatoir15-Mar-06 23:12
Abbatoir15-Mar-06 23:12 
AnswerRe: Reflect entire Class Hierarchy Pin
Vikram A Punathambekar16-Mar-06 0:02
Vikram A Punathambekar16-Mar-06 0:02 
QuestionDrag outlook contacts into my app Pin
NewbieDude15-Mar-06 22:38
NewbieDude15-Mar-06 22:38 
AnswerRe: Drag outlook contacts into my app Pin
J4amieC15-Mar-06 23:44
J4amieC15-Mar-06 23:44 
GeneralRe: Drag outlook contacts into my app Pin
NewbieDude16-Mar-06 0:05
NewbieDude16-Mar-06 0:05 
Questiondatabase Pin
fmardani15-Mar-06 22:28
fmardani15-Mar-06 22:28 
AnswerRe: database Pin
J4amieC15-Mar-06 22:36
J4amieC15-Mar-06 22:36 
Questiondatagridview cells Pin
CandyMe15-Mar-06 21:32
CandyMe15-Mar-06 21:32 
AnswerRe: datagridview cells Pin
Bobby88716-Mar-06 12:03
Bobby88716-Mar-06 12:03 
GeneralRe: datagridview cells Pin
CandyMe16-Mar-06 22:31
CandyMe16-Mar-06 22:31 
QuestionImport outlook contacts Pin
NewbieDude15-Mar-06 21:21
NewbieDude15-Mar-06 21:21 
QuestionC++ guy missing pointers Pin
BadKarma15-Mar-06 21:20
BadKarma15-Mar-06 21:20 
AnswerRe: C++ guy missing pointers Pin
V.15-Mar-06 21:52
professionalV.15-Mar-06 21:52 
GeneralRe: C++ guy missing pointers Pin
BadKarma15-Mar-06 21:59
BadKarma15-Mar-06 21:59 
GeneralRe: C++ guy missing pointers Pin
V.15-Mar-06 22:14
professionalV.15-Mar-06 22:14 
GeneralRe: C++ guy missing pointers Pin
BadKarma15-Mar-06 23:27
BadKarma15-Mar-06 23:27 
AnswerRe: C++ guy missing pointers Pin
J4amieC15-Mar-06 22:26
J4amieC15-Mar-06 22:26 
GeneralRe: C++ guy missing pointers Pin
BadKarma15-Mar-06 23:13
BadKarma15-Mar-06 23:13 
Thanks for the response.

I see few problems with this approach.

1. The Formatter has to know the structure of the Data object this will lead to difficulties when I need to support multiple non-inherented classes Data1, Data2;

2. This alsoo breaks security when the modifier of the member is protected or private, here it needs to be public. Or can I make the two class friend of each other.

3. I'm not sure about this one, but isn't there a Garbage collection issue. I mean both objects point to each other. But I can only 'delete' one (Set the Data object = null)

In c++ i'm used to pass only the data that the other class needs to know/change.
If it only was a function I could pass the string with the ref or out token.
But i need to store it for later processing.
I'm really stuck here Sniff | :^)

codito ergo sum
GeneralRe: C++ guy missing pointers Pin
J4amieC15-Mar-06 23:42
J4amieC15-Mar-06 23:42 
AnswerRe: C++ guy missing pointers Pin
mcljava17-Mar-06 5:03
mcljava17-Mar-06 5:03 
QuestionWhy is my inherited window forms control deleted Pin
Tony_Joh15-Mar-06 21:15
Tony_Joh15-Mar-06 21:15 
QuestionDataSet Problem Pin
Ali Zubairy15-Mar-06 18:58
Ali Zubairy15-Mar-06 18:58 
QuestionIP ADDRESS - Problem Pin
Jijo BP15-Mar-06 18:27
Jijo BP15-Mar-06 18:27 
AnswerRe: IP ADDRESS - Problem Pin
Guffa15-Mar-06 18:36
Guffa15-Mar-06 18:36 

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.