-
Content Count
1167 -
Joined
-
Last visited
-
Days Won
16
Everything posted by FPiette
-
Can the packages setup be updated for ICS in new versions?
FPiette replied to Geoffrey Smith's topic in ICS - Internet Component Suite
Maybe because even if you write a note in the readme file, the user keep asking for a package with his specific version number ? Or just because they always have done so 😉 -
That is related to InfoVersion that can be displayed by Windows when you right-click on a file and select properties. Windows tries to display the InfoVersion in the current language. If it doesn't exists (You may create InforVersion in different language), then it will display the default one.
-
Can the packages setup be updated for ICS in new versions?
FPiette replied to Geoffrey Smith's topic in ICS - Internet Component Suite
Shouldn't this be done using conditional compilation in source code? -
Can the packages setup be updated for ICS in new versions?
FPiette replied to Geoffrey Smith's topic in ICS - Internet Component Suite
I don't grab what you mean. Can you give an example of customization? -
OK. And which version did you buy? Without active update subscription, you can download only what you bought.
-
Maybe you missed it, but the problem is solved:
- 22 replies
-
Can the packages setup be updated for ICS in new versions?
FPiette replied to Geoffrey Smith's topic in ICS - Internet Component Suite
Which component? -
Can the packages setup be updated for ICS in new versions?
FPiette replied to Geoffrey Smith's topic in ICS - Internet Component Suite
That would be really cool! I suggest using JSON because it is widely used nowadays and ICS contains a JSON builder/parser (OverbyteIcsSuperObject.pas taken from https://github.com/hgourvest/superobject). -
Can the packages setup be updated for ICS in new versions?
FPiette replied to Geoffrey Smith's topic in ICS - Internet Component Suite
Same problem for each of us. -
Can the packages setup be updated for ICS in new versions?
FPiette replied to Geoffrey Smith's topic in ICS - Internet Component Suite
I create a lot of components using ICS and I never had this problem. I always add ICS source code to whatever component/application I create and never use run time packages. And by the way, ICS exist for the last 27 years and no one ever asked to change package naming. This being said, I'm not against it. It is just that I have better use of my spare time 😉 Try to convince Angus which does almost all changes for several years now. I'm sure he read this. -
ICS (Internet Component Suite) will do everything you ask. ICS is freeware with full source code. If you need help for using ICS, there is a dedicated forum on this website : https://en.delphipraxis.net/forum/37-ics-internet-component-suite/
-
I have this document : http://wiki.overbyte.be/arch/IcsMidwareCodingStyle.pdf It partially answer your request.
-
Better way to maintain a list in a database table??
FPiette replied to Ian Branch's topic in General Help
I forgot to say there is a standard for log file: SysLog. And there are provision to send the lines (Events) to a SysLog server using the Syslog protocol (RFC5424). I even wrote a pair of ICS components for that purpose: TSysLogServer and TSysLogClient. Those component allows to have a centralized, remote management system for the log. There are two corresponding demos in ICS. Look at the source code because documentation is almost non existent. Ask for your question in https://en.delphipraxis.net/forum/37-ics-internet-component-suite/ -
Better way to maintain a list in a database table??
FPiette replied to Ian Branch's topic in General Help
Depending on what you need to do with the log (For example searching), you may simply use a text file and append the line at the end of the file. That is how most log files are built. If you are running on Windows, you may also use the Windows Event Log feature for which there is an API. And of course using a database is also an option. How to select between those solution and probably other depends on your use case that you don't describe at all... -
If you are using ICS within a worker thread, you have to create a message pump. See the sample applications delivered with ICS there are several showing how to use a message pump which is not Application.ProcessMessages.
-
Is asked ChatGPT: What is Internet Component Suite for Delphi?
FPiette posted a topic in ICS - Internet Component Suite
-
Is asked ChatGPT: What is Internet Component Suite for Delphi?
FPiette replied to FPiette's topic in ICS - Internet Component Suite
You have to tell it that the answer is wrong and why it is wrong, not ask the same question. Each time you say it is wrong, you get a new answer which finally is a correct answer, at least when I asked a program using ICS. -
Is asked ChatGPT: What is Internet Component Suite for Delphi?
FPiette replied to FPiette's topic in ICS - Internet Component Suite
You can tell ChatGPT that it gave a bad answer and what is wrong in his answer. ChatGPT will then provide another answer. Sometimes you have to tell it the answer is wrong and finally it gives the right one. That's funny. -
25 / 5.000 Resultados de traducción Resultado de traducción ICS delphi 11 installation
FPiette replied to Guillermo Ferrada's topic in ICS - Internet Component Suite
You are building for Win64. This is incorrect for design time package. Change the target to Win32. If you are not using the build groups then you have to do that manually (Design time packages are ALWAYS targeted as Win32). Better use the build group to have the correct target automatically selected. 1. Open D110InstallVclFmx project group. 2. Show "Projects window" Ctrl+Alt+F11. 3. Click on "Show Build Groups pane" button in the projects windows toolbar. 4. In build groups pane, select "VCL and FMX" as active group. 5. Click "Build the current build group" in the build groups pane toolbar. BTW: Be sure to post your messages in English. Use Google Translate if you need to. -
How to connect to wss:// server ?
FPiette replied to wright's topic in ICS - Internet Component Suite
Uninstall the package you got from GetIT (This is not frequently up-to-date) and follow the instructions in Readme8.txt in the daily zip (Or from the subversion repository). In short: Installation is just compile the packages for your Delphi version. There is a folder in the zip file containing group project for various compilers. For Delphi 10.4, open D104InstallVclFmx.groupproj and compile all projects and install all design time packages. For ease of use you may add source and source\include folders to the IDE search path. -
Well, those are old functions that I was convinced to write. I assure you there are side effects that can be annoying (If you click on a button while a "Sync" function is working, the button event handler is called and could cause reentrancy issues if you do take care of it) if you don't master how Windows messaging system work. I keep the old "Sync" functions to preserve compatibility with old code peoples are still using (You may know that ICS is 26 years old and most if not all code written by then is still working unchanged).
-
What is the exact error you get? In your code, did you test every possible error return?
-
If you are looking for that, you are probably on the wrong track using ICS. It is much better to design your application using asynchronous operation only.
-
Run the installer with administrative rights. Do you have an anti-virus software? If you do, do a full scan of your computer and then deactivate it before installing and reactive it again after. Use the command line "SFC /scannow" to check your Windows integrity. Do you have Windows own protection against ransomware activated? This make a lot of directories read-only unless you give permission? Is your Windows up-to-date we are at version 22H2 for both Win10 and Win11. If you Internet connection is not reliable, try downloading the ISO file (Offline installer) and install from it.
- 22 replies
-
Using ChatGPT from your Delphi program with ICS
FPiette posted a topic in ICS - Internet Component Suite
I designed a simple demo showing how to query ChatGPT using Delphi code and ICS, and show answers. The source code is there: https://github.com/fpiette/DelphiChatGPT