Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
GeneralSNMP Provider for WMI Pin
thematt26-Nov-02 7:20
thematt26-Nov-02 7:20 
GeneralRe: SNMP Provider for WMI Pin
J.Liss26-Nov-02 13:58
J.Liss26-Nov-02 13:58 
GeneralRe: SNMP Provider for WMI Pin
thematt27-Nov-02 7:10
thematt27-Nov-02 7:10 
GeneralRe: SNMP Provider for WMI Pin
J.Liss27-Nov-02 7:29
J.Liss27-Nov-02 7:29 
Generalowner draw of listview and treeview Pin
Shaun Wilde26-Nov-02 3:21
Shaun Wilde26-Nov-02 3:21 
GeneralRe: owner draw of listview and treeview Pin
Matze26-Nov-02 5:29
Matze26-Nov-02 5:29 
GeneralRe: owner draw of listview and treeview Pin
Stephane Rodriguez.26-Nov-02 5:36
Stephane Rodriguez.26-Nov-02 5:36 
Questioncan c# have object* ? Pin
Anonymous26-Nov-02 2:49
Anonymous26-Nov-02 2:49 
every c#'s object like a pointer in c++. But How can i get a pointer point to pointer (**) in c#?

I just work on a undo/redo engine in my c# application.
For example, there is two type of object to be edit in application

class A
{
string aa;
}

class B
{
int bb;
}

The edit operation change the many objects of type A or type B.
I hope to build a stack of object to store the string aa and int bb. Two objects to be cloned, one before the edit operation, another after it.

If the only way to change a memeber of a object is xx.yy = zz, i find it impossible to do the undo. Because i have to know the parent object (A or B) and which type of it (A or B) and judge in code whether to use aa or bb.

I doubt whether reflection ability in c# can help me.

But in c++ style, it is very easy to use object*. something like
*orgin = cloneBefore
or
*orgin = cloneAfter

Do i make some mistake? Please give me some suggestion!!
or any undo/redo engine written by c# or java in the world?
AnswerRe: can c# have object* ? Pin
leppie26-Nov-02 6:26
leppie26-Nov-02 6:26 
AnswerRe: can c# have object* ? Pin
Eric Gunnerson (msft)26-Nov-02 9:38
Eric Gunnerson (msft)26-Nov-02 9:38 
GeneralRe: can c# have object* ? Pin
Anonymous26-Nov-02 14:51
Anonymous26-Nov-02 14:51 
GeneralRe: can c# have object* ? Pin
Eric Gunnerson (msft)27-Nov-02 12:46
Eric Gunnerson (msft)27-Nov-02 12:46 
AnswerRe: can c# have object* ? Pin
Andy Smith27-Nov-02 16:24
Andy Smith27-Nov-02 16:24 
GeneralNONCLIENTMETRICS marshalling Pin
Matze25-Nov-02 20:31
Matze25-Nov-02 20:31 
GeneralRe: NONCLIENTMETRICS marshalling Pin
leppie25-Nov-02 22:49
leppie25-Nov-02 22:49 
GeneralRe: NONCLIENTMETRICS marshalling Pin
Matze25-Nov-02 23:07
Matze25-Nov-02 23:07 
GeneralRe: NONCLIENTMETRICS marshalling Pin
Stephane Rodriguez.25-Nov-02 23:48
Stephane Rodriguez.25-Nov-02 23:48 
GeneralRe: NONCLIENTMETRICS marshalling Pin
Matze26-Nov-02 0:16
Matze26-Nov-02 0:16 
GeneralRe: NONCLIENTMETRICS marshalling Pin
Anonymous26-Nov-02 5:19
Anonymous26-Nov-02 5:19 
GeneralRe: NONCLIENTMETRICS marshalling Pin
leppie26-Nov-02 8:23
leppie26-Nov-02 8:23 
GeneralRe: NONCLIENTMETRICS marshalling Pin
Richard Deeming26-Nov-02 6:21
mveRichard Deeming26-Nov-02 6:21 
GeneralRe: NONCLIENTMETRICS marshalling Pin
Matze26-Nov-02 19:27
Matze26-Nov-02 19:27 
GeneralRe: NONCLIENTMETRICS marshalling Pin
Richard Deeming26-Nov-02 22:38
mveRichard Deeming26-Nov-02 22:38 
GeneralRe: NONCLIENTMETRICS marshalling Pin
Matze14-Dec-02 0:50
Matze14-Dec-02 0:50 
GeneralNeed help for my IRC Client Pin
Shock The Dark Mage25-Nov-02 16:21
Shock The Dark Mage25-Nov-02 16:21 

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.