Re: 2.7 thoughts: common well-architected object model

From: Valdis . Kletnieks
Date: Sat Oct 11 2003 - 13:48:23 EST


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: pgp00001.pgp
Description: PGP signature