Skip to content

Managed C++/CLI

Discussions on Managed Extensions for Visual C++ .NET

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

4.4k Topics 14.9k Posts
  • OnKeyPress oddity

    c++ question
    18
    0 Votes
    18 Posts
    51 Views
    N
    Rama Krishna wrote: BTW don't you love the rating you got for the new article. Yeah, about twice as much as my usual :-) Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • How can I add a splash screen to my porject?

    question csharp c++ com
    8
    0 Votes
    8 Posts
    22 Views
    N
    chaolong wrote: wannt know how you study programming? Would you like to give me some advice? You can ask this in the Lounge where more experienced people will answer you. I am not such a good programmer. Not even as good as I myself thought. I lack proper OOP theory and stuff like that. I am learning too. People here are real nice and helpful. So you'll soon get answers to your problems :-) Nish :-) Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • Do I have to use pointers only?

    c++ csharp question
    6
    0 Votes
    6 Posts
    19 Views
    N
    ****Alexpro wrote: Thanks! I better lookup in the documentation to see the difference between refernce types and value types! Have fun :-) Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • MC++?

    csharp c++ help tutorial question
    15
    0 Votes
    15 Posts
    42 Views
    L
    I believe a good programmer uses the best tools for the job, and MC++ is a good tool. Al PS Even with the garbage collection is a good idea to manage your memory
  • A stupid question

    c++ question csharp
    2
    0 Votes
    2 Posts
    8 Views
    N
    Nope! VC++ .NET includes MC++, MFC 7, ATL 7, Plain API etc. Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • Managed C++ Chat Server Problem

    c++ sysadmin help question lounge
    2
    0 Votes
    2 Posts
    7 Views
    N
    random looser wrote: Well the problem is i can't send to client unless he sends a request because I can't acces the Objects individually what to do? I might have misunderstood you, but is your problem that of passing values to your thread? If so read this article :- http://www.codeproject.com/useritems/mcppthreads01.asp Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • MC++ wrapping mytesries

    csharp c++
    4
    0 Votes
    4 Posts
    14 Views
    J
    int doesn't exist in .NET , the closest is "native int" used with p/invoke and com interop scenarios ... The System.Int32 is the real datatype , int is simply a "alias". For real interop with different languages used with the same project we should use the real ones, not the fakes , it's helps a lot :-) I'm be reading about IL code generation and CLR internals , and in fact .NET is a fascinating beast :omg: Microsoft have done a great work :-D Cheers, Joao Vaz A person who is nice to you, but rude to the waiter, is not a nice person - Natalie Portman (Padme/Amidala of Star Wars)
  • Reading web services

    csharp c++ wcf xml question
    5
    0 Votes
    5 Posts
    14 Views
    N
    James T. Johnson wrote: The SoapClientWebProtocol yadda yadda yadda does all the dirty work Really complicated bit of code. Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • Blasted web service stays in memory

    c++ debugging performance question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Help Needed

    help question
    2
    0 Votes
    2 Posts
    8 Views
    N
    Did your teacher tell you that you can also do it in Managed C++??? Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • Help - unmanaged threads and IJW DLL

    c++ help question csharp dotnet
    5
    0 Votes
    5 Posts
    14 Views
    L
    Thanks for the advice, but unfortunately this will not work either. QQLListener is the base class of a subject-observer design pattern, it must be inherited by a derived class so that the callback methods inside it are called. I suppose there is no way to use my old C++ library with the .net framework. I think it's not quite as "compatible" as they claim.
  • Issue about Sockets

    help
    3
    0 Votes
    3 Posts
    10 Views
    L
    Thanx for that i'll surely look into it
  • MC++ controls

    c++ question
    9
    0 Votes
    9 Posts
    25 Views
    N
    Albert Pascual wrote: Now when I use the C# DLL I need to make sure the DLL is in the compilers path and the exe path. I just change the output folder Yeah, sorta sucks!!! Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • Microsoft bug?

    c++ help csharp question
    6
    0 Votes
    6 Posts
    19 Views
    N
    Albert Pascual wrote: have received an email from MS letting me know its fixed in the next version of the compiler! That's cool! I didnt think MS would this responsive :-) Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • MC++ control in a C# form :-(

    c++ csharp
    4
    0 Votes
    4 Posts
    13 Views
    N
    Rama Krishna wrote: Basically you have to click on the reference and set copy local to false. Cool! Also had to copy the DLL to the output directory :-) Rama Krishna wrote: Rama Krishna Self professed King of Managed C++ Maybe not kind yet, but you are the crowned prince :-) Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • IJW or P/Invoke

    csharp c++ com performance
    6
    0 Votes
    6 Posts
    20 Views
    N
    Madhu _Cheriyedath wrote: I was talking about the /clr switch in C++ compiler options. Thanks. Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • 0 Votes
    2 Posts
    4 Views
    A
    Fixed! namespace FrontEnd must be reserved. I changed the name and it works just fine!! Now I can create C# front ends and still use MC++ for my programs!! Awesome. I am still waiting for Microsoft to create a UI for Forms for MC++ Al:mad:
  • Newbie in trouble with MC++

    c++ algorithms question
    12
    0 Votes
    12 Posts
    30 Views
    N
    Nick Parker wrote: It's ok if it doesn't, I used to have a C++ instructor regularly use words that don't exist (Spell Check would point them out in PowerPoint), he just told us that was the best way he could explain it. Oh :-) Thanks Nick Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
  • .NET via unmanaged C++ COM

    debugging csharp c++ com regex
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Making DLLs

    csharp question
    2
    0 Votes
    2 Posts
    8 Views
    N
    If you have VS.NET, then simply use the wizard to create a Managed C++ Class Library and that's it. Just don't give a main or a wmain anywhere :-) Nish Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.