Makd,
Are you trying to build this dll from the same directory as you used in CVI 5.x? When a project is built, and the debug configuration is selected, there are several other files that are created which hold the debugging info...
Try deleting the *.cdb file in the same dir as the project (assuming that this was last successfully built with CVI 5.x) Also there is probably a directory of the same name as your dll target title... Try deleting this dir as well, thereby forcing CVI to regenerate it.
If however, as you suggest, CVI crashes while you are just trying to compile this file, I would guess that you have a dodgy CVI installation, as normally if a problem is encountered during compilation, all that happens is a error box appears... You could ma
ybe try modifying some of the compilation options in the build options menu... maybe try minimising the warnings etc to see if anything changes. One last thought... are you using the same code compatibility model as previous? (borland, microsoft etc.) again, that shouldn't cause a crash, but it's another idea...
Regards
JB