Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual C++

Visual C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpdotnettutorial
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jacobb Michael
    wrote on last edited by
    #1

    Hi all, I want to develop a small demo.exe which runs in the client system with out .Net Framework and any other dependencies is it possible to get this through Visual C++ projects. Please guide me some one. thanks in advance

    _ 1 Reply Last reply
    0
    • J Jacobb Michael

      Hi all, I want to develop a small demo.exe which runs in the client system with out .Net Framework and any other dependencies is it possible to get this through Visual C++ projects. Please guide me some one. thanks in advance

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      That depends on the type of project you're creating and the library functions that you're calling. For example, if you're creating a simple UI application using MFC, set the project properties to statically kink against the MFC DLLs. Project Properties -> Configuration Properties -> General -> Use of MFC -> Use MFC in a Static Library

      «_Superman_» I love work. It gives me something to do between weekends.
      Microsoft MVP (Visual C++)

      J 1 Reply Last reply
      0
      • _ _Superman_

        That depends on the type of project you're creating and the library functions that you're calling. For example, if you're creating a simple UI application using MFC, set the project properties to statically kink against the MFC DLLs. Project Properties -> Configuration Properties -> General -> Use of MFC -> Use MFC in a Static Library

        «_Superman_» I love work. It gives me something to do between weekends.
        Microsoft MVP (Visual C++)

        J Offline
        J Offline
        Jacobb Michael
        wrote on last edited by
        #3

        Thank you Friend, Can you help me how to invoke the DLL/EXE that is developed in C# from Win32 C++ appliction Thanks again

        _ 1 Reply Last reply
        0
        • J Jacobb Michael

          Thank you Friend, Can you help me how to invoke the DLL/EXE that is developed in C# from Win32 C++ appliction Thanks again

          _ Offline
          _ Offline
          _Superman_
          wrote on last edited by
          #4

          Here are a few links - http://www.codeproject.com/KB/COM/nettocom.aspx http://www.blong.com/Conferences/BorConUK2002/Interop2/COMNetInterop.htm#CCW

          «_Superman_» I love work. It gives me something to do between weekends.
          Microsoft MVP (Visual C++)

          J 1 Reply Last reply
          0
          • _ _Superman_

            Here are a few links - http://www.codeproject.com/KB/COM/nettocom.aspx http://www.blong.com/Conferences/BorConUK2002/Interop2/COMNetInterop.htm#CCW

            «_Superman_» I love work. It gives me something to do between weekends.
            Microsoft MVP (Visual C++)

            J Offline
            J Offline
            Jacobb Michael
            wrote on last edited by
            #5

            Hi Thanks Again Is it possible to access the DLL/EXE without making a COM object For Example: Just Execute an EXE from the C++ project( like starting a separate Process) thanks.

            _ 1 Reply Last reply
            0
            • J Jacobb Michael

              Hi Thanks Again Is it possible to access the DLL/EXE without making a COM object For Example: Just Execute an EXE from the C++ project( like starting a separate Process) thanks.

              _ Offline
              _ Offline
              _Superman_
              wrote on last edited by
              #6

              If you only want to execute an EXE, you can use http://msdn.m[^]icrosoft.com/en-us/library/ms682425(VS.85).aspx to do this. To access a C# DLL from C++, you will still need to create a COM Callable Wrapper (CCW).

              «_Superman_» I love work. It gives me something to do between weekends.
              Microsoft MVP (Visual C++)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups