LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 5.5.1 incomptabile with CVI 6 / LabVIEW 6.1?

We have a project which is developed in CVI 5.5.1. This project contains a login panel with a password control. During execution of the function "PasswordCtrl_ConvertFromString" we get an error stating a dereference of an invalid pointer.

The project compiles and works fine on a machine which has only CVI 5.5.1 installed. The same project compiles fine but produces the above error on all machines which have in addition LabVIEW 6.1 with CVI RTE 6.0.5.150 installed.
For test we copied the files cvi*.dll from the system32 folder of the CVI only machine to the machine with LabVIEW. This did not work due to some conflicts with other DLLs.

has anyone else dicoverd this problem and found a solution?

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 1 of 3
(3,122 Views)
Hello

I currently have win2k, cvi 5.5 and 6, LabVIEW 6 and 6.1 installed on my machine, and I tried running the example for the password control, and I didnt get any error. You can find the example in the CVI folder under samples\userint\custctrl\password. Try running that and see if you get the same problem. If this still occurs, I would recommend talking to an Applications Engineer about this by going to ni.com/ask, and generating a service request from there. You can better describe your problem while talking to the engineer and see if there is something amiss.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(3,122 Views)
Dear Bilal,

I have tested the example and found that it works. I compared the example with our code and detected some differences:

1. In our code we have following includes

#include "pwctrl.c"
#include "toolbox.c"

the example uses

#include "pwctrl.h"

instead.

2. In the example project the is pwctrl.fp included.

If I change our project to use the same includes and project settings it works.

One reason for this situation maybe is:
We started the project with CVI 5.0.1 and didn't change our sources by upgrading to CVI 5.5.1. Maybe there were some upgrade notes concerning this issue but my developer has them ignored.

Thanks for your help,
Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 3 of 3
(3,122 Views)