[fpc-pascal] FPC 64bit for windows

Sven Barth pascaldragon at googlemail.com
Fri May 19 14:33:42 CEST 2017


Am 19.05.2017 13:54 schrieb "Lukasz Sokol" <el.es.cr at gmail.com>:
>
> On 19/05/17 11:15, Graeme Geldenhuys wrote:
> > On 2017-05-19 00:38, Nikolay Nikolov wrote:
> >> windows OS - there are simply no known issues with that under any
> >> 64-bit windows version that I know of. ....snip... It won't work
> >> from the IDE, though, but compiling your program from the command
> >> line, when you want to build a 64-bit .exe shouldn't be hard.
> >
> > So you are contradicting your self a bit. No known problems, and then
> > two paragraphs later... but there is this known problem with the IDE.
> > ;-)
> >
> >
> >> Because it is inferior, since it cannot build a 32-bit FPC.
> >
> > You don't have to build a 32-bit FPC because an official released
> > installer exists. So this is no problem at all. But seeing as pretty
> > much everything is moving (or already has moved) to 64-bit, why
> > bother with 32-bit these days. [referring to desktop and server
> > applications - not embedded devices]
> >
>
> Is there a way for native 64bit application to load a 32bit library,
> that then can talk to a 32bit USB driver ?
> (on Windows)

Drivers (at least kernel mode drivers) must be 64-bit on 64-bit Windows
(and also basically every other system I'm aware of).
However it's perfectly possible to talk with a 64-bit driver from a 32-bit
application.
And no, you can't load a 32-library from a 64-bit process.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170519/8b362344/attachment.html>


More information about the fpc-pascal mailing list