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. 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.
Ouch :-)
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).
Also since I'm tinkering with an OS of unknown completeness I think I'd
rather steer clear of extra DLLs to start with.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel