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 V
isual C++ .NET?

pilzkarl@gmx.at
0 Kudos
Message 1 of 2
(2,920 Views)
Why not use a DLL instead of a CIN? Then, in LabView, use Call Library Function Node instead of Code Interface Node. MSVC can easily build a DLL and has many references on DLL's. CIN's seem to be an older thing unique to LabView.
Message 2 of 2
(2,920 Views)