Re: 2.7 thoughts: common well-architected object model

Valdis.Kletnieks
2003-10-11T18:46:53Z

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

On Sat, 11 Oct 2003 11:34:05 PDT, asdfd esadd said:

> pid_t fork(void); vs.
>
> the next step in the evolution CreateProcess
>
> BOOL CreateProcess(
> LPCTSTR lpApplicationName,
> LPTSTR lpCommandLine,
> LPSECURITY_ATTRIBUTES lpProcessAttributes,
> LPSECURITY_ATTRIBUTES lpThreadAttributes,
> BOOL bInheritHandles,
> DWORD dwCreationFlags,
> LPVOID lpEnvironment,
> LPCTSTR lpCurrentDirectory,
> LPSTARTUPINFO lpStartupInfo,
> LPPROCESS_INFORMATION lpProcessInformation
>
> evolved to .Net Process Class
>
> System.Object
> System.MarshalByRefObject
> System.ComponentModel.Component
> System.Diagnostics.Process
> [C#]
> public class Process : Component
> [C++]
> public __gc class Process : public Component

Thanks for the example of why it's a bad idea.

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]