[fpc-devel] FPC for minimal Win-32

Sven Barth pascaldragon at googlemail.com
Thu Mar 24 22:19:09 CET 2011


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 fallback mechanism you can disable that.
>
> 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.
>

But then you must not use FPC for that DLL as the oleaut32 functions are 
used in DLLs as well.

Also if you follow this approach it might be safer to stay far away from 
any function that takes a WideString (UnicodeString might work though).

Regards,
Sven



More information about the fpc-devel mailing list