Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000668 [Nexus Portal] Host feature N/A 2010-07-17 06:16 2010-09-01 17:04
Reporter tcaduto View Status public  
Assigned To hdanzl
Priority normal Resolution fixed  
Status QA Testing   Product Version 3.64
Summary 0000668: Consider changing the result of rtcStartProcess
Description The current rtcStartProcess returns a dword from the PROCESS_INFORMATION record for the PID, but it would be better if it returned the entire PROCESS_INFORMATION this would make it easier to use with waitforsingleobject.

the pid can be then retieved list this:
pid:=rtcStartProcess(format('%s %s',[hostname,logger_address])).dwProcessId;

returning the PROCESS_INFORMATION record would just be more flexible.
Additional Information
Attached Files

- Relationships

- Notes
(0000276)
hdanzl (administrator)
2010-09-01 17:04

Changed to

function rtcStartProcess(strProcess: string; out piOut: PProcessInformation): DWord;

piOUT needs to be nil or point to a valid memory location. In case of piOUT being <> nil the process information is copied into that structure. In that case the caller needs to make sure to call CloseHandle on the thread and process handles of the returned structure.

- Issue History
Date Modified Username Field Change
2010-07-17 06:16 tcaduto New Issue
2010-07-17 06:16 tcaduto Status new => assigned
2010-07-17 06:16 tcaduto Assigned To => hdanzl
2010-08-06 07:05 hdanzl Target Version => 3.66
2010-09-01 17:04 hdanzl Note Added: 0000276
2010-09-01 17:04 hdanzl Status assigned => QA Testing
2010-09-01 17:04 hdanzl Resolution open => fixed
2010-09-01 17:04 hdanzl Fixed in Version => 3.66


Mantis 1.1.0a3[^]
Copyright © 2000 - 2007 Mantis Group
36 total queries executed.
33 unique queries executed.
Powered by Mantis Bugtracker