AnsweredAssumed Answered

Image Handling

Question asked by VRFuser on May 10, 1998
Hello Vee world !

I'm trying to develop a driver for the brand new HP M Module (HP E2259A)
but I have problem to compile it.
It's not HP Vee stuff, but maybe one of you has already a driver or any
advice to give ... (see below for more details)

Pierre-Eric DEREUX
--------------------------------
Bell Helicopter Textron Canada
Engineering
12800 rue de l'Avenir
Mirabel (Qc)
J7J 1R4 Canada
Tel. : (514) 971 6731
Fax : (514) 437 6382
PDereux@bellhelicopter.textron.com

---------- CUT HERE --------------------------------------
REFERENCES :
     [1] HP E2259A User's Manual and programming guide
     [2] HP 2251A User's Manual

PROBLEM :
I'm trying to reuse the program examples given in the doc. in reference
but I get a link error when compiling.
I use :
  MS Visual C++ 5.0
  Windows NT 4.0 SP3
  HP I/O Libraries for Windows 95 and Windows NT Release D.02.00
  VISA Library version 1.0.

* MS Visual C++ settings :
The source is the one given pages 34 and 35 of doc. [1], with
corrections of bugs (missing ';'; typing errors 'err_status' instead of
'errStatus' ....)

The compiler target is a win32 console application, not using MFC. The
projext options are :
/nologo /MLd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D
"_MBCS" /Fp"Debug/M_Module.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /c

The Tools/Options/Directories added are the pathes to
vxipnpwinntlibmsc, vxipnpwinntinclude, siclc

* Error message :
Deleting intermediate files and output files for project 'M_Module -
Win32 Debug'.
--------------------Configuration: M_Module - Win32
Debug--------------------
Compiling...
M_Module.c
Linking...
M_Module.obj : error LNK2001: unresolved external symbol _viClose@4
M_Module.obj : error LNK2001: unresolved external symbol _viOut16@16
M_Module.obj : error LNK2001: unresolved external symbol _viIn16@16
M_Module.obj : error LNK2001: unresolved external symbol _viOpen@20
M_Module.obj : error LNK2001: unresolved external symbol
_viOpenDefaultRM@4
Debug/M_Module.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

M_Module.exe - 6 error(s), 0 warning(s)

 



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Outcomes