[fpc-pascal] FPC 64bit for windows

Lukasz Sokol el.es.cr at gmail.com
Fri May 19 14:52:40 CEST 2017


On 19/05/17 13:33, Sven Barth via fpc-pascal wrote:

>>> 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.

This one is not a kernel-mode (at least so I think because the same
installation succeeds both on 32bit XPSP3, and in recent Win10 64bit)...

(it's the old old Microchip MCHPFUSB driver used e.g. with PIC18F4550, driver version 1.3;
 it's probably not as much a 'driver' as a way to register the PID and VID with the system,
 more or less; but the library interfacing it, is 32bit only)

-L.

> 
> Regards, Sven
> 
> 
> 
> _______________________________________________ fpc-pascal maillist
> -  fpc-pascal at lists.freepascal.org 
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> 





More information about the fpc-pascal mailing list