Skip to content

C#

C# discussions

This category can be followed from the open social web via the handle c-065f1d12@forum.codeproject.com

93.7k Topics 383.1k Posts
  • Drawing classes and setRop2()

    csharp graphics question
    2
    0 Votes
    2 Posts
    17 Views
    L
    i want to know function that its role is setrop2 i making drawing tool. but i didn't find it
  • Windows Service

    csharp beta-testing question
    1
    0 Votes
    1 Posts
    12 Views
    No one has replied
  • free c# certification

    csharp com
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Pronunciation of C#?

    csharp tutorial question learning
    3
    0 Votes
    3 Posts
    16 Views
    P
    No worries Youngar, I also struggled at first and I am a born and bread englishman. The # does not refer to the word "hash" (as used in numbers) as I first thought but apparently to some component of writing music (how that relates to programming I have no clue). You pronounce it "See Sharp". regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org
  • C# Performence

    csharp c++ java performance question
    2
    0 Votes
    2 Posts
    9 Views
    E
    If anybody does, it's unlikely they'll be talking about them, as the BETA2 EULA prohibits publishing benchmark results.
  • Win32 API functions

    csharp c++ json question
    2
    0 Votes
    2 Posts
    8 Views
    E
    Variable length structures aren't something you can do directly from C#; the marshaller wasn't designed to handle them. Your best bet is to write a wrapper using the Managed Extensions to C++, and then call it from C#. If you send me some email, I'll send you a powerpoint presentation and some sample code I did a while back. Eric EricGu@microsoft.com
  • C# and Win32

    csharp c++ dotnet
    2
    0 Votes
    2 Posts
    11 Views
    E
    No, all C# applications require the runtime.
  • COM Interop Problems

    com question csharp sysadmin help
    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • how to use principal permission in c#?

    csharp security tutorial question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • How can I use Message Hook?

    question csharp dotnet com
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • DirectX 8 with C#

    csharp graphics game-dev tutorial
    2
    0 Votes
    2 Posts
    14 Views
    E
    You can use DX8 from C#. Look on http://discuss.develop.com/ in the DOTNET newsgroup for a discussion; there's a problem with the DX8 typelib as shipped.
  • Hard ware requirement for VS IDE

    visual-studio question csharp hardware business
    3
    0 Votes
    3 Posts
    15 Views
    E
    More RAM is definitely more important than CPU speed. I like 256MB, though 512MB can also make in improvement in speed (and RAM is pretty cheap these days).
  • Where could I get C# language ? please

    csharp com question
    2
    0 Votes
    2 Posts
    18 Views
    M
    The only available implementation of C# is in Visual Studio.NET Beta 1
  • initialization/startup/config info in C#

    question csharp workspace
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • pointers to member functions

    help
    2
    0 Votes
    2 Posts
    10 Views
    E
    If you need to be totally free-form in your functions, you'll want to use reflection to call the functions. Type.InvokeMember will probably do what you want, but be warned that it's fairly slow, as it has to do a lot of work to figure out what function you want to call. If your problem has enough regularity in the number and types of parameters, you could write a delegate for each function type, store those in a hashtable, and then look them up based on the function name. This would be a lot faster than using reflection, but more work.
  • C# editor or devlopment environment

    csharp beta-testing help workspace
    2
    0 Votes
    2 Posts
    16 Views
    A
    Here are the ones I know of: Visual Studio.NET and SlickEdit
  • C# Applet Like Functionality

    csharp question lounge
    3
    0 Votes
    3 Posts
    16 Views
    N
    You can develop applet like functionality by developing controls with WinForms. You can deploy them like ActiveX controls on web pages, in Internet Explorer 5.5 and above. See http://www.gotdotnet.com/team/windowsforms/iesourcing.aspx for more.
  • Menu Handler in MDI Child

    question csharp c++
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • about message use C#

    csharp tutorial question
    2
    0 Votes
    2 Posts
    14 Views
    L
    Why would you want to use this? In .NET, messages are a platform thing. Try creating your own custom event instead. Rich.T.
  • 0 Votes
    3 Posts
    19 Views
    L
    Just being new is not generally enough. There have been enough new technologies over the last few years to boggle even the most capacitive mind. The benefits of C# for COM developers are best viewed in the broader discussion of the CLR: The IL that .NET compilers generate (and which the CLR executes) is easier to generate and resolves to more optimizable code than Java ByteCode offers :cool:. But even more importantly for traditional Windows developers, the CLR offers several benefits, not least of which is that the code your normal compilers generate is (usually) tuned against the lowest common denominator (typically the 80386) - with the CLR, it compiles code specifically tuned against the processor of the machine on which the code is run. This will result in a performance increase which will more than compensate for the small performance penalty exacted by the protection and safety mechanisms provided by the CLR's execution engine (which do provide an immesurably more reliable environment for your apps). At the end of the day, as a COM developer (particularly if you're a C++ dev-head), the chances are that you spend more than 60% of any project writing and maintaining plumbing code. In C# (or any other .NET supported language) most of the plumbing goes away, leaving you to write your applications rather than custom marshallers etc. Once you've spent more than a few days coding in C#, you'll never go back. Enjoy! :-D Rich.T.