Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
3 ratings:
 3.33 out of 5     Rate this Document

Why Do I Get an "unhandled exception" When I Compile My CAN Project in Visual C++ 6.0?

Primary Software: Driver Software>>NI-CAN
Primary Software Version: 1.3
Primary Software Fixed Version: N/A
Secondary Software:

Problem: Why do I get an "unhandled exception" when I compile my CAN project in Visual C++ 6.0?

Solution: If you upgrade to Visual C++ 6.0, then you may find that passing a string literal, such as "CAN0", results in an "unhandled exception" error in the nican.dll. This only happens, if you compile your application as a debug version. This problem does not show up, if you compile your application as a release version.

This problem is fixed with NI-CAN version 1.5 or later.

Follow the provided link and download the latest version of NI-CAN.

Related Links: KnowledgeBase: 1JBF01MU: My NI-CAN Example Program Crashes in MSVC++ Debug Mode
Drivers and Updates: NI-CAN Version 1.6 for Windows

Attachments:





Report Date: 11/04/1999
Last Updated: 05/31/2002
Document ID: 1R36QERM

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit