linxpsoft / delphi-iocp-framework

Automatically exported from code.google.com/p/delphi-iocp-framework
0 stars 0 forks source link

Problem on Win64 #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
when run program in win64, the memory size may overflow 32bits integer, so 
please replace integer to NativeInt
1.
Iocp.TcpSocket.Pas:

    property PerIoUsedMemory: NativeInt read GetPerIoUsedMemory;
    property PerIoFreeMemory: NativeInt read GetPerIoFreeMemory;
    property IoCacheUsedMemory: NativeInt read GetIoCacheUsedMemory;
    property IoCacheFreeMemory: NativeInt read GetIoCacheFreeMemory;

2. Replace Integer to NativeInt at Iocp.ObjectPool.pas

3.....

Original issue reported on code.google.com by Hezihang...@gmail.com on 13 Jul 2013 at 2:33