-
Babis Michael replied to the topic Native Transport with 4G connection in the forum kbmMW 3 years, 1 month ago
I found the issue. It’s VerifyTransfer. When it’s enabled it throws randomly an Invalid Data error and Disconnects.
I disable atm and no more random disconnections.
-
Babis Michael replied to the topic Remote Desktop Demo doesn't work if it is compiled in kbmMW 5_14, 5_15 in the forum kbmMW 3 years, 1 month ago
Due my experiments replaced the Move with CopyMemory and it works although it copies the 2nd monitor instead of the 1st.
So the problem is when you have a 4k Monitor and a 2nd 1080p monitor and switch to DirectX.
Seems it grabs the wrong monitor for the buffer or the opposite.Thank you
-
Babis Michael replied to the topic Remote Desktop Demo doesn't work if it is compiled in kbmMW 5_14, 5_15 in the forum kbmMW 3 years, 1 month ago
Found the problem it’s on the below line but i don’t know how to resolve the AV or Stack Overflow.
Maybe the map is still locked or something and can’t let it copy the bytes to DIB ?function TkbmMWRemoteDesktopServer.GetScreenDXGI ….
…
ABmp.DrawData(map.pBits); //AV Here
….Thank you
-
Babis Michael replied to the topic SmartEvent Memory Leaks in the forum kbmMW 3 years, 1 month ago
Found the issue! The leak occurs when you call kbmmwshutdown before you terminate you application.
procedure TForm25.FormClose(Sender: TObject; var Action: TCloseAction);
begin
kbmmwshutdown; //comment me to prevent leak
end; -
Babis Michael replied to the topic RequestTimeout Native vs Indy at runtime in the forum kbmMW 3 years, 1 month ago
Sending you via email because here the link thinks it is spam.
-
Babis Michael replied to the topic RequestTimeout Native vs Indy at runtime in the forum kbmMW 3 years, 1 month ago
Kim,
Any news on this ?
-
Babis Michael replied to the topic SmartEvent Memory Leaks in the forum kbmMW 3 years, 1 month ago
Can you free this upon finalization or needed to do it manually ?
-
Babis Michael replied to the topic SmartEvent Memory Leaks in the forum kbmMW 3 years, 1 month ago
Oh! i found i had a “kbmMWSmartEvent” declaration in one of my units that caused this. So even if you don’t use the SmartEvent declaring the unit causes this. Removed and the leaks gone!
-
Babis Michael replied to the topic SmartEvent Memory Leaks in the forum kbmMW 3 years, 1 month ago
Hello!
Yes! Here’s the code:
procedure TFormMain.FormClose(Sender: TObject; var Action: TCloseAction);
begin
CommonServer.doServerTerminate;
kbmMWShutdown;
end; -
Babis Michael replied to the topic native transport 5.21 TLS disconnect crash in the forum kbmMW 3 years, 1 month ago
I have the same issue without using TLS. 5.20 works ok!
-
Babis Michael replied to the topic RequestTimeout Native vs Indy at runtime in the forum kbmMW 3 years, 1 month ago
Seems Transport Disconnection isn’t working reverting back to 5.20 solved the problem!
-
Babis Michael replied to the topic RequestTimeout Native vs Indy at runtime in the forum kbmMW 3 years, 1 month ago
Maybe it’s related to the error i get in the client when i terminate the server: EkbmMWSocket ‘Cannot execute StopLoop in IO thread’
-
Babis Michael replied to the topic RequestTimeout Native vs Indy at runtime in the forum kbmMW 3 years, 1 month ago
Kim,
OnClientWaitingResponse AAbort stopped working in 5.21!
After the server disconnects i get a TRANSPORT_PROCESSOR_EXCEPTION: Access violation at address 0195F414 in module ‘myapp.exe’. Read of address 00000000 and it doesn’t timeout. (Native Transport)It seems the transport is trying to transfer data on a disconnected session.
Thank you
-
Babis Michael started the topic SmartEvent Memory Leaks in the forum kbmMW 3 years, 1 month ago
Hello,
Seems smart events has the same memory leak as native transport had ?

-
Babis Michael replied to the topic Native Sockets and HTTP/S in the forum kbmMW 3 years, 2 months ago
Well, it’s up to you but those native sockets kicks ass! 🙂
So having a basic command handler class would be nice to create a lot of Server/Client Protocols too (eg. IMAP/POP3 etc)
-
Babis Michael replied to the topic Native Sockets and HTTP/S in the forum kbmMW 3 years, 2 months ago
Hello,
Well it’s a server transport not client and i also i don’t understand how to download a file from a HTTPS source using this.
I would appreciate any example!
Thank you
-
Babis Michael replied to the topic Native Sockets and HTTP/S in the forum kbmMW 3 years, 2 months ago
I mean i change the transport portocol to HTTP but it doesn’t accept it! (or i shouldn’t ?)
IOW, all i want is to download a file from a HTTPS source to a stream using native transports!
eg. https://www.mysite.com/myfile.zip with TLS 1.2/1.3Thanks
-
Babis Michael replied to the topic Native Sockets and HTTP/S in the forum kbmMW 3 years, 2 months ago
Well HTTP protocol not supported so i can’t download a file! 🙁
-
Babis Michael started the topic Native Sockets and HTTP/S in the forum kbmMW 3 years, 3 months ago
Hello,
Is it possible to implement a simple HTTP/S using native sockets ? (eg. to get url contents)
Thank you
-
Babis Michael replied to the topic Native Transport with 4G connection in the forum kbmMW 3 years, 3 months ago
The issue exists with wifi connections too. Random few (2-4) disconnection per day.
Anything that i can debug ?Thank you
- Load More
