2
I Use This!
Low Activity

News

Analyzed 1 day ago. based on code collected 3 days ago.
Posted over 3 years ago by ab
Not yet.I am not sure I will finalize this part, anyway.I was starting to make a custom compiler, not standard ASN.1 compiler.
Posted over 3 years ago by ab
Should be fixed by https://github.com/synopse/mORMot2/commit/0546e34f
Posted over 3 years ago by ab
{$R mormot.win.manifest.res} is better for normal programs.
Posted over 3 years ago by ab
You are right, of course.Should be fixed by https://github.com/synopse/mORMot2/commit/6c023a36Thanks for the feedback!
Posted over 3 years ago by ab
I don't remember changing anything at that level.With with DB and TSqlDBConnectionProperties class and compiler?Where does it hang exactly (within ThreadSafeConnection or within NewStatementPrepared)? Could you debug a little?Edit: perhaps it is ... [More] about the new TRWLightLock use in SqlDBConnectionPropertiesThreadSafe.ThreadSafeConnection.But I am not able to reproduce the issue. [Less]
Posted over 3 years ago by uian2000
I have tried this commit, and it truely worked.Thanks for your great work!
Posted over 3 years ago by dcoun
please include mustache in cross platform units in mormot2My best wishes for the new year.
Posted over 3 years ago by larand54
I don't understand exactly what you meant but I did like this:fStore: TSynConnectionDefinition; pw: RawUTF8 pw := TSynConnectionDefinition.ComputePassword('myPassword'); fStore := TSynConnectionDefinition.CreateFromJSON(StringToUtf8('{ ... [More] "Kind": "TOleDBMSSQL2012ConnectionProperties", ' + '"ServerName": "MyServer\\SQLEXPRESS", "DatabaseName": "MyDB", "User": "username", "Password": "'+pw+'"}')); fDBServer := TSQLRestExternalDBCreate(fModel, fStore, USE_AUTHORIZATION, []);And that worked, but that wasn't exactly what you said? [Less]
Posted over 3 years ago by koraycayiroglu
Sorry, i thought AddOrUpdate means as it is and when i set ForceID to true, it will still add or update the same record with same ID. No problems, i changed it as:function TSQLRest.AddOrUpdate(Value: TSQLRecord; ForceID: boolean): TID; begin if ... [More] (self=nil) or (Value=nil) then begin result := 0; exit; end; if (Value.fID=0) or (ForceID and (not MemberExists(Value.RecordClass, Value.fID))) then begin result := Add(Value,true,ForceID); if (result<>0) or (Value.fID=0) then exit; end; if Update(Value) then result := Value.fID else result := 0; end;it's better this way imo. [Less]
Posted over 3 years ago by ab
I thought a directory has no data, so no descriptor.Anyway, I have tried to fix MacOS / DataDescriptor ZIP with folders in https://github.com/synopse/mORMot2/commit/c019517d