LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Question on the possible use of MSVC 2008 Express as a CVI 9.0 external compiler

Solved!
Go to solution

I was searching these postings looking for information on using CVI with external compilers, especially MSVC 2008, and I came across this posting from about 4 months ago:

 

"CVI 9.0 & MSVC 2008 express"

 

The title of this posting implies that the freely downloadable "express" version of MSVC can be used with CVI 9.0, but the body of the posting doesn't go into any detail.  But I would really like to know if this is possible, and I'm guessing there are others here who might be very interested as well.  Page 8 of the CVI 9.0 release notes does not indicate that the express version is supported, which makes sense.  I say this because I always thought that the "express" versions of MSVC were only for building .NET applications (C++/CLI) and not native Windows applications.  Or did this change with the release of MSVC 2008 Express?

 

There is no hurry to respond...

 

JB

--
To whom it may concern: My alias is also my nickname, I've had it since I was a (very) skinny basketball-playing teen. OK, so I've got a 38 inch waist now, but my hometown friends haven't shaken that appellation for me. I trust that you will someday be OK with that alias, as I have been with that nickname.
0 Kudos
Message 1 of 3
(3,390 Views)
Solution
Accepted by topic author JumperBones

If you've got CVI 9.0 FDS(I'm not sure about the BDS)

Select Options/Build Options

Select the ellipsis on the right of 'active compiler'

Click 'new' to create a new external compiler configuration

Select MSVC 9.0 as the template.

Choose a configuration name (what you will choose from CVI) and a destination file (where the settings for the external compiler will be stored).

Click OK

 

After that, you can easily select the level of optimisation and the level of warnings you need via "edit" in the "compiler for realease configuration" box.

 

Regards,

Nicolas

0 Kudos
Message 2 of 3
(3,367 Views)
Thank you NicoLeach,  it took me a while to make a few edits in my code to make it compile, but it worked!
--
To whom it may concern: My alias is also my nickname, I've had it since I was a (very) skinny basketball-playing teen. OK, so I've got a 38 inch waist now, but my hometown friends haven't shaken that appellation for me. I trust that you will someday be OK with that alias, as I have been with that nickname.
0 Kudos
Message 3 of 3
(3,338 Views)