| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
07-14-2026, 06:27 AM
» Replies: 6
» Views: 773
|
Need Help Integrating Mic...
Forum: IntraWeb General Discussion
Last Post: capheny
07-07-2026, 06:43 AM
» Replies: 0
» Views: 133
|
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
07-05-2026, 02:41 PM
» Replies: 5
» Views: 446
|
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 181
|
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 113
|
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:19 AM
» Replies: 4
» Views: 4,377
|
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 152
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 924
|
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 170
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 71,342
|
|
|
| AV on FinalizeDataOperations - Delphi5 |
|
Posted by: GrahamRola - 10-31-2018, 01:44 PM - Forum: Indy
- Replies (1)
|
 |
Delphi 5
Indy 10 5473
I call List in ftp component and it returns the appropriate data.
when the FinalizeDataOperation; is called I get an AV read of address 0xea5278ed.
I Put a breakpoint at the begin of GetResponse and looked at
the call stack (shown below);
What could possible be causing the AEncoding to be anything other
than Nil?
Couple of other things of note.
When I place mouse over AAAllowedResponses it only shows (226) not ([226, 225, 250]);
There are 9 calls to GetResponse before this final call that all show Nil in AEncoding
Code: procedure TIdFTP.FinalizeDataOperation;
...
end else begin
//ftp.marist.edu returns 250
GetResponse([226, 225, 250]); // call that generates AV
end;
end;
Code: function TIdTCPConnection.GetResponse(const AAllowedResponses: array of Int16;
AEncoding: IIdTextEncoding = nil): Int16;
begin // break point inserted here
GetInternalResponse(AEncoding);
Result := CheckResponse(LastCmdResult.NumericCode, AAllowedResponses);
end;
Call Stack
TIdTCPConnection.GetResponse((...),Pointer($55E4E3) as IIdTextEncoding)
|
|
|
| Issue with nested frames in IW15 |
|
Posted by: magosk - 10-30-2018, 09:44 AM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
We have discovered an issue in one of our web applications that slipped through our initial tests when migrating from IW 14.2 to IW 15. When you have a frame inside another frame, it seems like the HTML naming convention in IW15 has changed so that a control from the innermost frame gets its full HTML name from the outermost frame + the control name (rather than from the innermost frame + the control name). In most cases this does not matter, but we have a frame (call it ParentFrame) which contains two instances of another frame (call them ChildFrame1 and ChildFrame2). The problem is that the two child frames contains controls (an edit and two links in each) that will end up with identical HTML names, which has the effect that the link OnClick event handlers only work in one of the child frames. Any ideas on how to solve my problem? I cannot change the HTMLName property as it is read-only. Just for testing, I experimented with changing the control names in ChildFrame2 at runtime (although I know there are strong warnings against doing this in Delphi), and while I could get the link OnClick handlers to trigger this way, the text from the edit control is not properly extracted.
|
|
|
| Issue with List of Objects |
|
Posted by: jgilmour - 10-30-2018, 06:42 AM - Forum: CrossTalk General Discussion
- Replies (1)
|
 |
Hi All,
I am currently evaluating Crosstalk for our companys use, and am having an issue with generating one of our .NET DLL classes.
Crosstalk correctly creates the base classes, but the class also has a property that is a list of objects that is not generating.
ie It creates base classes of TagReport and Tag. TagReport should contain a List of Tag objects but this appears to not be generating.
On Crosstalk generate screen I get a message "Type: TagReport. Property: Tags. skipping Generic Type"
Am I missing any required types for mscorlib in order to generate lists or something?
Am currently using Trial version 2.0.27
Cheers
|
|
|
| Problems with NonEditableAsLabel property |
|
Posted by: mondoedp - 10-29-2018, 04:10 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hi,
we are experiencing some troubles when using TIWEdit,TIWDBEdit and similar classes when their property NonEditableAsLabel is set to True in IW 15.0.14.
In some projects made on IW 12 we needed to change at run time the Editable property and all worked fine: anytime we switched the Editable property to True, the next render the components were created as HTML input text. With False, they were rendered as a span. Client and server were correctly alligned about these components value (I could see that in the form sent in the request body we always had a field for this components, regardless of their Editable property).
In IW 15.0.14 this doesn't happen anymore: if we render a component with Editable set to False (rendered as HTML span) and the we change the property to True, this component doesn't become a input text anymore. The hidden IW form always contains the field value, but it's empty. So client and server are not aligned (for these object I'm always getting a '' string).
Also, with NonEditableAsLabel is True, the data aware components don't seem to work well with Editable to True too.
Someone had similar problems?
To Atozed: I can provide a test application if you need one.
Kind regards.
Marco Gallizio
MondoEDP s.rl.
|
|
|
| Blank page in Delphi 10.2 and IW14 2.8 |
|
Posted by: v.lasquibar@telefonica.net - 10-29-2018, 07:37 AM - Forum: IntraWeb General Discussion
- Replies (17)
|
 |
