-
Content Count
2268 -
Joined
-
Last visited
-
Days Won
46
Everything posted by Fr0sT.Brutal
-
It's possible to use a VCL component from DLL, with some drawbacks & limitations. Search for "Plugins in Delphi" and "Delphi Form from DLL"
-
Are the jcl and jvcl libraries still alive?
Fr0sT.Brutal replied to Davide Angeli's topic in Delphi Third-Party
I'd still advise you to learn the Git basics. Want it or not, it became industry standard and you can't avoid it unless only coding in COBOL ๐ Most opensource Delphi projects switched from SVN to Git. -
Yes (Haven't tested them myself) https://github.com/kami-soft/NamedPipeExchange https://github.com/CPsoftBE/BackupOfCromis/blob/master/Cromis.Comm.IPC.pas
-
How does CurrentControlSet differ from HKEY_CURRENT_USER
Fr0sT.Brutal replied to Tom F's topic in Windows API
HKCU => "Install for me only" HKLM => "Install for everyone" IDK why the settings have gone to \SYSTEM\CurrentControlSet though - I'd expect them in \Software. Probably W10 have changed things a bit -
An Authentication object was not found in the SecurityContext
Fr0sT.Brutal replied to karel_janecek's topic in ICS - Internet Component Suite
Probably full traffic dump made by WireShark? Hmm, I see this assertion periodically but still can't get why. Logger is very nice and is used by ICS for event reporting of various levels. I've loaded it additionally with all channel-related stuff in my project and it does well. -
TidHTTP [SSL], SSL errors is production, not in developement
Fr0sT.Brutal replied to mvanrijnen's topic in Network, Cloud and Web
Okay, so we're sure this is not an issue on the openSSL=>network=>server part of chain. Remy your turn ๐ -
TidHTTP [SSL], SSL errors is production, not in developement
Fr0sT.Brutal replied to mvanrijnen's topic in Network, Cloud and Web
Try to connect with openssl only like advised here https://github.com/openssl/openssl/issues/17386 Probably corp FW intercepts your TLS? -
Free Pascal Web Assembly Objects
Fr0sT.Brutal replied to psla314's topic in RTL and Delphi Object Pascal
I guess you won't get too much help here as it's mostly Delphi forum and your question is too specific. -
Best way to replace D11 distributed Indy with latest Git Indy?
Fr0sT.Brutal replied to Ian Branch's topic in Indy
IMHO separate VMs are still the most convenient solution in such case. -
Best way to replace D11 distributed Indy with latest Git Indy?
Fr0sT.Brutal replied to Ian Branch's topic in Indy
Isn't built-in Indy an optional feature that could be unchecked during install? -
Reduce storage space for floating point range
Fr0sT.Brutal replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
As my friend used to say, 7zip(rar(zip(something))) ๐ alas, things don't work in such a way, otherwise data of any size could be compressed into a single byte after N iterations ๐ -
Well, after 30+ years of Delphi you should be familiar with the situation when nothing works out of the box ๐ Delphi is for really brutal guys unlike that filthy Python ๐
-
Okay {$RTTI EXPLICIT FIELDS([vcPublic]) PROPERTIES([])} TTest = class public obfuscated: byte; public property secret: byte read obfuscated; end; procedure TForm1.FormCreate(Sender: TObject); var ob: TTest; begin ob:= TTest.Create; ob.secret := 2; ShowMessage(TJSON.ObjectToJsonString(ob)); // {"obfuscated":2} end; I checked binary output and there's only "obfuscated" field visible. One more option is using structure-identical classes and typecasting but that requires more efforts. The solution above seems more simple
-
Well, you can try to investigate why they don't work. For example, DB could change its API
-
Tabs for indenting are a pain so not surprise
-
Do you really need to use dead project? There are plenty of REST implementations, OAuth2 is available in ICS
-
WinSock (Indy) select() doesn't return on network
Fr0sT.Brutal replied to aehimself's topic in Network, Cloud and Web
Chunked encoding also -
Can not login to FTP server without password
Fr0sT.Brutal replied to DMX78's topic in ICS - Internet Component Suite
"Empty password" not exactly equals to "No password" (just like NULL in database is not '') though the settings in the config/UI could seem identical. But it's up to server to decide what "empty" means. -
Reduce storage space for floating point range
Fr0sT.Brutal replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
I'd first try to cope with it with little efforts and check compression. Depending on values distribution, that could give you the largest gain - or almost nothing if entropy is too high. Next, you can prepare the order of numbers. F.ex., cols-then-rows could be more compressable than rows-then-cols. After these simple and quick checks, you can dive into rabbit hole of low-level packing. Btw, there's nothing frightening in packing the data into non-modulo-8 bit chunks - this format is widely used in radio transmission. It's just the question of adding a reader and writer and Delphi already has TBits in RTL (haven't used it though). If you decide to go this way, I can borrow TBitReader class that I use in my projects -
I still consider it the most easy and at the same time working solution. You still use human readable member names but with small non-disrupting addition. Before building a release, run regexp replace for all source files and that's all. No he doesn't. He wants both readable names and auto-JSON-ing which requires RTTI which leaves readable traces in binary. Hmm. How about using {$RTTI EXPLICIT PROPERTIES vcPublished} and then TObfuscatedClass = class private FSecretField: string; public // for use from code property SecretField: string read FSecretField write FSecretField; published // for JSON-ing property bwoirhoeri: string read FSecretField write FSecretField; end;
-
Do you really need automatic JSON (de)serialization for the objects? Maybe disabling all RTTI for the critical structures and implementing manual read/write routines would be the simplest option. One more option is to name members in a special style like "__Ident__" that is guaranteed to be unique project-wide and then perform simple regexp replace on all sources before build. 3rd option that comes to mind (and probably the most correct one) is to try refactoring from command line but I'm not sure if this tool exposes command line interface or only runs from IDE
-
https, post, login, get data from https site within android and .exe from delphi code
Fr0sT.Brutal replied to frankie1's topic in Network, Cloud and Web
If a system can run Chrome, it can run almost everything. -
https, post, login, get data from https site within android and .exe from delphi code
Fr0sT.Brutal replied to frankie1's topic in Network, Cloud and Web
Depending on a specific site, the actions could involve Javascript which you couldn't imitate with Delphi. Probably you should examine the option of controlled browser component; then you won't need network component at all -
Don't forget " Embarcadero Technologies does not currently have any additional information. "
-
BTW, don't forget that any form's window could be recreated at run-time thus changing its handle