-
Content Count
1200 -
Joined
-
Last visited
-
Days Won
16
Everything posted by FPiette
-
Developing apps for GPS related info, i.e., miles/speed/location/etc
FPiette replied to JohnLM's topic in General Help
You showed the features you want your application have. Good. But what can you do and what can't you do? To answer to your exact question: Yes, it is possible to do it with Delphi 11.2 and free components/services/API's. -
Do you mean it works now?
-
Are you sure about NVIDIA P600 Quadro? I ask because this NVIDIA model is not for a laptop. And I have an HP ZBook 12 G2 which use Intel graphics included in the i7. Anyway, whatever the graphic card is, make sure you have the latest driver installed.
-
So you ask X with the intent of solving issue Y that you don't explicit. Instead of launching cmd.exe, just start ping.exe and kill it when you want.
-
This won't answer your question directly, but why not simply use TPing component from ICS inside your application? ICS has several demos for the component: OverbyteIcsPingTst, OverbyteIcsPingTst64 and OverbyteIcsConPing. You can download open source ICS from https://wiki.overbyte.be and also directly from Delphi IDE (GetIT menu). If you need help, there is a dedicated forum on this server: https://en.delphipraxis.net/forum/37-ics-internet-component-suite/
-
No need to call AllocConsole: it is enough to check "make console application" in the project options AFTER having created a GUI application. Delphi RTL will create a console Window. Not that it is not enough to run cmd and powershell! See my previous message.
-
You have to launch the corresponding command interpreter executable. If you don't want to have it in a separate floating window, you must redirect input and output to your own application using pipes. You'll easily find numerous Delphi libraries for the purpose. Search "Delphi Redirect input output" or "interprocess communication using pipes" (remove double quotes) with your favorite search engine.
-
What you seems not understand yet is that Send() don't send data! It just put data in the send buffer and let the component send it when the network is able to accept it. Your application code continue to run long before the data is completely sent. That is asynchronous operation.
-
You are wrong. You cannot see transmission error before the actual communication is done later, potentially long after send() method returned.
-
I think that if you have a need for such change you don't use ICS as you should. Remember it is asynchronous. Send just means that the data is buffered and will be send as soon as possible. It is correct to return the number of bytes successfully written in the send buffer. Written in the send buffer DOES NOT mean it has been sent at the time Send() returns. If you tell us which problem you actually try to solve, then we could probably help you solve it.
-
Digest Authentication in THttpCli
FPiette replied to Vitao's topic in ICS - Internet Component Suite
That is not enough to find the error. You have to run the application under the debugger (Use debug build) and provide the source code around where the exception is triggered. If the exception is triggered when USE_SSL is defined, make sure you have the correct OpenSSL libraries deployed with your application. See https://wiki.overbyte.eu/wiki/index.php/ICS_Download#Download_OpenSSL_Binaries_.28required_for_SSL-enabled_components.29 -
OverbyteIcsLIBEAY : EAccessViolation
FPiette replied to AndreL's topic in ICS - Internet Component Suite
Please provide the exact line in the source code where the exception occurs. "Ecriture de l'adresse 00000008. " usually means accessing a object using (Item at offset 8 in the object's data) a nil reference. -
W1057 during D7 -> D11 conversion
FPiette replied to Bart Verbakel's topic in Algorithms, Data Structures and Class Design
Is this a kind of database for the application data? -
If you want access to the properties and events at design time, there is no other way than creating and installing a new component having those properties and events. If you want access the properties and events only at runtime, then no need to create a component. Just create a new class deriving from some ancestor and add the properties and events.
-
Not the best idea in the world! Tell us why you need so much threads? Look at OverbyteIcsHttpAsy demo project to get inspiration.
-
Look at the examples in the document (https://redirect.jforce.be/api/v1/doc/examples). Note that this API is probably not available in Mexico. You have to contact the companies or banks which are providing the payment terminal. They surely have a similar (if not the same) API.
-
Maybe reading this documentation would help you : https://redirect.jforce.be/api/v1/doc This is probably not exactly the same in your country but you've got the idea about how it works when connecting a payment terminal to your POS application.
-
He just has a first customer. He will sell it a a price under his costs and will then sell it to other customers.
-
Never used App Thethering but I assume you get and exception when the other party is not started. Just catch the exception and try again after a short delay.
-
Splash should probably shown modal. Then when it closes, open the other form(s).
-
Scanning for files while they are created or deleted
FPiette replied to Marus's topic in Windows API
I don't see any issue getting file names which are already deleted. You will discover it when you open the file the the backup. Just handle that case. Anyway, you have to handle it is case of any other error. You can be notified about changes in the file system by using FindFirstChangeNotification (https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-findfirstchangenotificationa). Even if you get delete notification, you will need to check when you open the file because there will always be a race condition. You'll also have an issue with files which are open at the time you open it for backup. To solve this, you need Windows Volume Shadow Copy Service (VSS) (https://learn.microsoft.com/en-us/windows-server/storage/file-server/volume-shadow-copy-service) -
Has anybody successfully compiled and used Overbyte ICS for C++Builder?
FPiette replied to Bevan E's topic in General Help
FYI: SHDOCVW.OBJ is Microsoft's Shell Doc Object and Control Library (Implemented in SHDOCVW.DLL), part of Internet Explorer (Encapsulated by Embarcadero TWebBrowser component). SHDocVw.pas, SHDocVw.dcu, SHDocVw.hpp are delivered by Embarcadero and there is also a SHDocVw.lib that you may need to link with your application? -
I don't think it is possible. MAPI is a local API. Think about using a SMTP component to send your email instead of MAPI. There are a number of SMTP client component available for Delphi. I recommend using ICS (wiki.ovebyte.be). If you have questions, there is a dedicated group on the forum server for ICS support: https://en.delphipraxis.net/forum/37-ics-internet-component-suite/
-
Has anybody successfully compiled and used Overbyte ICS for C++Builder?
FPiette replied to Bevan E's topic in General Help
Do you mean Microsoft demo project? If it is, first check your WebView2 setup (Use release version, see https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/versioning). -
Has anybody successfully compiled and used Overbyte ICS for C++Builder?
FPiette replied to Bevan E's topic in General Help
Maybe the answer is in this article : https://blogs.embarcadero.com/new-in-getit-aws-sdk-for-delphi-and-edgebrowser-updates/ Also interesting: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution