Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

Unable to compile VIX Programs

$
0
0

Hi,

 

I installed vix api 1.8 in my machine and wrote some sample programs in C. Im using Visual Studio 2005 Microsoft Visual Studio 2005

 

 

 

"Version 8.0.50727.762  (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727 nstalled Edition: Professional". I can able to compile the programs without wrapper library(using Vix.lib and vix.dll). The problem in this is i must copy lot of dll file in the excutable location. So i decided to compile with wrapper library(VixAllProducts.lib). But Its giving lot of link error like

 

 

 

===================================================================================================

 

Error    225    error LNK2019: unresolved external symbol __imp___localtime64 referenced in function _localtime    VixAllProducts.lib

Error    226    error LNK2001: unresolved external symbol __imp___localtime64    VixAllProducts.lib

Error    227    error LNK2019: unresolved external symbol __imp___fstat64i32 referenced in function _fstat    VixAllProducts.lib

Error    228    error LNK2001: unresolved external symbol __imp___fstat64i32    VixAllProducts.lib

Error    229    error LNK2019: unresolved external symbol __imp__write referenced in function _LogWriteTagString    VixAllProducts.lib

Error    230    error LNK2001: unresolved external symbol __imp__write    OLDNAMES.lib

Error    231    error LNK2019: unresolved external symbol __imp__getpid referenced in function _LogWriteTagString    VixAllProducts.lib

Error    232    error LNK2001: unresolved external symbol __imp__getpid    VixAllProducts.lib

:

 

 

:

 

 

:

Error    326    error LNK2019: unresolved external symbol __imp__feof referenced in function StdIOReadNextLine    VixAllProducts.lib

Error    327    error LNK2019: unresolved external symbol __imp__wcsdup referenced in function WMIGetWMIObjectAttributeAsStringArray    VixAllProducts.lib

Error    328    error LNK2001: unresolved external symbol __imp__wcsdup    OLDNAMES.lib

Error    329    error LNK2019: unresolved external symbol __imp___snwprintf referenced in function WMIQueryWMIObjectEnum    VixAllProducts.lib

Error    330    error LNK2001: unresolved external symbol __imp___getpid    OLDNAMES.lib

Error    331    error LNK2001: unresolved external symbol __imp___dup2    OLDNAMES.lib

Error    332    error LNK2001: unresolved external symbol __imp___wcsdup    OLDNAMES.lib

Error    333    fatal error LNK1120: 67 unresolved externals    E:\sampleVCproj\vmware\Debug\vmware.exe

=============================================================

 

 

 

I have added all the required librarys (wsock32.lib, shell32.lib, Ws2_32.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib) but no luck.

 

 

 

 

 

 

 

 

 

Can Any one give me the solution how to compile with wrapper library... or any document link.

 

 

 

 

 

 

 

 

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 34639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>