🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
5 messages
5 total messages Started by Daryl Sat, 11 Mar 2006 02:49
Location of wbemuuid.lib and its use
#4164
Author: Daryl
Date: Sat, 11 Mar 2006 02:49
5 lines
1004 bytes
Hi
Can anyone describe how to use wbemuuid.lib in a program.

thanks
daryl
Re: Location of wbemuuid.lib and its use
#4165
Author: Remy Lebeau (TeamB)
Date: Sat, 11 Mar 2006 03:17
10 lines
1053 bytes
"Daryl" <developeracc@hotmail.com> wrote in message
news:4412399c@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
Re: Location of wbemuuid.lib and its use
#4166
Author: Daryl
Date: Sat, 11 Mar 2006 05:45
23 lines
1410 bytes
> 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
Re: Location of wbemuuid.lib and its use
#4167
Author: Michel Leunen
Date: Sat, 11 Mar 2006 10:39
21 lines
1628 bytes
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/
----------------------------------------
Re: Location of wbemuuid.lib and its use
#4169
Author: Darko Miletic
Date: Sat, 11 Mar 2006 16:04
24 lines
2323 bytes
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).
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads