Hi... I ran across a problem with TelOneInstance when compiling as 64-bit.
Seems the following line in TelOneInstance.CreateMapping fails (returns 0) in a 64-bit app:
FMapHandle := CreateFileMapping($FFFFFFFF, @SA, PAGE_READWRITE, 0, sizeof(TElMemMapArr), PChar(FMapName));
Changing the line to the following seems to fix it:
FMapHandle := CreateFileMapping(INVALID_HANDLE_VALUE,
@SA, PAGE_READWRITE, 0, sizeof(TElMemMapArr), PChar(FMapName));
John
Comments