-
Content Count
302 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Die Holländer
-
Looking for Coder in Gilbert, AZ
Die Holländer replied to Matt Nielsen's topic in Job Opportunities / Coder for Hire
Sorry for this reaction but I'm in the same situation and warn to not overwelm nowadays developers.. Here is the chance that I'll find a junior programmer that will start/learning development on a 30 years Delphi codebase, also want to develop Online apps in PHP and Javascript, is willing to understand "outside systems", also work without the possibility to do home-office and beiing availble full-time (40 hours?) is almost 0.. Here young developers are thinking in frontend OR backend online development and only some do "full-stack". Not even mentioning the lack of understanding database SQL. The worst scenario is that, because of this, the management can decide to also convert these Delphi enterprise systems into online webapplictions. -
Delphi MT940 implementation (reader, writer)
Die Holländer replied to Stéphane Wierzbicki's topic in Algorithms, Data Structures and Class Design
Hello, I've sent you both a DM with a basic reader. -
Delphi Custom Handler for Azure Serverless Functions
Die Holländer replied to Debby's topic in Network, Cloud and Web
I've tried to use these Azure Functions with Delphi but never succeded and I find it quite complex, while using Azure MS-SQL database with Delphi applications and FireDac is very easy. Because it was only a try and not really needed for a project I stopped the attempt. I see that the blogpost is from 2021 and wonder if Glenn publised a plugin to get arround using VS-Code. >>Visual Studio Code – For the time being, until my RAD Studio Azure plugin is ready, VS Code has the Azure >>Extension which makes it easier to create and deploy Function Apps. @DebbyAre you planning to publish how to use Azure Functions in Delphi at a later moment? -
Product: Delphi Parser - AI claims - what does it mean?
Die Holländer replied to Jasonjac2's topic in Delphi Third-Party
You are right. It seems the e-mails talk about AI, according to the first poster, but on the site I only see "Machine Learning" mentioned. I was just wondering how a model trained specific with Delphi code will perform compared with general models like OpenAI, Microsoft or Google. -
Product: Delphi Parser - AI claims - what does it mean?
Die Holländer replied to Jasonjac2's topic in Delphi Third-Party
On the other hand.. what if you train a 70B model with only Delphi code? -
What do you think of "Local Global variables"
Die Holländer replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Some times I use nested methods if I discover that in the main procedure a small function is needed and need to be called serveral times in that main procedure. When the function gets larger then I move the function to the main object in the private section and pass the parameters. The only sad thing that happens in the Delphi editor when using nested methods is that the auto complete, like automatic adding "end;" after typing Begin<enter> is not working anymore.. -
Convert Visual Studio 2012 code to Delphi
Die Holländer replied to Bahram Akhundov's topic in General Help
How to get external (public) IP in Delphi DELPHI – Client and Server using TIdTCPServer and TIdTCPClient components indy-project-demos -
Convert Visual Studio 2012 code to Delphi
Die Holländer replied to Bahram Akhundov's topic in General Help
Please post your Delphi code and maybe you can get some help here. What SSH/TCP/UDP component did you use? Your basic task is to setup a small tcp/udp server that can listen to these 4 ports.. -
Not sure, but if you think the dproj is invalid. Make a copy, delete it from the project folder and open the *.dpr file and rebuild. It will create a new dproj. <edit> Ah, I see your last message and it errors on the *.dpr file.. You should look into this file..
-
Maybe it depends on which SQL driver the FD is using on the users machine. It uses a loop from the most recent driver (Delphi 11 : from version 17) to the least one and tries to find the most recent one. Look in the ODBC settings which drivers are installed on the machine. I've used many versions of MS SQL servers (also 2012) and had never problems with FD connecting them. Look at SQL Sever Native Client 10. for older SQL sever, like 2012. MSSQL Driver overview
-
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; procedure Encrypt(sr: PAnsiChar; key: PAnsiChar; var encryptedText: PAnsiChar); stdcall; external 'YourDLLName.dll'; procedure Decrypt(sr: PAnsiChar; key: PAnsiChar; var decryptedText: PAnsiChar); stdcall; external 'YourDLLName.dll'; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); var inputText, key, encryptedText, decryptedText: PAnsiChar; begin inputText := 'Hello World'; key := '12345678'; // Encrypt Encrypt(inputText, key, encryptedText); ShowMessage('Encrypted Text: ' + encryptedText); // Decrypt Decrypt(encryptedText, key, decryptedText); ShowMessage('Decrypted Text: ' + decryptedText); end; end.
-
>As I result, I have been running Delphi under my admin account. However, all of my Windows Credentials were created under my regular account. OK, I understand. You could not connect the database because your credentials where not avaible in your admin account. I think because Delphi has a user license not everyone using your computer with another login can use Delphi.
- 12 replies
-
A gem from the past (Goto)
Die Holländer replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Ahh, a typical reaction that started in that time.. My Commodore 64 is much better. My Apple is much better than your Windows My Iphone is much better than you Android phone. My Javascript language is much better than ... -
Would be nice when you tell us what resolved the issue..
- 12 replies
-
What is your MSSQL server version? I Remember I had some problems when I used in the config under "Server" the servername instead of the ServerIP. Maybe you check that also. So, not xx.xx.edu but the real IP of the server, like 102.x.x.x Basically the FireDac config is creating a connectstring. Since you can login with the MS SQL Server Management Studio you can ask for the connectstring when logged in: SELECT 'data source=' + @@SERVERNAME + ';initial catalog=' + DB_NAME() + CASE type_desc WHEN 'WINDOWS_LOGIN' THEN ';trusted_connection=true' ELSE ';user id=' + SUSER_NAME() END FROM sys.server_principals WHERE name = suser_name() See also: ConnectStrings
- 12 replies
-
A gem from the past (Goto)
Die Holländer replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
In the early BASIC times, like for the ❤️ ZX-Spectrum ❤️ there were no functions or procedures but instead they introducted a way to jump to another part of the source and return to the next line after the jump. The statements: Gosub and Return. 10 LET A=0 20 PRINT "ENTER A NUMBER: " 30 INPUT N 40 GOSUB 100 50 PRINT "THE RESULT IS ";A 60 END 100 A = N * 2 110 RETURN -
WebUI framework: Technical preview. Part 1.
Die Holländer replied to Alexander Sviridenkov's topic in I made this
Any link to the webUI website? -
This is the config that works here.. Note, the DatabaseName is added two times. (Also MetaDefCatalog) "dbo" as the MetaDefSchema. Play with the OSAuthent and MARS properties. (switch Yes/No)
- 12 replies
-
RAD Studio 12.1 Athens Patch 1 Available
Die Holländer replied to Uwe Raabe's topic in Delphi IDE and APIs
I'm still on 11.3 and soon will switch to 12. I just see in the video that this new JSON feature is now in Delphi 12... Is it working as I think it's working ?? After reading the JSON it's possible to directly access the keynames (email, address.street, ..) to get the values as weaktype languages can do, like Javascript. -
Looking for a couple of good "starter" Delphi books
Die Holländer replied to t2000kw's topic in General Help
Books by dr. Bob (Bob Swart) -
Best Practices for Database Development in Delphi with Firebird
Die Holländer replied to Noor's topic in VCL
Whatever you program in Delphi, compared with most other languages, it will stay RAD and you can focus on you actual problem instead for example fighting how to put things on the screen. It takes the Online department, with Node, Javascript and pumping JSON files through the internet, with three developers (backend, frontend and HTML/CSS designer) about one week for one screen. They calling Delphi old fashioned while I look to their source and problems as if they still live in the 1980's. -
{$Defines xxxx} not working at design time..
Die Holländer replied to Ian Branch's topic in Delphi IDE and APIs
I have noted something like this by the {$IFDEF DEBUG} switch in D11.3. When switching the "Build Configurations" from Debug to Release nothing happens. When staying in the Unit and do Compile or Build nothing happens. but When I switch in the editor from that source/unit tab to another source and back it works and the editor will gray-out the proper sourcecode. -
Strange bug with string literals in RAD Studio 12
Die Holländer replied to luebbe's topic in RTL and Delphi Object Pascal
If you just did a first login then you have to wait some time before you can see reports... -
Yes, but the use is not to get a clean 100% translation. It will give you a lot of insight of the differences between Delphi/Pascal and C keywords/declarations etc.. >It will probably be a bit stubborn since it's so much code, so you'll have to step through it Yes, like the programmer that has to translate the code..