Lukas Gradl wrote:
Hi!

I'm having serious troubles compiling a DLL for 64bit Windows.
I'm using FPC svn 14444 (Ver 2.5.1) on all machines. I tried on WinXP 32bit (works), Vista 64bit (doesn't work), Win7 32Bit (works) and Win7 64bit (doesn't work).

>   rMonitor=packed record
...
  end;

  rMonitorEx=packed record
    dwMonitorSize:DWORD;
    Monitor:rMonitor;
  end;

Are you sure the C record is packed too ? This would mean that all function pointers in rMonitor are not aligned.


Marc
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to