www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - PSAPI & DMC++

↑ ↓ ← "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
"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
↑ ↓ → "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
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
↑ ↓ "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
↑ ↓ "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
↑ ↓ 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



.e. 95/98 -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Aug 29 2005
↑ ↓ → "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
→ "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