-
Content Count
1167 -
Joined
-
Last visited
-
Days Won
16
Everything posted by FPiette
-
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 -
Has anybody successfully compiled and used Overbyte ICS for C++Builder?
FPiette replied to Bevan E's topic in General Help
This message means the compiler doesn't find ReceiveTB method implementation. Since it has been introduced not long ago (In V8.70), I suspect you have and old OVERBYTEICSWSOCKETS.OBJ hanging somewhere in the search path. Or maybe C++ compiler doesn't understand correctly the overloaded ReceiveTB method? I suggest you create a test application having a single form with a TWSocket and TButton dropped on it and a call to both overloaded version of ReceiveTB from the button's OnClick event handler. The code doesn't need to do anything useful neither to run correctly. The goal is only to understand with the simplest code possible if the compiler and linker understand/find ReceiveTB method. -
That doesn't answer all my questions.
-
Look at this: https://github.com/WouterVanNifterick/C-To-Delphi Which pascal dialect do you need? What part did you already have done? There are dependencies you' have to port as well. At first glance what you ask looks like a huge task. What would be your benefit? Can't you just compile the C code?
-
Has anybody successfully compiled and used Overbyte ICS for C++Builder?
FPiette replied to Bevan E's topic in General Help
Could you try with one of the sample provided with ICS? And/or create a simple test project with only a single form and a TWSocket component dropped on it, nothing else? Make sure you use ICS from the latest nightly snapshot or from the SVN repository. -
Has anybody successfully compiled and used Overbyte ICS for C++Builder?
FPiette replied to Bevan E's topic in General Help
Looks like you have two ICS versions. -
Create Class at run time with an AncestorClass and a ClassName
FPiette replied to Robert Gilland's topic in RTL and Delphi Object Pascal
Not directly possible. If you explain why you think need that, and given an example of usage (the call!), maybe we can give a better answer... -
No, you are doing wrong. You are making a shortcut. 98% of Delphi users don't care about math speed for what they have to do with Delphi.
-
One may create an issue at the GitHub repository just to ask for licensing.