IonicWind Software

IWBasic => General Questions => Topic started by: King64 on January 09, 2010, 10:55:39 AM

Title: External error
Post by: King64 on January 09, 2010, 10:55:39 AM
Trying to translate the Sapero's code http://www.ionicwind.com/forums/index.php/topic,246.0.html (http://www.ionicwind.com/forums/index.php/topic,246.0.html) from Aurora in Ebasic i got the following error

Compiling...
CWMI2.eba
No Errors

Linking...
Emergence Linker v1.11 Copyright ÂÃ,© 2006 Ionic Wind Software
Unresolved external _IID_IWbemLocator
Error: Unresolved extern _IID_IWbemLocator
Error: Unresolved extern _CLSID_WbemLocator
Error(s) in linking C:......\EBasic\CWMI2.exe


where IID_IWbemLocator and _CLSID_WbemLocator are defined as

EXTERN _CLSID_WbemLocator AS GUID
EXTERN _IID_IWbemLocator AS GUID

Any idea ?  ???
Title: Re: External error
Post by: sapero on January 09, 2010, 11:49:30 AM
Hi King64, use any file manager (with find in files option) to find it :) Unfortunately Ebasic find-in-files tool requires ascii files, so it fails to find it.
Your symbols were found in ebasic\libs\sdk\WbemUuid.lib, add the following line somewhere in your code:
$use "sdk\\WbemUuid.lib"
If you don't have this file, download and install the SDK headers pak (for Ebasic) from the home page (http://www.ionicwind.com/index.php?option=com_remository&Itemid=42&func=select&id=11), or try to grab more recent version from the latest page in this (http://www.ionicwind.com/forums/index.php/topic,633.msg27689.html#msg27689) thread.
Title: Re: External error
Post by: King64 on January 09, 2010, 01:12:30 PM
TY Sapero. File downloaded. I'm going to code .  ;D