In my project (using Embarcadero C++ Builder), I am trying to convert a std::wstring to a UnicodeString using UTF8ToUnicodeString(const RawByteString S) from <system.hpp> The result shows some replacement characters (U+FFFD) for some russian and vietnamese characters. But most characters are shown correctly. Does anybody know what could be the problem. Is it a problem with ..
I am really new in c++ world, i am very interested in c++builder, otherwise, it seem to me some interesting features in Spring4D for my new project, espacially TObjectDataSet, How can i use it from c++builder? can i convert all library to c++builder, please if it’s possible, guide me step by step! Source: Windows Questions ..
I am a Delphi (Seattle) programmer. My application has a Service running constantly which in turn loads an Application-A again running constantly. Application-A decides to load Application-B as and when required. All Exe’s are loaded in System User. Since my application deals with data backups it is given the required permissions by the Customers. This ..
The current documentation of both functions reads very similar to each another: System.IOUtils.TPath.IsUNCRooted System.IOUtils.TPath.IsUNCPath Both are static members of the same class, with one of them decorated inline, so I wouldn’t think they are separate implementations with equivalent functionality you often find across various Delphi classes (although examples within a common class do exist in ..
One of my favorite Delphi IDE keyboard shortcuts is the handy ctrl-k-i, that lets me indent a block of code that contains existing indents, and which indents the selected set to the right, while keeping all lines in the block at their same relative indent. I was using this shortcut, but I apparently hit a ..
I need a container that will contain sorted Integers, so it will be fast to search if an integer s already in this set. Does Delphi has already collection for that, which is similar to C++ std::set? First I thought that actually Delphi set is what I need, but when I tried Type TIntSet = ..
I need a container that will contain sorted integers, so it will be fast to search if an integer is already in this set. Does Delphi have a collection for that, which is similar to C++’s std::set? First, I thought that Delphi’s Set is what I need, but when I tried: Type TIntSet = set ..
After compiling any project in Delphi Berlin 64 Bits, when executing the debugger, Delphi hangs, being necessary to close it. In 32 bits it works. The environment is: Delphi Berlin 2 anniversary -Windows 10. It seems that after the update of the Spool Nightmare, the nightmare of the Delphi debug begins. thanks in advance. GC ..
I have a container control which is TFramedScrollBox. This in turn contains TFlowLayout which in turn contains TPanel and TRectangle in them. Again TPanel can contain other controls like Edit Box, Combo Box, etc. So the hierarchy is like this: TFramedScrollBox |->TFlowLayout |-> TPanel | |-> EditBox | |-> ComboBox | |-> DateTime Picker | ..
I get the following when communicating with a custom client Connect to client (Syn – Syn/Ack – Ack) Sending data > MTU with WSASend (4092 Bytes on a 4088 Bytes MTU) Packet gets fragmented into 2 packets A Retransmission happens (because the client answered too slow?) And when the retransmission happens it is not packet ..