This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Issue with TelOneInstance and 64-bit compiling

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

Sign In or Register to comment.