Thread overview
PSAPI & DMC++
Jun 27, 2005
Matthew
Jun 27, 2005
Walter
Jun 27, 2005
Matthew
Jun 27, 2005
Jan Knepper
Jun 28, 2005
Matthew
Aug 27, 2005
Matthew
Aug 29, 2005
Jan Knepper
Aug 29, 2005
Matthew
Dec 22, 2005
Matthew
June 27, 2005
Has anyone used PSAPI with DMC++?

Is support for PSAPI scheduled for the distribution?



June 27, 2005
"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?


June 27, 2005
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?
>
> 


June 27, 2005
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
June 28, 2005
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


August 27, 2005
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
>
> 


August 29, 2005
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
August 29, 2005
> 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


December 22, 2005
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?