Visual Basic 6 (c++)
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Visual Basic 6 (c++)
I was wondering if anyone knows how to add the visual basic 6 c++ compiler/build command to the tools menu. More specifically, what programs in the visual basic folder should I chose for TextPad in order for this to happen. Thanks.
Re: Visual Basic 6 (c++)
The compiler .exe file is C2.exe and can be found in the directory in which you installed VB eg: C:\Program Files\Microsoft Visual Studio\VB98\c2.exe would be the default for VB6.
AFAIK the compiler takes the same cmd line args as the VC++ compiler, as it's basically the same program.
AFAIK the compiler takes the same cmd line args as the VC++ compiler, as it's basically the same program.
Re: Visual Basic 6 (c++)
In my C:\Program Files\Microsoft Visual Studio\VB98 directory, there is no c2.exe file. I did a search on my computer to look for c2.exe and it did not find that file at all. Nonetheless, I can still do a build within my Microsoft Visual C++ program. Is there another name for the file I am trying to look for? Once again, I am looking for the file (or batch file) that will simulate the "build command" or F7 key function in Microsoft Visual C++. Thanks again.
Re: Visual Basic 6 (c++)
I think the file I am looking for is "CL.EXE" Anyway, if this is the wrong file, could someone please correct me and point me to the right file.
Additionally, what additional setup parameters or options do I need to do or initialize in order for it to successfully compile and build? When I setup CL.EXE fro the tools menu and run it on my MFC program, I just get an "Exit Code 128." I just need TextPad to build my C++ files like Microsoft Visual C++ does with the compiler/linker on its default settings. Also, will the build tool also work for Windows MFC programs? Thanks in advance to anyone for their help.
Additionally, what additional setup parameters or options do I need to do or initialize in order for it to successfully compile and build? When I setup CL.EXE fro the tools menu and run it on my MFC program, I just get an "Exit Code 128." I just need TextPad to build my C++ files like Microsoft Visual C++ does with the compiler/linker on its default settings. Also, will the build tool also work for Windows MFC programs? Thanks in advance to anyone for their help.