LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with IGNORE_EASYTAB_64BIT_ERROR

Solved!
Go to solution

Hello

 

I'm building an old project in CVI2015 64Bit and i see a problem during the build in EasyTab.c

 

#if defined(_NI_mswin64_) && _NI_mswin64_
#ifndef IGNORE_EASYTAB_64BIT_ERROR
#error this custom control is not supported in 64-bit applications
#endif

 

The build of my project fails with the error : #error this cutom control is not supported in 64-bit applications

 

What does this mean ?

How can i solve this problem

 

thanks in advance

0 Kudos
Message 1 of 6
(5,701 Views)

Hello,

 

from the help: The easytab.fp instrument driver is not supported for 64-bit applications.

 

what does it mean: it means that the functions in this library only work for 32 bit applications, not in 64 bit applications. You can solve this problems in two ways: switch to 32 bit or replace the outdated easytab library functions by the tab control functions

0 Kudos
Message 2 of 6
(5,700 Views)
Solution
Accepted by topic author Tonnie

oke thanks

0 Kudos
Message 3 of 6
(5,603 Views)

Were you successful in changing application from 32-bit to 64-bit and get rid of the error? If so what was the strategy used to change from easy tab to Tab Control functions? Please share your few findings so it would help solve same issue so that I can kick start implementing same or similar ideas for my Application. Thanks.

0 Kudos
Message 4 of 6
(2,622 Views)

Hello

 

We don't use CVI in new project so for old project i unload easytab when i load my project and compile without errors

At the end this was enough for me

0 Kudos
Message 5 of 6
(2,612 Views)

Switching from EasyTab to native tab controls is not so difficult, since the base paradigm is the same for both: each tab page is a separate (child) panel with its own handle. Addressing controls on a tab page must be done via that handle.

Given that you have two ways:

  1. Operate in the UIR editor to incorporate the panels in a tab control. Be sure to use for the tab pages the same constant name of the original panels, retrieve the handles with GetPanelHandleFromTabPage command and test your software. Some adaptation more can be needed, but tis is the path I've followed till now and it works well
  2. Operate programmatically using the tab control the same way as the EasyTab instrument, adding panels with InsertPanelAsTabPage. I've never followed this way but I suppose it should work without major issues


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 6 of 6
(2,598 Views)