www.digitalmars.com         C & C++   DMDScript  

c++ - PSAPI & DMC++

reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Has anyone used PSAPI with DMC++?

Is support for PSAPI scheduled for the distribution?
Jun 26 2005
next sibling parent reply "Walter" <newshound digitalmars.com> writes:
"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
news:d9njhi$k7d$1 digitaldaemon.com...
 Has anyone used PSAPI with DMC++?

 Is support for PSAPI scheduled for the distribution?
What is PSAPI?
Jun 26 2005
parent "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Process Status API. Various functions for enumerating and 
controlling aspects of Win32 processes. I've just written 
pid_sequence and process_module_sequence classes for STLSoft 1.8.4, 
and want to get compatibility with DMC++. At the moment, they're 
marked as not being.

"Walter" <newshound digitalmars.com> wrote in message 
news:d9nv3h$s4l$1 digitaldaemon.com...
 "Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
 news:d9njhi$k7d$1 digitaldaemon.com...
 Has anyone used PSAPI with DMC++?

 Is support for PSAPI scheduled for the distribution?
What is PSAPI?
Jun 26 2005
prev sibling next sibling parent reply Jan Knepper <jan smartsoft.us> writes:
Yes!

www.visualshield.com

Jan


Matthew wrote:
 Has anyone used PSAPI with DMC++?
 
 Is support for PSAPI scheduled for the distribution?
 
 
 
-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Jun 27 2005
parent reply "Matthew" <admin.hat stlsoft.dot.org> writes:
Have you converted the libs and/or headers? Are they available? Can they be put
into the DMC++ distro

"Jan Knepper" <jan smartsoft.us> wrote in message
news:d9ph8i$2cp7$1 digitaldaemon.com...
 Yes!

 www.visualshield.com

 Jan


 Matthew wrote:
 Has anyone used PSAPI with DMC++?

 Is support for PSAPI scheduled for the distribution?
-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Jun 28 2005
parent reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Any further thoughts on this?

"Matthew" <admin.hat stlsoft.dot.org> wrote in message 
news:d9rn4a$1bo2$1 digitaldaemon.com...
 Have you converted the libs and/or headers? Are they available? 
 Can they be put into the DMC++ distro

 "Jan Knepper" <jan smartsoft.us> wrote in message 
 news:d9ph8i$2cp7$1 digitaldaemon.com...
 Yes!

 www.visualshield.com

 Jan


 Matthew wrote:
 Has anyone used PSAPI with DMC++?

 Is support for PSAPI scheduled for the distribution?
-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Aug 26 2005
parent reply Jan Knepper <jan smartsoft.us> writes:
Matthew wrote:
 Any further thoughts on this?
 
 "Matthew" <admin.hat stlsoft.dot.org> wrote in message 
 news:d9rn4a$1bo2$1 digitaldaemon.com...
 
Have you converted the libs and/or headers? Are they available? 
Can they be put into the DMC++ distro

"Jan Knepper" <jan smartsoft.us> wrote in message 
news:d9ph8i$2cp7$1 digitaldaemon.com...

Yes!

www.visualshield.com

Jan


Matthew wrote:

Has anyone used PSAPI with DMC++?

Is support for PSAPI scheduled for the distribution?
-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Just LoadLibrary it... I do not think it is available on all platforms, .e. 95/98 -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Aug 29 2005
parent "Matthew" <matthew hat.stlsoft.dot.org> writes:
 Matthew wrote:
 Any further thoughts on this?
"Jan Knepper" <jan smartsoft.us> wrote in message news:deup8t$2hne$1 digitaldaemon.com...
 Just LoadLibrary it... I do not think it is available on all platforms,
 .e. 95/98
Seems a bit arbitrary, for just one compiler vendor, when trying to provide compiler-independent libraries. Since this is a pretty useful, and *old*, library, I can't see any good reason why DMC++ cannot support it. I'd be happy to provide some of the effort, if Walter'll indicate it'd be fruitful Matthew
Aug 29 2005
prev sibling parent "Matthew" <matthew hat.stlsoft.dot.org> writes:
FYI: This issue is now moot. STLSoft 1.9.1, whose beta 1 is now available
from http://stlsoft.org/downloads.html#stlsoft_1_9_1b1, includes the new
dl_call() functions, which allow dynamic functions to be invoked in a
natural, single-statement, form.

Hence, in cases such as PSAPI, where DMC++ is missing headers and/or import
libraries, one can just use dl_call() instead, as in:

DWORD pids[100];
DWORD cbRetrieved;
BOOL bSuccess = winstl::dl_call<BOOL>("PSAPI", "stdcall:EnumProcesses",
&pids[0], sizeof(pids), &cbRetrieved);

(Feel free to post any related questions on the STLSoft newsgroup.)

Cheers

Matthew



"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
news:d9njhi$k7d$1 digitaldaemon.com...
 Has anyone used PSAPI with DMC++?

 Is support for PSAPI scheduled for the distribution?
Dec 21 2005