Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Location of wbemuuid.lib and its use

10 views
Skip to first unread message

Daryl

unread,
Mar 10, 2006, 9:49:34 PM3/10/06
to
Hi
Can anyone describe how to use wbemuuid.lib in a program.

thanks
daryl


Remy Lebeau (TeamB)

unread,
Mar 10, 2006, 10:17:29 PM3/10/06
to

"Daryl" <develo...@hotmail.com> wrote in message
news:4412...@newsgroups.borland.com...

> Can anyone describe how to use wbemuuid.lib in a program.

What exactly do you want to know? Please be more specific.


Gambit


Daryl

unread,
Mar 11, 2006, 12:45:28 AM3/11/06
to
> What exactly do you want to know? Please be more specific.
>
Remy
I would like to use an extract of code that I got from msdn that uses the
Windows Management Instrumentation classes. I am interested in getting
network information.

The code has:
#define _WIN32_DCOM
#include <iostream>
using namespace std;
#include <comdef.h>
#include <Wbemidl.h>

# pragma comment(lib, "wbemuuid.lib")

#pragma argsused
int main(int argc, char* argv[]) {
...
The problem is that I can't find the library "wbemuuid.lib", can you help?

thanks
daryl

Michel Leunen

unread,
Mar 11, 2006, 5:39:09 AM3/11/06
to
Daryl wrote:

> The problem is that I can't find the library "wbemuuid.lib", can you help?

You can only find this lib file as part of the Microsoft Platform SDK.
But since it's a MS lib file, it's unusable with BCB.
You're best bet is to go to

http://sourceforge.net/projects/bccsdk/

which is a project maintained by Darko Miletic aiming at providing
missing lib files for BCB.

Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------

Darko Miletic

unread,
Mar 11, 2006, 11:04:12 AM3/11/06
to
Michel Leunen wrote:
> You're best bet is to go to
>
> http://sourceforge.net/projects/bccsdk/
>
> which is a project maintained by Darko Miletic aiming at providing
> missing lib files for BCB.

I definitely need to update project description.

In fact the real purpose of the project is to make available latest MS
Platform SDK (with some other separate SDK's included ) for both older
and latest Borland compilers, meaning all headers, idl files and of
course static and import lib files. This was needed because Borland
itself shipped SDK update with newer versions of compiler. So who did
not want or could not purchase newer version was stuck with what was
shipped with compiler. I consider that wrong decision and by starting
this open source project I wanted to give chance a community of
developers to update and maintain this specific fork of Platform SDK
hence prolonging the life of the compiler usage.

At this point complete Platform SDK (windows 2003 SP1 version + SAPI 5.1
SDK) is adjusted for Borland compilers (headers / idl files) but some
static and import libs are still missing (not too much though).

0 new messages