- This topic has 7 replies, 2 voices, and was last updated 3 years, 6 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Hi,
Thank you for the report. I will have a look at it….
/Kim
I found the cause of this problem, but I don’t know how to modify the code.
Problems caused by kbmMWGetCurrentThreadID function on Android platform.
This function generates an exception when the boundary check compilation option is turned on.
I recorded more details here:
Hi,
Try to open kbmMWCore.pas, locate kbmMWGetCurrentThreadID and change its return value type to TkbmNativeUInt instead of TkbmNativeInt. Then recompile and check if your application works then.
Please report result back to me.
/Kim/C4D
it’s work fine.
Thank you. It is changed in next release.
/Kim/C4D
Sorry,this is error.
Define in unit System:
{$IFDEF POSIX}
TThreadID = NativeUInt;
{$ENDIF}
Help file:
Defines a platform-dependent unsigned integer.
NativeUInt represents a subset of the natural numbers. The range of NativeUInt depends on the current platform. On 32-bit platforms, NativeUInt is equivalent to the Cardinal type. On 64-bit platforms, NativeUInt is equivalent to the UInt64 type.
The size of NativeUInt is equivalent to the size of the pointer on the current platform.
function kbmMWGetCurrentThreadID:TkbmNativeUInt;
should change to :
function kbmMWGetCurrentThreadID:TThreadID ;
This content is meaningless. Kbmmw is right.