You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I`m using SimpleBle with examples for Pascal binding.
Everything works fine, but on some machines there is a strange behavior, library throws exception on simpleble_free.
procedure AdapterOnScanStart(Adapter: TSimpleBleAdapter; Userdata: PPointer);
var
Identifier: PChar;
begin
Identifier := SimpleBleAdapterIdentifier(Adapter);
if Identifier = '' then
Exit;
WriteLn('Adapter ' + Identifier + ' started scanning.');
SimpleBleFree(Identifier);
end;
And at SimpleBleFree(Identifier) (same as simpleble_free) I get
And sometimes app works nice, sometime I need to restart it ten times, sometimes nothing helps.
I use SimpleBle win64 0.7.3 shared version.
Looks like library does want to free string it just allocated.
Hi!
I`m using SimpleBle with examples for Pascal binding.
Everything works fine, but on some machines there is a strange behavior, library throws exception on simpleble_free.
And at SimpleBleFree(Identifier) (same as simpleble_free) I get
And sometimes app works nice, sometime I need to restart it ten times, sometimes nothing helps.
I use SimpleBle win64 0.7.3 shared version.
Looks like library does want to free string it just allocated.
Project itself is here https://github.com/magdel/ble2com
The text was updated successfully, but these errors were encountered: