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
  • whats ijw(nish plz reply again)

    com question
    3
    0 Votes
    3 Posts
    9 Views
    S
    Grrr... you have no excuses. http://www.codeproject.com/managedcpp/nishijw01.asp http://www.codeproject.com/managedcpp/ijwscrcap.asp http://www.codeproject.com/managedcpp/cbwijw.asp http://www.codeproject.com/managedcpp/mcppshortcuts.asp --- Shog9 If I could sleep forever, I could forget about everything...
  • WindowProc

    c++ help
    2
    0 Votes
    2 Posts
    6 Views
    N
    smooth wrote: is there another way of doing this in managed c++ virtual void WndProc( Message* m ); Nish Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
  • 0 Votes
    2 Posts
    6 Views
    T
    You can definitely consume a web service without IIS, as to providing a web service I beleive they provide xml/soap messages via http, that is why they are so popular, distributed over a common protocol like http. So you are probably going to need a http server, it doesn't necessarily have to be IIS, I don't think. Soliant | email   "The whole of science is nothing more than a refinement of everyday thinking." -Albert E.
  • MC++ & C++

    csharp dotnet c++ visual-studio question
    8
    0 Votes
    8 Posts
    16 Views
    J
    You are correct. The point, however, was that the /clr switch creates a dependance on mscoree.dll whether or not you use any "managed code/data". Joel Lucsy (jjlucsy@ameritech.net)
  • CListBox::SetItemData equivalent?

    csharp html com question
    12
    0 Votes
    12 Posts
    33 Views
    N
    The ListBox control can contain any Object derived class, not simply strings. To display a value, ListBox calls the Object::ToString(), which you can override on your own types. This means that you can insert items that contain more than 32bits of "Item Data". Note for ListViews, use the ListItem "Tag" property to store user-information (of any type). This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft Corporation. All rights reserved.
  • if i want to use function of vc++

    c++ com question
    2
    0 Votes
    2 Posts
    8 Views
    N
    I presume you have a Handle which you want to convert to an HWND. HWND h =(HWND)m_Handle.ToInt32(); //m_Handle is a Handle Nish Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
  • CopyLocal Mystery in Man C++

    csharp c++ question help
    3
    0 Votes
    3 Posts
    8 Views
    N
    Your assembly needs to be registered in the GAC. To do this it first needs a "strong name", sort of like a GUID. Use SN.exe to generate a strong-name key file. In your AssemblyInfo.cpp file, specify the key file as a parameter to the AssemblyKeyFileAttribute() attribute. Rebuild your assembly. Now use Gacutil.exe to register the assembly in the GAC. This step can be done in a custom-build-step if desired. This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft Corporation. All rights reserved.
  • inhertience

    com question
    2
    0 Votes
    2 Posts
    5 Views
    N
    You don't really need to wrap CSocket. Using IJW you can use your CSocket class straight from MC++ without need for any wrappers. You only need to wrap if you plan to integrate with C# or VB.NET Nish Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
  • unzip

    c++
    3
    0 Votes
    3 Posts
    9 Views
    S
    James' solution is of course the correct way, but if you (like me :-O ) are lazy, you can instead just download Info-Zip and spawn it to do your bidding. Less flexible, and not completely .NET of course, but still a useful technique if your needs are modest... --- Shog9 If I could sleep forever, I could forget about everything...
  • mp3 playback

    2
    0 Votes
    2 Posts
    6 Views
    M
    Yes, there is. You can use DirectShow. For more information see DirectShow MediaPlayer in C# by Daniel Strigl. 43 68 65 65 72 73 2c 4d 69 63 68 61 65 6c
  • user events on any window

    com tutorial question
    2
    0 Votes
    2 Posts
    6 Views
    N
    Handle WM_KEYDOWN for keyboard events and WM_LBUTTONDOWN, WM_RBUTTONDOWN for the mouse events. Nish Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
  • csocket in managed code

    com
    2
    0 Votes
    2 Posts
    6 Views
    N
    Call GetLastError to get the error code. Regards, Nish Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
  • help in csocket code plzzzz

    c++ com help tutorial question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • csocketin managed code

    com
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • button controls for forms

    question
    2
    0 Votes
    2 Posts
    5 Views
    J
    Use a CheckBox and set the Appearance property to Appearance.Button. James
  • HWND in a Managed C++ Class Library

    c++ tutorial
    2
    0 Votes
    2 Posts
    6 Views
    N
    Did you forget a #include <windows.h> ? Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
  • hyperlink

    question
    2
    0 Votes
    2 Posts
    6 Views
    N
    smooth wrote: anyone know of a way to add a hyperlink to a form that opens a URL when clicked?? System.Windows.Forms.LinkLabel Nish Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
  • resource management

    csharp question learning workspace
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Error code (0x80131019) ??

    question csharp c++ help
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • " denotes a field where a class was expected"

    help
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied