C to Visual C++.Net
-
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
-
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
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
-
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
Christian Graus wrote: Any C program should run in VC++, including VC++.NET Not C99 (ISO/IEC 9899:1999) programs. ;P 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
Oh, yeah. I forgot about that. :doh: Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
Oh, yeah. I forgot about that. :doh: Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
:-D Maxwell Chen
-
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
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
-
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
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