From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

__security_check_cookie

Solved!
Go to solution

Hello -,

 

I am trying to develop a data acquistion/collection using CVI/LabWindows 8.1.

I added all the required include and lib files.

But I get error in linking.

The link errors is about "security_cookie", and "security_check_cookie".

I tried to disable it using the compiler flag "/GS-", but didn't work.

I need your help please.

I attached a png file with the errors.

 

Thank you for responding me promptly.

 

Farideh

0 Kudos
Message 1 of 5
(4,675 Views)

Hello Farideh,

 

Try including in the project niDCPower.fp rather than nidcpower.lib. According to this it is located in <IVIROOTDIR32>\Drivers\niDCPower\niDCPower.fp

Also this article suggest inlcuding bufferoverflowU.lib. See if you have this lib.

 

Constantin

0 Kudos
Message 2 of 5
(4,663 Views)

Hi Constantin,

 

Once I added the instrument file "nidcpower.fp", the CVI 8.1 complained that it cannot read the format of the function panel with an older version of CVI.

The NIDCPower driver I installed is 15.5 version.

 

What version of NIDCPower should I install with CVI 8.1?.

 

Thanks.

As well the bufferoverflowU.lib was found and did not resolve the issue with Security_cookie.


Thanks again.

Farideh

0 Kudos
Message 3 of 5
(4,654 Views)

Hello Farideh,

 

Indead, in the readme it says NI-DCPower 15.1 supports LabWindows™/CVI™ 2012 or later. It seems that version 1.4 is the last one that suports CVI 8.1. Version 1.5 supports LabWindows™/CVI™ 8.1.1 or later. If you have CVI 8.1.1 you can use NI-DCPower 1.6

 

Constantin

 

 

0 Kudos
Message 4 of 5
(4,637 Views)
Solution
Accepted by topic author ffarahnak

Hello ,

 

Thank you for assisting me in resolving the issue. It is being resolved.

 

Thank you again. Kudos.

 

Farideh

0 Kudos
Message 5 of 5
(4,553 Views)