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. C to Visual C++.Net

C to Visual C++.Net

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpdelphiquestion
7 Posts 3 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.
  • G Offline
    G Offline
    gyrogearloose
    wrote on last edited by
    #1

    I'd like to convert the C programs found in "Controling the world With Your PC" to Visual C++.Net programs. I have the dll for Win2000,XP and need sort of a starting point to the prodess. Ideas, tips? An exsample even ? :-) I did old QB & a little pascal. Got VB.Net and VC++.Net on the computer. Thanks Gyrogearloose

    C 1 Reply Last reply
    0
    • G gyrogearloose

      I'd like to convert the C programs found in "Controling the world With Your PC" to Visual C++.Net programs. I have the dll for Win2000,XP and need sort of a starting point to the prodess. Ideas, tips? An exsample even ? :-) I did old QB & a little pascal. Got VB.Net and VC++.Net on the computer. Thanks Gyrogearloose

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Any C program should run in VC++, including VC++.NET. What problems are you having ? The most likely one is that a project you create will have precompiled headers turned on, and you'll need to turn them off, or create a stdafx.h file and include it everywhere. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

      M G 2 Replies Last reply
      0
      • C Christian Graus

        Any C program should run in VC++, including VC++.NET. What problems are you having ? The most likely one is that a project you create will have precompiled headers turned on, and you'll need to turn them off, or create a stdafx.h file and include it everywhere. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

        M Offline
        M Offline
        Maxwell Chen
        wrote on last edited by
        #3

        Christian Graus wrote: Any C program should run in VC++, including VC++.NET Not C99 (ISO/IEC 9899:1999) programs. ;P Maxwell Chen

        C 1 Reply Last reply
        0
        • M Maxwell Chen

          Christian Graus wrote: Any C program should run in VC++, including VC++.NET Not C99 (ISO/IEC 9899:1999) programs. ;P Maxwell Chen

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Oh, yeah. I forgot about that. :doh: Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

          M 1 Reply Last reply
          0
          • C Christian Graus

            Oh, yeah. I forgot about that. :doh: Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

            M Offline
            M Offline
            Maxwell Chen
            wrote on last edited by
            #5

            :-D Maxwell Chen

            1 Reply Last reply
            0
            • C Christian Graus

              Any C program should run in VC++, including VC++.NET. What problems are you having ? The most likely one is that a project you create will have precompiled headers turned on, and you'll need to turn them off, or create a stdafx.h file and include it everywhere. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

              G Offline
              G Offline
              gyrogearloose
              wrote on last edited by
              #6

              Well, yes that sounds like that will be the next problem and answer. If I try to use (open project) from the start page, it only shows exstentions for the VB.Net that I have on the computer with the C++. It doesn't show C++ exstentions at all. If however I click on a file like duolphase.C , it will display it in visual studio but there are no controls avalable to edit the program. I mean no tabs, no controls at all. I tryed to set options-environment but found nothing refering to the start page that made any difference. The only thing I can figure is I'll have to type it in as a new project and go from there. Like the header file thing you mentioned. Wander what would happen if I rename xxxxxx.C to xxxxxx.cs ?? :-) Tryed posting in the VS forum but no answer as yet. In case your wandering, yes there is a comercial app in the works and a gui-servo&stepper motor app for public domain. Thanks for the help. Gyrogearloose

              G 1 Reply Last reply
              0
              • G gyrogearloose

                Well, yes that sounds like that will be the next problem and answer. If I try to use (open project) from the start page, it only shows exstentions for the VB.Net that I have on the computer with the C++. It doesn't show C++ exstentions at all. If however I click on a file like duolphase.C , it will display it in visual studio but there are no controls avalable to edit the program. I mean no tabs, no controls at all. I tryed to set options-environment but found nothing refering to the start page that made any difference. The only thing I can figure is I'll have to type it in as a new project and go from there. Like the header file thing you mentioned. Wander what would happen if I rename xxxxxx.C to xxxxxx.cs ?? :-) Tryed posting in the VS forum but no answer as yet. In case your wandering, yes there is a comercial app in the works and a gui-servo&stepper motor app for public domain. Thanks for the help. Gyrogearloose

                G Offline
                G Offline
                gyrogearloose
                wrote on last edited by
                #7

                AAAhhh I got it! Use main menue not the open project tab. File-open-openfile After it opens in the environment use start without debug . Using Start brings up an error message about it being an a bynary code it don't know. Then it will try to run, ( mixed results) but it does run. Renaming the file didn't seem to make any difference. Soooo this means the next step is to type it into a new project so debug can handle it. Small steps guys,small steps. Gota keep reading this forum. Tons of info. Gyrogearloose

                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