-
Content Count
2016 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
Serving html page containing images
Attila Kovacs replied to marcovaldo's topic in MARS-Curiosity REST Library
Make sure you are not exposing more that you want. Make a root directory where your server not going below that dir. One could request with /../ .... files you don't want to expose. -
-
Serving html page containing images
Attila Kovacs replied to marcovaldo's topic in MARS-Curiosity REST Library
Ahh I see now! This is great. You can decorate the handler method in mars and that's it? -
Serving html page containing images
Attila Kovacs replied to marcovaldo's topic in MARS-Curiosity REST Library
of course, tons of https://www.w3schools.com/html/html_tables.asp https://www.w3schools.com/html/html_images.asp No, you have to serve the requested file. https://www.rfc-editor.org/rfc/rfc2616 9.3 GET Indy should have already implemented that for you. -
A comprehensive guide to Delphi programming language functions and procedures
Attila Kovacs replied to pouyafar's topic in VCL
you sound like the chatGPT from the 80's -
A comprehensive guide to Delphi programming language functions and procedures
Attila Kovacs replied to pouyafar's topic in VCL
@Stano is this you or the ChatGPT malware is writing? -
A comprehensive guide to Delphi programming language functions and procedures
Attila Kovacs replied to pouyafar's topic in VCL
incubation period -
I'm not sure a combobox is the right decision here as it will slow down the process. I'd stick with a listbox or grid or similar with RETURN key and a button for the rookies.
-
I think you can remove POSTED_DDE_ACK
-
Yes, if the file is missing then there is the dproj or a selection splash screen, but I would priorate a config file.
-
Or you could save an extra file in the project dir like .idever
-
di^.ServiceAtom := 0; // GlobalAddAtom(PChar('DELPHI32')); di^.TopicAtom := 0; // GlobalAddAtom(PChar('DELPHI32')); it won't answer on 0/0, just on 'system'/'bds' does D7 support DDE anyway?
-
moving a class implementation from desktop to server
Attila Kovacs replied to David Schwartz's topic in Network, Cloud and Web
It's the same if you let's say, would split out the very same functionality into a console app. It will cost you a lot of refactoring. A lot. But with time, you will get the idea, how to arrange your units and classes for the future. I don't know what I have learned, maybe not to be afraid creating units. A lot of units. -
moving a class implementation from desktop to server
Attila Kovacs replied to David Schwartz's topic in Network, Cloud and Web
Yes. HTTP. https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol -
moving a class implementation from desktop to server
Attila Kovacs replied to David Schwartz's topic in Network, Cloud and Web
Of course. Every new feature, mostly in console apps if it's possible. The result can be tested and easily moved to a lib or other projects. -
Check if database table string field is empty or NULL??
Attila Kovacs replied to Ian Branch's topic in General Help
that is only FB -
Check if database table string field is empty or NULL??
Attila Kovacs replied to Ian Branch's topic in General Help
Then it's a lie. -
Check if database table string field is empty or NULL??
Attila Kovacs replied to Ian Branch's topic in General Help
what the actual f VAR(n) is? -
Check if database table string field is empty or NULL??
Attila Kovacs replied to Ian Branch's topic in General Help
if it's a string field then you can check against empty string => .AsString = '' , both, empty string and NULL will be true (side note: you can set a field to NULL with ".Clear", if it's a nullable field) -
How to open a file in the already running IDE?
Attila Kovacs replied to aehimself's topic in Delphi IDE and APIs
I don't think so. The opposite. My version is more efficient as it only talks to BDE instances. I don't care DDE, neither other apps, it's just for BDE. -
Actually the way how AI will kill mankind is not like in terminator or co., but a copy pasted AI code into some nuclear reactor code or similar 😛
-
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
I tried to look up this for you and as I changed the remote debugging settings it screwed up my custom Version info what I'm using for building the database connection so I had to restore the dproj from a backup as I could not get it work again. You are on your own now. -
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
Last one, did you restart your PC after installing the IDE? 🙂 -
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
-
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
ok, well, I'd try clean/build or remove the .dproj and reconfigure the project.. is this the only one IDE installed on that machine?