-
mrluigi2017 started the topic kbmMWGlobal in DLL hangs in when DLL is unloaded 5.23 in the forum kbmMW 1 year ago
Hi Kim,
We noticed that when the kbmMWGlobal is included in the uses of a DLL the application that uses the DLL will hang when it tries to unload it.
DLL Code:
library DllWithKbmMw;{KbmMw source folder is in search path of project}
uses
kbmMWGlobal;{$R *.res}
begin
end.Exe Code:
unit Main;{
Unloading DllWithKbmMw.dll is…[Read more]
-
mrluigi2017 started the topic kbmMWSecurity bug: DoOnLogin never called 5.23 in the forum kbmMW 1 year ago
Hi,
Looks like the line 3222 in kbmMWSecurity contains a bug which results that DoOnLogin is never called.
if (ctx.Actor<>nil) and (not ctx.Actor.Internal) then
Should be:
if (ctx.Actor=nil) and (not ctx.Actor.Internal) thenKind regards!
-
mrluigi2017 started the topic Bug in kbmMWGlobal kbmMWGetFileVersionInfo in the forum kbmMW 1 year, 4 months ago
Hi,
It looks like there is a bug in kbmMWGlobal’s kbmMWGetFileVersionInfo function.
Current code 5.23.00:
ADebug:=(FI.dwFileFlags and VS_FF_PRERELEASE)=VS_FF_DEBUG;[Read more]
ASpecialBuild:=(FI.dwFileFlags and VS_FF_PRERELEASE)=VS_FF_SPECIALBUILD;
APrivateBuild:=(FI.dwFileFlags and… -
mrluigi2017 started the topic in the forum kbmMW 1 year, 4 months ago
Hi,
It looks like there is a bug in the kbmMWGetFileVersionInfo function in kbmMWGlobal.
Current code 5.23.00:
ADebug:=(FI.dwFileFlags and VS_FF_PRERELEASE)=VS_FF_DEBUG;[Read more]
ASpecialBuild:=(FI.dwFileFlags and VS_FF_PRERELEASE)=VS_FF_SPECIALBUILD;
APrivateBuild:=(FI.dwFileFlags and… -
mrluigi2017 started the topic SmartService version in the forum kbmMW 1 year, 4 months ago
Hi, I noticed that if I use a version string in a smart service but I don’t provide a version in the TkbmMWSmartRemoteClientFactory.GetClient it still works. I don’t know if this is intentional or not. AFAIK the version is part of the fully qualified service name, so if there is a mismatch between client and server it shouldn’t find work.
For…[Read more]
-
mrluigi2017 started the topic Looks like the C4D shop has some issues in the forum kbmMW 1 year, 6 months ago
Hi Kim,
When I try to reach the C4D Shop http://www.components4developers.com/shop.html I get an internal server error 500.
Kind regards,
Luigi
-
mrluigi2017 replied to the topic TkbmMWI18NLanguage language name property in the forum kbmMW 2 years, 8 months ago
Hi Kim,
It looks like this one is reintroduced in version 5.21 (and still there in 5.22)
Kind regards,
Luigi
-
mrluigi2017 started the topic ORM and preventing memory leaks in the forum kbmMW 2 years, 10 months ago
Hi,
In my application I have the following code:
Requirement := TPMRequirement.Create;
tryRequirement.PMItem := Orm.FromDataset<TPMItem>(FItemTable, True, True);
Requirement.RequirementItem := Orm.FromDataset<TPMRequirementItem>(FDetailTable, True, True);…
Because the constructor of the TPMRequirement instanciates both PMItem and…[Read more]
-
mrluigi2017 replied to the topic ORM Update – Tablename gets quoted 3 times instead of 1 in the forum kbmMW 3 years, 1 month ago
I have written al little test application and I noticed that the tripple quotes only appear when quotes are used when creating tables. Since this is a new project I have decided to use uppercase and no quotes for tables names (and other identifiers).
-
mrluigi2017 replied to the topic ORM Update – Tablename gets quoted 3 times instead of 1 in the forum kbmMW 3 years, 1 month ago
Never mind. I just wrote a little demo application and the update works fine. I screwed up something else πΒ Sorry
-
mrluigi2017 replied to the topic ORM Update – Tablename gets quoted 3 times instead of 1 in the forum kbmMW 3 years, 1 month ago
The connection pool is a TkbmMWUNIDACConnectionPool with a kbmMWInterbaseMetaData and a kbmMWInterbaseSQLRewriter.
-
mrluigi2017 started the topic ORM Update – Tablename gets quoted 3 times instead of 1 in the forum kbmMW 3 years, 1 month ago
Hi,
When I do an ORM.Update I get a dynamic SQL error. In Devart’s DBMonitor tool I see that for some reason the table name in the where clause is quoted 3 times instead of 1:
UPDATE “Person” SET “FirstName” = :FirstName,”LastName” = :LastName,”Notes” = :Notes WHERE “””Person”””.”PersonID” = :KBMMW_KEY_PersonID
The strange thing is that when I…[Read more]
-
mrluigi2017 replied to the topic TkbmMWDatastoreSequencer.GetValue UpperCase issue in the forum kbmMW 3 years, 2 months ago
We use Pascal case for our database including the sequences. I have change the sequences to upper case now π
-
mrluigi2017 started the topic TkbmMWDatastoreSequencer.GetValue UpperCase issue in the forum kbmMW 3 years, 2 months ago
Hi,
I noticed that the TkbmMWDatastoreSequencer.GetValue always make the sequence name an uppercase . I think it would be better if this was a setting(perhaps in the MetaData component).
Kind regards,
Luigi
-
mrluigi2017 replied to the topic REST HTTP StatusCode without raising an error in the forum kbmMW 3 years, 2 months ago
Sorry that π I am using kbmMWHTTPSysServerTransport. I have tested it with kbmMWTCPServerTransport and kbmMWTCPIPIndyServerTransport and that seems to works fine.
-
mrluigi2017 replied to the topic REST HTTP StatusCode without raising an error in the forum kbmMW 3 years, 2 months ago
It looks like that in unit kbmMWHTTPSysServerTransport (didn’t check other transports yet) on line 579 the status code that is set is overwritten by this line of code:
reshlp.HTTPStatusCode:=reshlp.HTTPStatusCodeFromServerStatusCode(res.StatusCode);
-
mrluigi2017 replied to the topic REST HTTP StatusCode without raising an error in the forum kbmMW 3 years, 2 months ago
In Fiddler and Postman I still get a 200 status code instead of 201. Are you sure that this should work?
-
mrluigi2017 started the topic REST HTTP StatusCode without raising an error in the forum kbmMW 3 years, 3 months ago
Hi,
I want to control the what http status code is returned to the client. I know you can do this with
kbmMWRaiseHTTPError(407,’….’)
or
raise EkbmMWHTTPException.Create(407,’…’)
But it seems a bit odd to use an error if it isn’t for instance if you want to return a 201 Create status code.
I have to set the status code like this, but it…[Read more]
-
mrluigi2017 started the topic What kind of path type is used for i18n? in the forum kbmMW 3 years, 3 months ago
Hi,
What kind of path type is used in the example below? Does it have a name?
i18n.Save(”, ‘json’, ‘file:..\..\Translations.json’);
Thanks in advance!
Kind regards,
Luigi
-
mrluigi2017 started the topic TkbmMWI18NLanguage language name property in the forum kbmMW 3 years, 4 months ago
Hi,
I am writing a small application that reads translations from a database and converts it to a i18n yaml file, this works fine except that I didnβt figure out a way to set the TkbmMWI18NLanguage name property since itβs read only. For now I have just modified the TkbmMWI18N source and added a write to the name property and this works fine. I a…[Read more]
- Load More
