__security_check_cookie

-Hello,

I am developing a collection/acquisition of data using CVI/LabWindows 8.1.

I added all required include and lib files.

But I get the error in the binding.

Errors of link speaks of 'security_cookie' and 'security_check_cookie '.

I tried to turn it off using the compiler indicator ' / GS - ", but did not work.

I need your help please.

I've attached a file png with errors.

Please answer me quickly.

Farideh

Hello

Thanks for helping me to solve the problem. It is resolved.

Thank you once again. Bravo.

Farideh

Tags: NI Software

Similar Questions

  • East - viable to preduce a cyapi.lib dll that is cmpiled by c ++ that can called by labview?

    Now I'm tring to make a dll with cyapi.lib, so labview can call the function for conneting usb device (cy68013 produced by Cypress company), but I'm not sure that this way is viable.
    This my simple code to translate cyapi.lib to cyapi.dll:
    #include "typedef.h".
    #include "CyAPI.h".
    #pragma comment(lib,"CyAPI.lib")

    extern bool _declspec (dllexport) Open_0 (void);

    CCyUSBDevice * USBDevice = new CCyUSBDevice();

    bool Open_0()
    {

    return USBDevice-> Open (0);   get a funtion that can open device 0
    }
    the link error is the following:
    The compilation...
    CyAPI.cpp
    Which connects...
    Creating object Debug/MainDLL.exp and library Debug/MainDLL.lib
    CyAPI.lib (CyAPI.obj): error LNK2001: unresolved external symbol ___security_cookie
    CyAPI.lib (CyAPI.obj): error LNK2001: unresolved external symbol symbol @__security_check_cookie@4
    CyAPI.lib (CyAPI.obj): error LNK2001: symbol ___CxxFrameHandler3 unresolved external
    CyAPI.lib (CyAPI.obj): error LNK2001: symbol __EH_epilog3 unresolved external
    CyAPI.lib (CyAPI.obj): error LNK2001: symbol __EH_prolog3 unresolved external
    CyAPI.lib (CyAPI.obj): error LNK2001: symbol __EH_epilog3_GS unresolved external
    CyAPI.lib (CyAPI.obj): error LNK2001: symbol __EH_prolog3_GS unresolved external

    I think maybe the reason is Ihaven can't initialize all the variable used in the cyapi.lib or there is something wrong in VC development environment.

    Can someone help me?

    If it is compiled with c#, then it is a .NET assembly. To use it, you simply use the .NET features in LabVIEW. You should have received a few examples of programs with it. Essentially, you need to do the same thing that made the example program, but you use LabVIEW .NET to do. There is with LabVIEW provided examples on how to use .NET. In most cases, it is easier to use than to try to call a DLL 'normal '.

Maybe you are looking for