Coding resources
- Why Visual C++ 6.0?
- Visual C++ 6.0 quick guide
- Obtaining Visual Studio:
- Resources for current students (restricted access,
not open to the public)
-
MagicDisc is one of several free virtual CDROM emulators
- Visual Studio is available on university lab machines (in library, Martin,
etc.) under Departmental Applications -> CES -> Microsoft Visual Studio
- Microsoft Dreamspark
is one way for students to download the latest Microsoft IDE
- The MSDN on-line help
contains extremely helpful documentation on the Win32 API and MFC.
-
Rename a VC++ project
- Common VC++ 6.0 problems:
- VS6.0 on Vista and Windows 7:
- VS6.0 is
not supported on Vista or later operating systems. However, it seems
to work fine on 32-bit versions.
- To install on Vista, right-click on the file and select "Run as
Administrator". Do this even if you are already Adminstrator. When the
installation on Vista says that it is unsuccessful, just ignore the warning;
it should work just fine. When running the program on Vista, there many
be a warning saying that it is not compatible. Just ignore the warning.
-
Visual Studio 6 on Vista
- Some users have been
successful installing and using VS6.0 on vista64. Others complain
that installing VS6.0 on 64-bit Vista breaks the control panel.
- Installing a virtual machine for Windows XP is one way to avoid the
incompatibility problem with Vista.
- During installation, message that you need to update Java library then
reboot. This was seen on a machine borrowed from the library. No known
solution.
- On Vista, program won't link. Cannot create project.exe. By
default, VC++ 6.0 puts projects in a directory like C:/Program Files/Microsoft
Visual Studio/MyProjects/. But on Vista, when you try to navigate to
this directory, it does not exist. How VC++ can create a project that
can compile (even though it does not link) in a directory that does not exist
is beyond me. But the solution is simple: Create a new project in
a directory that does exist.
- Compiling:
- To get rid of warnings, #pragma warning ( disable : 4786 )
- Linking:
- Program won't link. Make sure under Project Settings that 'Use MFC
in shared DLL' is checked.
- Running your program:
- cannot find .dll files; maybe you put a space in your path by accident?
- To load macros into Visual Studio 6.0:
- Load macro file
- Click Tools.Macros.Options.Loaded Files.Browse
- Select cvl-macros.dsm (or your own file). Be sure checkbox next to
file is checked.
- Set keyboard shortcuts
- Click Tool.Customize.Keyboard.Category.Macros
- For each macro, select it, press the keystroke combination mentioned in
the description into the window entitled, "Press new shortcut key", then
press Assign
- Exit Visual Studio to save settings
- Learning C++: