October 31, 2025, 12:23:50 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


External error

Started by King64, January 09, 2010, 10:55:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

King64

Trying to translate the Sapero's code 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 ?  ???

sapero

January 09, 2010, 11:49:30 AM #1 Last Edit: January 09, 2010, 11:58:28 AM by sapero
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, or try to grab more recent version from the latest page in this thread.

King64

TY Sapero. File downloaded. I'm going to code .  ;D