Hi
I have Delphi 10.2.3. Past week I downloaded my IW Key and last version (IW 14.2.8). I've tried to run some of the sample projects, but for all of them I get a blank page, without any error.
If I install an old version (IW 14.1.12) the samples runs fine, and my test applications as well.
Could you please help me?
Best regards
Venancio Lasquibar
|
|
|
| INDY Cross Platform |
|
Posted by: Cirrus22 - 10-28-2018, 11:38 PM - Forum: Indy
- Replies (5)
|
 |
I apologise if this is a trivial question. I have looked in the documentation (the PDF is copyrighted 2006 so I am unsure of the currency), done the usual web searches, stack overflow etc, but nothing definitive. There are numerous parts of the documentation that say:
Quote:Additional code changes may be required to maintain cross platform compatibility, as discussed in previous sections.
I'm note even sure what that means.
Regardless, I have a third party component that uses Indy. I have asked the vendor whether it is cross platform. His advice is that 'his' code is cross platform, but he uses INDY and INDY is not cross platform. INDY uses
Quote:The component is not compatible with Firemonkey as it uses DLL files form Indy and the DLLs aren't cross-platform.
To which I replied:
Quote:According to StackOverflow, INDY works with FMX (and in my case macOS) and has for some time. Since there is nothing visual the VCL doesn't get invoked (this is from 2011).
Quote:Indy ships with the IDE (and has since D6) so there is nothing extra to buy if you already have XE2 installed. Also, Indy is open-source, so you can upgrade an Indy installation using source code from Indy's public access SVN server or mirror.
Regarding FireMonkey, Indy does work in FireMonkey. Indy uses whatever the native socket API is on a given platform (WinSock on Windows, Posix on Mac, libc on Kylix, etc).
The only known gotcha with Indy under FireMonkey at the moment is the TIdAntiFreeze component is not available at design-time. The IDE cannot resolve it correctly due to the non-standard way it is packaged (to be adressed in Indy 11). You can instantiate it programmably in code at run-time, though.
To which he replied:
Quote:Indy works with Firemonkey, although the 2 DLL files included (ssleay32.dll, libeay32.dll) aren't cross-platform.
So I have been having a discussion with a vendor who is simply a user of INDY and I don't think he quite has all of the knowledge. Further, whilst his code might work with FireMonkey, it will only do so in Win32 mode, he uses Registry and other windows dependent units AFAICT.
Regardless, and so my (apologetically trivial) question: Is INDY (latest version) Cross Platform, ie. can I use it in my application that is to be deployed on macOS? and if so, is there anything 'special' I would need to do?
For the record, his USES clause contains these references to INDY components:
IdHTTP,
IdLogFile,
IdComponent,
IdSocks,
IdSSLOpenSSL;
|
|
|
IMAP - debug a EIdSocketError # 10060 connection timeout error under a complex env. |
|
Posted by: edwinyzh - 10-27-2018, 01:41 PM - Forum: Indy
- Replies (4)
|
 |
My multi-threaded program uses TidIMAP4 to access Gmail's IMAP server with OAuth 2 authentication.
My computer's network environment is a little complex - here we have the GFW blocking overseas services including Gmail, so the program connects through OpenVPN(through stunnel) and ShadowSocks proxy.
The setup works for other programs including Chrome, etc.
With the setup my program's thread 2 had several successful login, but most of the time, it fails to connect with the 'EIdSocketError: Socket Error # 10060 Connection timed out.' error.
With TIdLogEvent I can see that there is no data coming in and out. And this is thread 2, but thread 1 is ok - it can connect, login, select mailbox, and so on.
the logic works like this: thread 1 login and download folder/label list, email IDs, and so on, when done, it pushes the downloaded data to a queue and several instances of 'thread 2' will start to login. And the above described error happens in 'thread 2'.
I know the issue might come from the GFW, but the strange thing is why 'thread 1' can login but 'thread 2' fails? They login with the same function and same parameters.
I intend to diagnose with Wireshark, but don't know how to setup after trying many kinds of setup.
Any hints or suggestions? Thanks.
PS, the program most of the time works with direction Internet connection on a remote windows VPS which is located in the US, but still sometimes it gets the "EIdReplyIMAP4Error" exception
|
|
|
|