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. Managed C++/CLI
  4. C++ to MC++ testing

C++ to MC++ testing

Scheduled Pinned Locked Moved Managed C++/CLI
c++dotnetcsharptestingbeta-testing
2 Posts 2 Posters 4 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.
  • Y Offline
    Y Offline
    ydasari
    wrote on last edited by
    #1

    Good morning I am trying to port c++/MFC application to .net framework using MC++. With \clr option, everything works fine. But I am not very confident that it is the way as the object are not GC compatible yet. What i wanted to know is .....is there a way i can test with accuracy that it is going to work on any platform? (that is with out problems) Can anyone tell me how? If not, then is re-writing the code in MC++ the only alternative (this shud take lot of time)? I mean how is it simple as MS says to convert. Iam very new to .net, or new to windows programming itself. Your suggestions will be very valuable. Thanks Yogi KISS.

    J 1 Reply Last reply
    0
    • Y ydasari

      Good morning I am trying to port c++/MFC application to .net framework using MC++. With \clr option, everything works fine. But I am not very confident that it is the way as the object are not GC compatible yet. What i wanted to know is .....is there a way i can test with accuracy that it is going to work on any platform? (that is with out problems) Can anyone tell me how? If not, then is re-writing the code in MC++ the only alternative (this shud take lot of time)? I mean how is it simple as MS says to convert. Iam very new to .net, or new to windows programming itself. Your suggestions will be very valuable. Thanks Yogi KISS.

      J Offline
      J Offline
      Joel Lucsy
      wrote on last edited by
      #2

      If you simply compile you app with /clr and add no __gc classes or use and __gc classes, then you haven't use the CLR at all. The /clr will add a dependancy to the application so that it won't run on a machine that doesn't have the .NET runtime installed. If all you're doing is /clr with nothing else, it's not worth using the /clr. Only use the /clr if you going to use any of the clr objects or routines. Joel Lucsy (jjlucsy@ameritech.net)

      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