| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 911 online users. » 2 Member(s) | 905 Guest(s) Applebot, Bing, DuckDuckGo, Google, 123bcasinoofficial, ex88mobile
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 03:02 AM
» Replies: 0
» Views: 79
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 77
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 90
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 351
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 180
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 529
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 173
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,078
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 306
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 871
|
|
|
| MailGun demo |
|
Posted by: asp - 04-04-2018, 09:14 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hi!
I have several questions about MailGun demo. How do you bind intraweb buttons (IWButton_Post and IWButton_Get) with their html counterparts? Why not just use {%IWButton_Post%} in the template?
|
|
|
| migrate my Intraweb 14.0.36_20141215 sources Delphi XE5 to delphi ToKyo 10.2. |
|
Posted by: André Manin - 04-03-2018, 08:22 AM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
Hello,
I need to migrate my Intraweb 14.0.36_20141215 sources Delphi XE5 to delphi ToKyo 10.2.
There are several problems that I would like to solve without hacking.
the first:
Code: Unit InGlobal
function InterlockedCompareExchangePtr(var VTarget: Pointer; const AValue, Compare: Pointer): Pointer;
{$IFNDEF DYNAMICLOAD_InterlockedCompareExchange}
{$IFDEF USE_INLINE}inline;{$ENDIF}
{$ENDIF}
begin
{$IFDEF DYNAMICLOAD_InterlockedCompareExchange}
Result := Pointer(InGlobal.InterlockedCompareExchange(PtrInt(VTarget), PtrInt(AValue), PtrInt(Compare)));
{$ELSE}
{$IFDEF HAS_TInterlocked}
Result := TInterlocked.CompareExchange(VTarget, AValue, Compare);
{$ELSE}
{$IFDEF HAS_InterlockedCompareExchangePointer}<= Comment on définit ?<3>
Result := InterlockedCompareExchangePointer(VTarget, AValue, Compare); peut-être bon<2>
{$ELSE}
{$IFDEF HAS_InterlockedCompareExchange_Pointers}
//work around a conflicting definition for InterlockedCompareExchange
Result := {$IFDEF FPC}system.{$ENDIF}InterlockedCompareExchange(VTarget, AValue, Compare);KO< 1>
{$ELSE}
{$IFDEF FPC}
Result := Pointer(
{$IFDEF CPU64}InterlockedCompareExchange64{$ELSE}InterlockedCompareExchange{$ENDIF}
(PtrInt(VTarget), PtrInt(AValue), PtrInt(Compare))
);
{$ELSE}
// Delphi 64-bit is handled by HAS_InterlockedCompareExchangePointer
Result := Pointer(InterlockedCompareExchange(Longint(VTarget), Longint(AValue), Longint(Compare)));
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
end;
<1> KO. I understand
<2> perhaps good
<3> how to force the directive:
Code: HAS_InterlockedCompareExchangePointer
and is it the good method?
Regards
André Manin
|
|
|
| IW using Symbolic link path |
|
Posted by: mhammady - 04-03-2018, 04:48 AM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Hello,
I tried to download files by adding a Directory symbolic link to their location under wwwroot folder, but files were not accessible under IW app.
I checked the symbolic link folder using the IIS and it was working fine (after adding MIME type ".*" as application/octet-stream).
Thanks in advance...
Mohamed
|
|
|
| idIMAP4 Help required |
|
Posted by: david_navigator - 03-27-2018, 10:22 PM - Forum: Indy
- Replies (3)
|
 |
Hi
I'm after a bit of help with idIMAP4.
I'm reading an IMAP folder using the UIDRetrieveAllEnvelopes method, a week later I want to get all the new emails that have arrived since the last read.
Currently I'm calling UIDRetrieveAllEnvelopes a second time and then looking at the messages with a greater UID than the max retrieved previously.
Up to now this has worked OK, but today I came across an IMAP folder with > 100,000 emails in it and so even UIDRetrieveAllEnvelopes take a very long time.
I feel that there should be a faster way to get all the new emails, but I can't see how - am I missing some methods that might help here. Obviously I can't just go on the Mailbox count as I've no idea what the user might have done in some other IMAP app e.g deleted emails etc between my apps reads.
Thanks
David
|
|
|
| Lock during async event? |
|
Posted by: cpstevenc - 03-25-2018, 03:18 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Using Registered Ultimate Intraweb 14.2.7 with Tokyo update 2.
I have a TIWEdit Async keypress event for when enter key is hit.
It takes the input and does some database magic and updates the screen,
and clears the edit box and sets focus back to it. Pretty simple deal.
Well depending on a few things that could be typed in there, the process it may kick off
could be 2-3 seconds maybe.. I'd like to when this condition is hit to lock the screen.
I keep finding things about IWLocker / and LockAsyncEvents ... I can't find much about IWLocker usage
directly, and LockAsyncEvents seems to be for a few specific usages.
So basically, how do I lock and unlock during these certain conditions?
|
|
|
| How to limit the information of a Tidlog file |
|
Posted by: RCléroux - 03-24-2018, 08:21 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
https://stackoverflow.com/questions/49347189/how-not-to-include-the-information-of-the-files-appended-to-the-log-tidlog-file
The log file (Indy) of an email in SMTP format includes the information of the attached files that are not necessary for my needs.
Adding information from attached files greatly increases the log file and causes me problems reading this information. I keep this file in a "blob" field of the database. Reading this field is causing me problems. Do you have an example of a code that retains this information (other than the files attached)?
Here is the answer to this question:
The default TIdLog... components are meant to log whatever raw data is being transmitted/received over the socket connection, for purposes of debugging and replaying sessions. There are no real filtering capabilities. If you don't want portions of the emails being logged, you will have to use TIdLogEvent or TIdConnectionIntercept, or derive a custom TIdLog... or TIdConnectionIntercept... based component, to parse the raw data yourself, essentially re-implementing the SMTP and RFC822 protocols so you can choose to log only what you want
Do you have an example that would allow me to remember the information transmitted without the information of the linked files?
|
|
|
| Session specific files |
|
Posted by: mhammady - 03-24-2018, 07:08 PM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Hello,
I have files stored in the DB. Those are confidential files, and we need to make them available ONLY to the user with a session. We don't want them to be available to other users who can track the URL traffic.
Is there is a way to store these files I a place only accessible to the genuine user with a valid session with IW 14.2.7?
Thank you
Mohamed
|
|
|
|