-
Content Count
1169 -
Joined
-
Last visited
-
Days Won
16
Everything posted by FPiette
-
That is definitely NOT my experience. You have something wrong on your system. Maybe you loaded a bunch of extensions. I only use MMX Code Explorer. If you have the problem you mention, please create a reproducible, minimalist example of code and give detailed instructions to reproduce the issue. Publish it here but for sure on quality.embarcadero.com. Anything else if blablabla.
-
Is 10.0 the first Delphi version that you use ? The risk you are exposed to is that if you don't update your code with each new release, the more difficult it will be. Between two consecutive releases, porting is quite easy. If you skip many releases, it will become more and more complex. Not only for Delphi itself, but also for 3rd party components you use.
-
I moving all my project to Delphi 11. Up to now, I've nearly ONE MILLION lines moved without a single problem. I don't use high DPI. With D10.4, I had to restart IDE from time to time. With D11, it runs continuously, I don't even stop it when my day is done.
-
Maybe create a new message thread with a clear question?
-
One possibility I see is to open a modal form just after the call to ExecuteScript and have that form closed by the callback. The modal form could be empty or even so small that the user won't notice it or it can be a place for a progress bar, a cancel button or just a "please wait" message.
-
You don't wait. As I said, put the code to be executed after JavaScript finished execution in a function and call that function from the callback. A call back function in Delphi terminology is an event handler.. Your app doesn't wait that the user press the "play" button. You get an event when the button is pressed and from there, you start the task you have to do, that is execute JavaScript. Then, you don't wait for the JavaScript execution, you just return. The code to be executed (A position bar on the timeline) once JavaScript is done is called from the WebView2 callback (That is an event). From the "play" button click event, you disable the button and you re-enable it once you get the JavaScript done.
-
You should think "event driven" and no "synchronous". Put all your code after the ExecuteScript call into another function. Then call that function from the callback. Probably your application will need other changes to become fully event driven without using any "wait loop" hack.
-
Evaluating old versions is useless. Before deciding, do your evaluation with Delphi 11 trial (Free for 30 days. Trial <> community edition).
-
That is exactly what I said before in this conversation. You have an OLD Windows version. Current Win10 version is 21H1. This is a real new version, not a simple update. Look at Microsoft release information.
-
I suspect the OP (David Schwartz) has a very old Win10 that was doing many unwanted things by that time.
-
Please tell us what you found. Virus scan, defragmenter,... Look at task scheduler there are a huge number of tasks.
-
Problems connecting FTPMultiClient with Explicit TLS?
FPiette replied to Nathan Wild's topic in ICS - Internet Component Suite
That's a good and a bad news 🙂 If you application grab a file from iCLS Client, then it is likely a system path issue. Remove the directory from the path and restore the file so that iCLS Client will work again (If you don't use that product, you could - probably - uninstall it as well). Now that you get the correct DLL from your application directory, you can start again all tests and checks Angus suggested to understand what is wrong with it. But before trying with your own application, try with one of the ICS samples that we are sure the code is correct. -
Problems connecting FTPMultiClient with Explicit TLS?
FPiette replied to Nathan Wild's topic in ICS - Internet Component Suite
Use ProcessExplorer to see exactly which (full path) DLL your application has loaded. Then given which one it is, find the reason why that one is picked by the system. You could also remove that old version (Keep it in a safe place in case one of your applications depends on it). -
Do you mean that for a given application on a give computer, sometimes some buttons and checkboxes (but not all) are missing? Or do you mean that for some application it works and for other it doesn't - always? Is it VCL or FMX application? When you create a simple program, does it happens ?
-
Problems connecting FTPMultiClient with Explicit TLS?
FPiette replied to Nathan Wild's topic in ICS - Internet Component Suite
You application is probably blocked by Windows firewall which blocks by application. Look into the firewall rules (Advanced settings). -
Try ICS (Freeware) : http://wiki.overbyte.eu/wiki/index.php/Main_Page or using GetIT from Delphi IDE. If you need help with ICS, don't post here but in the a dedicated forum: https://en.delphipraxis.net/forum/37-ics-internet-component-suite/
-
You should buy only components delivered with full source code. And more: you should rebuild the components as part of your application project group to be sure you have all the bits and pieces of the components. Never use prebuild dcu nor dll! Then as @Uwe Raabe said above, you'll will probably never be annoyed to much with new Delphi compiler. Most of the time only minor adjustments are required and vendor is not needed. If you really need the vendor and you are an experienced Delphi developer then stop using those components. They are not well written or the vendor want to lock you with his product and force you to buy an upgrade.
-
YouTube playback & control using WebView2 on Delphi 7
FPiette replied to Yaron's topic in Windows API
Not many work hours into that price. Why don't you use Delphi community edition to build the DLL yourself? Later you can ask someone with a valid license recompile it for you. -
Is the app VCL or FMX ? Which component set are you using ? You don't show much but it doesn't look standard Delphi components. Do the users have a HiDPI monitor ? What is your and their zoom factor for text size (In Windows display settings).
-
Could you be more specific about what doesn't work as you expect? Maybe add some screen shots showing the issues? Which component is not showing correctly? If you think Delphi 11 has a problem, please write a report at https://quality.embarcadero.com.
-
YouTube playback & control using WebView2 on Delphi 7
FPiette replied to Yaron's topic in Windows API
How much are you ready to pay for such a DLL? Would probably cost more than upgrading your Delphi version. -
Did you reinstalled the same Delphi version that you had before and for which you have a license key? By the way, you should have a backup of your system and restore that backup. That way all your software would be still installed and registered. Now, once your system is up and running again with all important and costly software reinstalled, you'll start to backup it regularly. I suggest you use a tool like Macrium Reflect to create images and rescue disk. Of course you need [removable] disk with same capacity.
-
/* Don't be offended */ Many peoples are asking questions about how to implement a solution to a problem they have. You gave the reason why you are asking your question and I gave answers to help solve the update problem you have (I don't have that Windows 10 update so there should be no reason for you to have it). Probably you can achieve your goal by launching netsh utility from your Delphi code. Look at the doc: https://docs.microsoft.com/en-us/windows-server/networking/technologies/netsh/netsh-contexts
-
Which version do your have ? There are several DIFFERENT Windows 10 version. It has been largely enhanced since the first version! Major updates are in the optional updates so you probably are still running the first version. That would explain the different behavior between your WIN10 and mine. Currently the last major release is named "21H1". See attached image from my system.
-
You system must be badly configured. I never have a force reboot using Win10 PRO: the system tells me a reboot is required but don't reboot by itself (You can also set the working hours so that the system still reboot but only in the non-working hours). I suggest you have a better look at all the related setting. And also make sure you have the latest Windows 10. Currently this is version 21H1.