LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

compatibility 32 bit application to 64 bits / Application error LWTCPJSOCKWNDYCLASS

Solved!
Go to solution
Hello 

I have developed a test application on a 32-bit PC with LabWindows CVI V6 and would like to run on a PC with Windows 7 64 bit. I tried to install it, but when I run my application the following error message appears: "LWTCPJSOCKWNDYCLASS: MyApplication.exe - Application Error - The application failed to start properly (Oxc0000142)" .

Is this a problem due of compatibility with 32-bit / 64 bit?

if so how do I proceed to make it compatible with this new PC?

 

Thank you for your help
0 Kudos
Message 1 of 10
(6,178 Views)
did you try using the latest CVI runtime?
0 Kudos
Message 2 of 10
(6,174 Views)

Dear Wofgang,

 

No I haven't try with the latest CVI Runtime. Where can i find it ?

 

Thank you

0 Kudos
Message 3 of 10
(6,150 Views)
on NI's web site; search for support / driver and updates / CVI; here is a page with the link: http://joule.ni.com/nidu/cds/view/p/id/1525
0 Kudos
Message 4 of 10
(6,148 Views)

Dear Wolfgang,

 

I've just try with the CVI RUNTIME updated, but it does'nt work any more. Do you have another idea ?

 

 

Regards

0 Kudos
Message 5 of 10
(6,082 Views)
Solution
Accepted by topic author LY_assistance
sorry that it wasn't successful. Are you using any other software such as GPIB, VISA,...? If so, you might want to check the NI site if you need to upgrade the corresponding drivers...
Message 6 of 10
(6,065 Views)
If the Windows 7 PC is already running a newer version of the Run-time engine, you might try checking the "Install in Application Directory" as the "Run-Time Engine Install Location" on the computer you build with.  Newer versions of the CVI Run-time engine are supposed to be backwards compatible but I've occasionally run into issues.  On the other hand, I did recently run into a minor problem with FileSelectPopup() using the 7.1.1 Run-Time engine on Windows 7 so you could very well run into other problems.
0 Kudos
Message 7 of 10
(6,014 Views)

Dear Wofgang,

 

Thank you for your last message, I've updraded the GPIB software and it's run well.

 

Regards

0 Kudos
Message 8 of 10
(5,946 Views)
Thankyou TSTANLEY for your help.
0 Kudos
Message 9 of 10
(5,944 Views)

I have an old working code environment.

It was rebuilt with appropriate changes for Visual Studio 2010. 

The Whole package was rebuilt on the appropraite test set with VS 2010 and CVI 9.0 runtime present.

When I try to launch a dynamic binding version of the code the following error occurs.

 

LWTCPJSOCKWNDYCLASS:  TestApplication.exe  -  Application Error

The exception unknown software exception(0xc0000417) occurred in the application at location 0x78b2ae6e

 

If I launch a non dynamic version it gets past this error and runs intializations but terminates with a memory error later.

 

The dynamic version does not do this at my desk PC where I dont even have instruments to talk too????

But it quits do to missing instruments to initialize.

The VS2003/cvi 7.1  build build works fine from the same directory????

0 Kudos
Message 10 of 10
(4,781 Views)