Search found 457 matches

by theLizard
Wed Oct 28, 2020 2:09 pm
Forum: Technical
Topic: Converting VARIANTs and FASTREPORT 6
Replies: 2
Views: 65

Re: Converting VARIANTs and FASTREPORT 6

However where the Memo's or my my case cells, are defined via an Array Dataset, Can you give us an example of what is in the array data set? It may be possible to have all the information needed to set color in advance so that you need not check for ">>" in a variant. I don't have enough info to un...
by theLizard
Tue Jun 16, 2020 3:54 pm
Forum: Technical
Topic: TZipFile OnProgress
Replies: 8
Views: 9896

Re: TZipFile OnProgress

Seems you pasted the fileinfo cpp code to the h code too. Oops, completely missed it :? here is the h code. //--------------------------------------------------------------------------- #ifndef TLFileInfoH #define TLFileInfoH #include <SysUtils.hpp> #include <Classes.hpp> // -----------------------...
by theLizard
Sat Jun 13, 2020 10:29 pm
Forum: Technical
Topic: TZipFile OnProgress
Replies: 8
Views: 9896

Re: TZipFile OnProgress

For what it is worth, and should be obvious that it is work in progress, but here is the code for the component (nowhere near complete I may add) The code incorporates the functionality to call up a file dialog to select files for compression or select a folder containing the files to be compressed....
by theLizard
Wed Jun 03, 2020 7:13 pm
Forum: Technical
Topic: TZipFile OnProgress
Replies: 8
Views: 9896

Re: TZipFile OnProgress

Ok, your suggestions worked, I was sooooo close. In the end, I did not need the __closure I needed to add void __fastcall MyProgress(TObject* ASender, UnicodeString AFileName, const TZipHeader &AHeader, __int64 APosition); in private: section of header file. I needed to reinstate zip->OnProgress = &...
by theLizard
Wed Jun 03, 2020 6:47 pm
Forum: Technical
Topic: TZipFile OnProgress
Replies: 8
Views: 9896

Re: TZipFile OnProgress

Then please show THAT code, and indicate WHERE the AccessViolation is occuring. I don't have that code anymore but the code threw the error after assigning an event handler to the OnProgress event and as a file was being added to the zip, the access violation was triggered at the point where OnProg...
by theLizard
Wed Jun 03, 2020 4:24 pm
Forum: Technical
Topic: TZipFile OnProgress
Replies: 8
Views: 9896

Re: TZipFile OnProgress

Why not? What EXACTLY are you having trouble with during the conversion? Initially, before finding the delphi example, I assigned a method to the OnProgress event (as I thought this was the procedure), when adding a file via the Add(filename) which triggers the OnProgress event, I got access violat...
by theLizard
Tue Jun 02, 2020 7:11 pm
Forum: Technical
Topic: TZipFile OnProgress
Replies: 8
Views: 9896

TZipFile OnProgress

Wanting something to do I played around with TZipFile but cannot understand how to implement the OnProgress event, I have seen a delphi example https://stackoverflow.com/questions/51913186/delphi-10-2-how-to-use-the-zipprogress but I don't know anything about delphi, I can read and sort of understan...
by theLizard
Wed Dec 19, 2018 3:21 pm
Forum: Technical
Topic: Windows 10 issues in Berlin 10.1
Replies: 0
Views: 9249

Windows 10 issues in Berlin 10.1

Getting this message "First chance exception at $75421812. Exception class EInvalidPointer with message 'Invalid pointer operation'. Process bimrman_project.exe (2552)" Traced to a known issue with Windows 10 update - "windows\dwm\dwmapi\attribute.cpp(92)\dwmapi.dll!73B33CF4: (caller: 73C390ED) Retu...
by theLizard
Tue Jan 02, 2018 4:09 pm
Forum: Technical
Topic: TWebBrowser
Replies: 2
Views: 12728

Re: TWebBrowser

macicogna wrote:try to open your HTML with IE or Edge and verify if it works properly.
Works fine with all browsers, IE, edge, Firefox

cheers
by theLizard
Mon Jan 01, 2018 7:03 pm
Forum: Technical
Topic: TWebBrowser
Replies: 2
Views: 12728

TWebBrowser

Not sure how to ask this question so here goes, I am loading an html into my TWebBrowser, it loads ok and all looks good BUT not getting the benefit of any of these css and js <link href="css\hint.css" rel="stylesheet" /> <link href="css\hint.min.css" rel="stylesheet" /> <script type="text/javascrip...
by theLizard
Thu Aug 17, 2017 9:11 pm
Forum: Technical
Topic: HTTP Problem
Replies: 12
Views: 65039

Re: HTTP Problem

Thanks Remy, have followed your suggestion eliminating GET all is fine now..

Cheers
by theLizard
Mon Jul 31, 2017 2:32 pm
Forum: Technical
Topic: HTTP Problem
Replies: 12
Views: 65039

Re: HTTP Problem

I am not able to reproduce that given the URL you provided. Are you using up-to-date versions of Indy and OpenSSL? The app uses c++ 2010 so am using the indy components that came with it which I would say are not upto date. Depending on the server's requirements, a GET may or may not be required be...
by theLizard
Sat Jul 29, 2017 12:43 am
Forum: Technical
Topic: HTTP Problem
Replies: 12
Views: 65039

Re: HTTP Problem

The difference being that TIdSSLIOHandlerSocketOpenSSL enables only TLS 1.0 by default, but modern web browsers also enable TLS 1.1 and 1.2 as well. When I enable TLS 1.1 in TIdSSLIOHandlerSocketOpenSSL, TIdHTTP is able to connect to the HTTPS URL and retrieve its HTML normally. Thanks Remy, With y...
by theLizard
Wed Jul 26, 2017 3:53 pm
Forum: Technical
Topic: HTTP Problem
Replies: 12
Views: 65039

Re: HTTP Problem

OK, the libs are loading, no longer getting "Cannot Load Library" error but getting Socket Error 10060 - Connection Timed Out

Should I be doing something with the SSLIOHandler properties or HTTP properties

Cheers
by theLizard
Tue Jul 25, 2017 11:54 pm
Forum: Technical
Topic: HTTP Problem
Replies: 12
Views: 65039

Re: HTTP Problem

HsiaLin wrote:http://docwiki.embarcadero.com/RADStudi ... en/OpenSSL
Thanks for the link, I put libs in my projects folder instead, will try putting them in the right place tomorrow.

Cheers