I wrote the DLL that is attached below and am trying to call the Connect function from it. Labview give me an error that it is trying to access memory 0x0000000 that can not be read. Does anyone know where my problem lies. The DLL is created and compiled with Borland C++.