Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Retailer Absent Member.
Absent Member.
4572 views

BoundsChecker for VC 6.0 and VC 2008

Jump to solution

I have both versions.  BoundsChecker 8.11 and 10.6.

8.11 for Visual Studio 6.0

10.6 for Visual Studio 2008. 

I need to run both on the same machine / OS without uninstalling one. 

Is there a way to get the 2 BoundsChecker versions to coexist on the same machine? 

0 Likes
1 Solution

Accepted Solutions
mlevis Absent Member.
Absent Member.

RE: BoundsChecker for VC 6.0 and VC 2008

Jump to solution

No you can't have both versions installed on the same machine.

But you can use 10.6 with VS 6 just not integrated into VS 6. You can use a makefile to build with instrumentation by changing CL and LInk in the makefile to NMCL and NMLINK passing in the /nmbcon to instrument with BC.

You could also use NMDevenv passing in the project file and /nmbcon to instrument as well. After that just use the standalone version of BC on your executable.

0 Likes
4 Replies
mlevis Absent Member.
Absent Member.

RE: BoundsChecker for VC 6.0 and VC 2008

Jump to solution

No you can't have both versions installed on the same machine.

But you can use 10.6 with VS 6 just not integrated into VS 6. You can use a makefile to build with instrumentation by changing CL and LInk in the makefile to NMCL and NMLINK passing in the /nmbcon to instrument with BC.

You could also use NMDevenv passing in the project file and /nmbcon to instrument as well. After that just use the standalone version of BC on your executable.

0 Likes
Retailer Absent Member.
Absent Member.

RE: BoundsChecker for VC 6.0 and VC 2008

Jump to solution

Can you show me the lines in a sample make file?  I don;t get  the reference to NMCL and NMLink.  

Do those replace compiler and linker?   and what is /nmbcon ?

0 Likes
Rick Papo Absent Member.
Absent Member.

RE: BoundsChecker for VC 6.0 and VC 2008

Jump to solution

Yes, NMCL and NMLINK are wrappers around the compiler and linker.  They don't replace them, but they do wrap them to ensure that certain things happen at certain times.

0 Likes
mlevis Absent Member.
Absent Member.

RE: BoundsChecker for VC 6.0 and VC 2008

Jump to solution

Yes where it says CL in the makefile change it to NMCL

Where it says link change that to NMLINK

/nmbcon is a compile flag that says use BC instrumentation /nmtxon would be used for coverage analysis

CPP=cl.exe

CPP_PROJ=/nologo /MD /W3 /Gm /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /D "_AFXEXT" /Fp"$(INTDIR)\main.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"..\bin\Debug\MAIN.pdb" /FD /GZ /c

Would become

CPP=nmcl.exe

CPP_PROJ= /nmbcon /nologo /MD /W3 /Gm /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /D "_AFXEXT" /Fp"$(INTDIR)\main.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"..\bin\Debug\MAIN.pdb" /FD /GZ /c

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.