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

C#

 
GeneralRe: structs as value and classes as reference??? Pin
Marc Clifton27-Jun-02 0:36
mvaMarc Clifton27-Jun-02 0:36 
GeneralRe: structs as value and classes as reference??? Pin
SimonS27-Jun-02 2:27
SimonS27-Jun-02 2:27 
GeneralRe: structs as value and classes as reference??? Pin
Andy Smith27-Jun-02 11:17
Andy Smith27-Jun-02 11:17 
GeneralRe: structs as value and classes as reference??? Pin
Feng Qin27-Jun-02 18:38
Feng Qin27-Jun-02 18:38 
QuestionWhat do you think about no global variables? Pin
Marc Clifton26-Jun-02 14:14
mvaMarc Clifton26-Jun-02 14:14 
AnswerRe: What do you think about no global variables? Pin
Chris Rickard26-Jun-02 14:47
Chris Rickard26-Jun-02 14:47 
Generalre: globals, and what about messaging? Pin
Marc Clifton27-Jun-02 0:46
mvaMarc Clifton27-Jun-02 0:46 
GeneralRe: re: globals, and what about messaging? Pin
Chris Rickard27-Jun-02 4:17
Chris Rickard27-Jun-02 4:17 
Right, System.Messaging is intended for Multi-server messaging. Its the .NET wrapper for MSMQ. As far as delegates go I believe they can be used as a replacement for many custom message scenarios. Of course they can't replace it entirely, most of the Events from System.Windows.Forms are generated in direct response from Windows Messages.

In addition, .NET does provide for generating and processing messages directly. All objects that are associated with an HWND have an overridable WndProc which is a slightly abstracted WindowProc. You can also use all the native API functions for registering custom messages and Posting messages to other windows.

Now keep in mind I'm not trying to argue that .NET (C# in this case) is ssooo much better than Win32 C++ design. Smile | :) I'm just pointing out (what I think at least Unsure | :~ ) what the .NET developers have done as alternative solutions to these common tasks that seem to be missing from the framework and C# language.
GeneralInvoke members Pin
Wizard_0126-Jun-02 5:41
Wizard_0126-Jun-02 5:41 
GeneralRe: Invoke members Pin
Chris Rickard26-Jun-02 7:44
Chris Rickard26-Jun-02 7:44 
GeneralRe: Invoke members Pin
Wizard_0126-Jun-02 8:23
Wizard_0126-Jun-02 8:23 
GeneralRe: Invoke members Pin
Chris Rickard26-Jun-02 8:26
Chris Rickard26-Jun-02 8:26 
GeneralOracle and .NET Pin
SimonS26-Jun-02 0:52
SimonS26-Jun-02 0:52 
GeneralRe: Oracle and .NET Pin
Andy Smith26-Jun-02 5:58
Andy Smith26-Jun-02 5:58 
GeneralRe: Oracle and .NET Pin
SimonS27-Jun-02 0:54
SimonS27-Jun-02 0:54 
GeneralCalling DLL's Pin
Venet25-Jun-02 23:05
Venet25-Jun-02 23:05 
GeneralRe: Calling DLL's Pin
Rüpel25-Jun-02 23:11
Rüpel25-Jun-02 23:11 
GeneralRe: Calling DLL's Pin
Zombies with Coffee, LLC26-Jun-02 4:22
professionalZombies with Coffee, LLC26-Jun-02 4:22 
GeneralRe: Calling DLL's Pin
Venet26-Jun-02 5:09
Venet26-Jun-02 5:09 
GeneralRe: Calling DLL's Pin
Zombies with Coffee, LLC26-Jun-02 5:30
professionalZombies with Coffee, LLC26-Jun-02 5:30 
GeneralRe: Calling DLL's Pin
Venet26-Jun-02 6:13
Venet26-Jun-02 6:13 
GeneralVS.Net Webforms designer - How-to Pin
alper25-Jun-02 21:20
alper25-Jun-02 21:20 
QuestionHow to dispaly "Systeminformation" dialog? Pin
Feng Qin25-Jun-02 18:15
Feng Qin25-Jun-02 18:15 
AnswerRe: How to dispaly "Systeminformation" dialog? Pin
Chris Rickard26-Jun-02 4:54
Chris Rickard26-Jun-02 4:54 
GeneralRe: How to dispaly "Systeminformation" dialog? Pin
Feng Qin26-Jun-02 16:21
Feng Qin26-Jun-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.