Re: [fpc-devel] FPC for minimal Win-32

2011-03-25 Thread Mark Morgan Lloyd
Sven Barth wrote: Am 25.03.2011 13:10, schrieb José Mejuto: Hello FPC, Thursday, March 24, 2011, 10:19:09 PM, you wrote: Or simply create a dummy "oleaut32.dll" which exports the same functions prototypes without doing nothing (empty functions) and drop that DLL in the same folder as the exe.

Re: [fpc-devel] FPC for minimal Win-32

2011-03-25 Thread Sven Barth
Am 25.03.2011 13:10, schrieb José Mejuto: Hello FPC, Thursday, March 24, 2011, 10:19:09 PM, you wrote: Or simply create a dummy "oleaut32.dll" which exports the same functions prototypes without doing nothing (empty functions) and drop that DLL in the same folder as the exe. SB> But then you

Re[2]: [fpc-devel] FPC for minimal Win-32

2011-03-25 Thread José Mejuto
Hello FPC, Thursday, March 24, 2011, 10:19:09 PM, you wrote: >> Or simply create a dummy "oleaut32.dll" which exports the same >> functions prototypes without doing nothing (empty functions) and drop >> that DLL in the same folder as the exe. SB> But then you must not use FPC for that DLL as the

Re: [fpc-devel] FPC for minimal Win-32

2011-03-24 Thread Mark Morgan Lloyd
Sven Barth wrote: On 24.03.2011 21:38, José Mejuto wrote: Hello FPC, Thursday, March 24, 2011, 9:10:10 PM, you wrote: SB> You don't need to rebuild FPC itself, but you need to modify the RTL. SB> Three functions from oleaut32 are included for Windows compatible SB> widestring management.

Re: [fpc-devel] FPC for minimal Win-32

2011-03-24 Thread Sven Barth
On 24.03.2011 21:38, José Mejuto wrote: Hello FPC, Thursday, March 24, 2011, 9:10:10 PM, you wrote: SB> You don't need to rebuild FPC itself, but you need to modify the RTL. SB> Three functions from oleaut32 are included for Windows compatible SB> widestring management. As FPC has a fallbac

Re[2]: [fpc-devel] FPC for minimal Win-32

2011-03-24 Thread José Mejuto
Hello FPC, Thursday, March 24, 2011, 9:10:10 PM, you wrote: SB> You don't need to rebuild FPC itself, but you need to modify the RTL. SB> Three functions from oleaut32 are included for Windows compatible SB> widestring management. As FPC has a fallback mechanism you can disable that. Or simply

Re: [fpc-devel] FPC for minimal Win-32

2011-03-24 Thread Sven Barth
On 24.03.2011 11:26, Mark Morgan Lloyd wrote: I'm currently looking at the potential of a minimal Win32-compatible OS called Sanos, which supposedly implements a useful subset of the Windows console-mode API. As a starting point, I'm using the standard Windows variant of the FPC compiler, but if

[fpc-devel] FPC for minimal Win-32

2011-03-24 Thread Mark Morgan Lloyd
I'm currently looking at the potential of a minimal Win32-compatible OS called Sanos, which supposedly implements a useful subset of the Windows console-mode API. As a starting point, I'm using the standard Windows variant of the FPC compiler, but if I build a minimal program (i.e. program test