-
zoran replied to the topic kbmMWTCPIPIndyMessagingClientTransport1.SendMessage problem? in the forum kbmMW 6 years, 8 months ago
Never mind.
If I define arrId: variant and do
arrId := VarArrayCreate([0,0], varVariant);
and then populate it with my int64 values, all works fine…
I’m puzzled why it also works when arrId: TArray<integer> and not when arrId: TArray<int64>?
Sorry for the false alert…
-
zoran started the topic kbmMWTCPIPIndyMessagingClientTransport1.SendMessage problem? in the forum kbmMW 6 years, 8 months ago
Hi Kim
I have this code:
ci.Username := ActorName;
ci.Token := DM.kbmMWSimpleClient1.Token;
DM.kbmMWTCPIPIndyMessagingClientTransport1.SendMessage
(
‘MSG.SYS.’ + lDBAlias + ‘.’ + UserId.ToString + ‘.>’,
”,
ci,
nil,
[msg, arrId]
);All works fine when arrId: TArray<integer>, but when arrId: TArray<int64> I get error ‘Error creating variant of…[Read more]
-
zoran replied to the topic kbmMWTCPServerTransport in the forum kbmMW 6 years, 8 months ago
Hi Kim
I know you’re busy. Could you answer the question above, please?
Thanks.
Zoran
-
zoran replied to the topic kbmMWTCPServerTransport in the forum kbmMW 6 years, 8 months ago
Thanks Kim, it worked.
Another short question. In my test server I put kbmMWTCPServerTransport and it works fine with client which has kbmMWTCPIPIndyClientTransport. However If I replace client Indy transport with kbmMWTCPClientTransport (and re-connect the properties), client cannot connect to the server. I’ve tried changing different properties…[Read more]
-
zoran started the topic kbmMWTCPServerTransport in the forum kbmMW 6 years, 8 months ago
Hi Kim
Thank you for the new version of kbmMW.
I just installed 5.10.10 and I don’t see kbmMWTCPServerTransport you were talking about in one of the webinars. I didn’t see it in previous versions as well.
Was it included in the new version? Did I miss something?
Thank you.
Zoran
-
zoran replied to the topic Compile error in the forum kbmMW 6 years, 9 months ago
PS. This happens only when ‘kbmMW memory debug/leak checking’ option is set during installation.
-
zoran started the topic Compile error in the forum kbmMW 6 years, 9 months ago
Hi Kim
When I try to compile server in x64 I get the message:
<span>[dcc64 Error] kbmMWDebugStackTrace.pas(164): E2065 Unsatisfied forward or external declaration: ‘TkbmMWDebugStackTrace.InternalTraceStackRaw’
</span>x32 compiles ok.
kbmMW 5.10.01, Rio 10.3.2, Win 10 Ent
Thanks
Zoran
-
zoran started the topic AuthorizationManager – FLastAuthorized in the forum kbmMW 7 years, 1 month ago
Hi
I would like to know when any of my clients last accessed any service defined in the server. FLastAuthorized is correctly updated with last access timestamp.
Problem is when new client logs in or logs out, FLastAuthorized for all clients is set to the current timestamp.
Is there a way not to update FLastAuthorized for other (already logged…[Read more]
