LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build CINs with Microsoft Visual C++.NET

I would like to build a CIN with Microsoft Visual C++ .NET.
I have done all instuctions from the "external code" manual but there are always many Errors during building the project:

function error LNK2005: _DllMain@12 bereits in MSVCRT.lib(dllmain.obj) definiert

function warning LNK4006: '_DllMain@12' bereits in 'MSVCRT.lib(dllmain.obj)' definiert; zweite Definition wird ignoriert

function error LNK2001: Nichtaufgelöstes externes Symbol SetLVRTModule

function fatal error LNK1120: 1 unaufgelöste externe Verweise

function fatal error LNK1141: Fehler beim Erstellen der Exportdatei

Projekt Folgende Umgebungsvariablen konnten nicht gefunden werden:
$(WkspDir)

Does anyone know how to build a CIN in Microsoft Visua
l C++ .NET?

pilzkarl@gmx.at
0 Kudos
Message 1 of 3
(3,021 Views)
Karl,
I don't have much experience with VC++ .NET, but I found this document that might be helpful in building those CINs:
How To Create a CIN in Microsoft Visual C++.NET

Zvezdana S.
0 Kudos
Message 2 of 3
(3,021 Views)
Karl Pilz;

Try telling VC++ to ignore the MSVCRT.lib library. On Project -> Settings dialog, first set the Settings for: All Configurations. Then, select the Link tab, select Input from the Category menu, and type "MSVCRT.lib" in Ignore libraries. Click OK and try to build your application again.

Regards;
Enrique
www.visecurity.com
www.vartortech.com
0 Kudos
Message 3 of 3
(3,021 Views)