Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 98,058
» Latest member: williamhillpolska
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1353 online users.
» 5 Member(s) | 1345 Guest(s)
Applebot, Bing, Google, Betzillopokiesaus, go88club10com1, hitclubsiro, kuwinaicom1, williamhillpolska

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 179
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 147
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 159
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 467
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 234
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 634
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 221
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,236
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 355
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 979

 
  2 Intraweb installations
Posted by: neo1667 - 03-01-2019, 07:27 AM - Forum: IntraWeb General Discussion - Replies (1)

Hello,

Is it possible to have 2 instalations of Intraweb in the same computer without problem, conflict :

- 1 Intraweb 14 with Delphi Tokyo
- 1 Intraweb 15 with Delphi 10.3.1

they are two ultimate versions of Intraweb. The goal is to migrate from Delphi Tokyo to Delphi 10.3.1.

thank you for your help

Regards,
Dany

Print this item

  IWCL_HookEvent in IWCommon.js correct?
Posted by: jeroen.rottink - 02-28-2019, 06:09 PM - Forum: IntraWeb General Discussion - Replies (5)

This function is called internally by IW to attach an event handler to an object. For example an onclick event.
If the html already declares an onclick event listener for that object, IWCL_HookEvent moves this original event handler to an internal structure (array[]) and adds the new one.
This way they both get called I presumed but that didn't work.
Debugging the code I am not sure if following is ok.

Code:
   IWCL_HookEvent: function(eventName, eventHandler) {
       var i = IW.Events.findByName(eventName);
       logMessage("IWCL_HookEvent(): eventName = " + eventName);
       if (this.IEEventHandlers[i] == null) {
           this.IEEventHandlers[i] = [];
           var xEventName = "on" + eventName;
           if (this[xEventName] != null) {
               this.IEEventHandlers[0] = this[xEventName]       // <<-- replace with this.IEEventHandlers[i][0] = this[xEventName]  ?????
           }
           this[xEventName] = IW.Events.IWEventHandler;
       }

Print this item

  Bootstrap IW DatePicker
Posted by: ShaneStump - 02-28-2019, 05:50 PM - Forum: IntraWeb General Discussion - No Replies

Howdy All!

Has anyone using the bootstrap with IW 15 figured out how to set the valid date range of input control when it is set to date?

I find many examples around web but it seems everyone has a 'different' date picker they are using with bootstrap.

** Update **

I just realized the input control was using an HTML 5 control so I added the min/max properties.

Thanks in advance,

Shane

Print this item

  Sample 10.3 POP3 code moving from Indy 9 on D7
Posted by: jackmason@mindspring.com - 02-27-2019, 07:47 PM - Forum: Indy - Replies (4)

Converted our D7 & Indy 9 application to Studio 10.3 & Indy 10 with one exception:   POP3 email processing.  Under Indy 9, our code worked as we wished.  Moving to Indy 10 apparently requires an additional module which we have yet to identify.

The following identifiers become 'undeclared idenitifier":

 [            if (EmailMsg.MessageParts.Items[Jdx] is TIdAttachment) then


              if EmailMsg.MessageParts.Items[Jdx] is TIdText then

              pnlAttachments.visible := true;
              li := lvMessageParts.Items.Add;
              li.ImageIndex := 8;
              li.Caption := TIdAttachment(Msg.MessageParts.Items[Jdx]).Filename;
              li.SubItems.Add(TIdAttachment(Msg.MessageParts.Items[Jdx]).ContentType);
]

We greatly appreciate the Indy Project it has been a great assistance to us since the release of Indy9.

Jack

Print this item

  Intraweb DUnit Testing
Posted by: cpstevenc - 02-27-2019, 05:35 PM - Forum: IntraWeb General Discussion - Replies (22)

Using Toyko 10.2.3 with the "DUnit Test Project" for Intraweb.

Using Intraweb 14.2.7

I can't get the program to start up at all as it bombs out due to not being able to access "IW_FAVICON"

Code:
exception message  : Cannot find internal file: IW_FAVICON.

main thread ($2d20):
006b9ad4 +18 CrashLinkTesting.exe IWException             119  +2 EIWException.IfTrue
007264d7 +57 CrashLinkTesting.exe IWServerInternalFiles   135  +2 TIWServerInternalFiles.GetResourceStream
00726905 +4d CrashLinkTesting.exe IWServerInternalFiles   226  +2 TIWServerInternalFiles.InternalAdd
00726c6d +15 CrashLinkTesting.exe IWServerInternalFiles   276  +2 TIWServerInternalFiles.AddSystemFiles
0072664a +52 CrashLinkTesting.exe IWServerInternalFiles   159  +7 TIWServerInternalFiles.Create
007dfb97 +13 CrashLinkTesting.exe IWServerInternalFiles   460  +1 initialization
0040a372 +42 CrashLinkTesting.exe System                22836 +21 InitUnits
0040a3db +3f CrashLinkTesting.exe System                22911 +14 @StartExe
0041196a +42 CrashLinkTesting.exe SysInit                1482 +11 @InitExe
007e0b0f +0b CrashLinkTesting.exe CrashLinkTesting         21  +0 initialization
76d38482 +22 KERNEL32.DLL                                         BaseThreadInitThunk


006b9abc     public IWException.EIWException.IfTrue:  ; function entry point
006b9abc 117   push    ebp
006b9abd       mov     ebp, esp
006b9abf       push    ebx
006b9ac0       push    esi
006b9ac1       mov     esi, ecx
006b9ac3       mov     ebx, eax
006b9ac5 118   test    dl, dl
006b9ac7       jz      loc_6b9ad9
006b9ac9 119   mov     ecx, esi
006b9acb       mov     dl, 1
006b9acd       mov     eax, ebx
006b9acf       call    -$2612e4 ($4587f0)     ; System.SysUtils.Exception.Create
006b9ad4     > call    -$2afaa5 ($40a034)     ; System.@RaiseExcept
006b9ad9 121   pop     esi
006b9ada       pop     ebx
006b9adb       pop     ebp
006b9adc       ret

Any ideas?

Oh and is there any good documentation on how to do IW related unit testing?

Code:
procedure T.Test;
begin
 with NewSession do ///// <--- exception error
   try
     with MainForm as TIWForm1 do
     begin

     end;
   finally
     Free;
   end;
end;

This is the example code it generates for a test ....  But it doesn't really reflect how you would stage this all up properly to work with MY forms and such.

'with NewSession do" generates an exception error "IW Application not properly initilized"

Print this item

  Indy SMTP Settings
Posted by: sorinh - 02-27-2019, 11:22 AM - Forum: Indy - Replies (1)

Hello
 
I want to use the TIdSMTP with Office 365
What are the settings or where I can find an example of this?
 
Thanks, Sorin

Print this item

  http.sys and ssl
Posted by: joelcc - 02-25-2019, 06:40 PM - Forum: IntraWeb General Discussion - Replies (3)

with if I wanted to use http.sys does the ssl encryption come from openssl or from windows?

How do I handle the ssl certificates?

Print this item

  EInvalidAppID exception raises EConvertError
Posted by: JuergenS - 02-24-2019, 11:28 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi

Versions:
C++Builder Rio 10.3.1
IW15.0.18

EInvalidAppID exception raises EConvertError now!

Debugger event log:

Erste Gelegenheit für Exception bei $754C18A2. Exception-Klasse EConvertError mit Meldung 'Format 'Session ID         : %s' ungültig oder nicht kompatibel mit Argument'. Prozess MyApplication.exe (9320)
"First chance exception at $754C18A2. Exception class EConvertError with message 'Format 'Session ID         : %s' invalid or not compatible with argument'. process MyApplication.exe (9320)"


Exception logfile:

------------------------------------------------------------------------------------------------------------------------
Exception message  : Session ID is invalid.
Exception class    : EInvalidAppID
Exception address  : 009E9E77
Exception Time     : 2019-02-24 11:17:36.118
------------------------------------------------------------------------------------------------------------------------
Application Name   : MyApplication.exe
Application Version: 1.0.0.0
Started at         : 2019-02-24 11:14:33.103
Running for        :  3 minutes 3 seconds
Computer Name      : MyComputer
Compiler Version   : 330
------------------------------------------------------------------------------------------------------------------------
IntraWeb Version   : 15.0.18
Multi-session      : False
Content Path       : MyPath
Session count      : 0
------------------------------------------------------------------------------------------------------------------------
Error getting Request information: Format 'Session ID         : %s' ungültig oder nicht kompatibel mit Argument
------------------------------------------------------------------------------------------------------------------------
[Stack trace is empty]
------------------------------------------------------------------------------------------------------------------------

Debugger call stack:

:754c18a2 KERNELBASE.RaiseException + 0x62
:00765F8E System::Sysutils::ConvertErrorFmt(ResString=????, Args=????, ...)
:0076926D System::Sysutils::FormatBuf(Buffer=????, BufLen=????, Format=????, FmtLen=23, Args=:0791F5B8, AFormatSettings={ { ???? }, '\0', '\0', '\0', L'', L'ޑ', { ???? }, { NULL }, { ???? }, { u"Session ID         : %s" }, { ???? }, { ???? }, { { { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? } } }, { { { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { u"[Stack trace is empty]" } } }, { { { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? } } }, ... }, Result=????)
:00769405 System::Sysutils::FmtStr(Result=????, Format=????, Args=:0791F5B8, AFormatSettings={ { ???? }, '\0', '\0', '\0', L'', L'ޑ', { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { { { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? } } }, { { { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL } } }, { { { ???? }, { ???? }, { u"Session ID         : %s" }, { NULL }, { ???? }, { ???? }, { ???? } } }, ... }, Len=9751543)
:0076937F System::Sysutils::Format(Format=????, Args=????, AFormatSettings={ { ???? }, 'X', 'F', L'̒', L'䙘', L'̒', { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { { { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { ???? }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL } } }, { { { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { NULL }, { ???? }, { ???? }, { u"Session ID         : %s" }, { NULL }, { ???? } } }, { { { ???? }, { ???? }, { NULL }, { ???? }, { ???? }, { ???? }, { ???? } } }, ... }, Result=????)
:00769364 System::Sysutils::Format(Format=????, Args=????, Result=????)
:0094d328 ; GetRequestInfo
:0094d5d8 ; CreateReport
:0094da36 ; LogException
:00967247 Iwservercontrollerbase::TIWServerControllerBase:Big GrinoLogException + 0x1F
:009671d0 Iwservercontrollerbase::TIWServerControllerBase:Big GrinoException(Iwapplication::TIWApplication *,System::Sysutils::Exception *,Iw::Http::Request::THttpRequest *) + 0x20
:009ea297 Iwserversession::_16444 + 0x1F
:009d883e ; Execute
:009e596c Iwserversession::HttpExecute + 0x2C
:00a291aa ; DoCommandGet
:00922e46 ; DoExecute
:0090f476 Incontext::TInContext::Run + 0x12
:0080833C System::Classes::ThreadProc(Thread=:030A25D0)
:0074B9B2 System::ThreadWrapper(Parameter=????)
:74b78484 KERNEL32.BaseThreadInitThunk + 0x24
:770d41c8 ntdll.RtlAreBitsSet + 0x88

The exception will be raised when the session has been closed.

Best regards
Juergen

Print this item

  enableACME
Posted by: joel - 02-24-2019, 12:22 AM - Forum: IntraWeb General Discussion - Replies (1)

Can someone explain what the servercontroller.sslOptions.enableACME does and how to use it?

Print this item

  Message to change an edit field
Posted by: davidbaxter - 02-23-2019, 09:24 PM - Forum: IntraWeb General Discussion - Replies (10)

Probably something simple I missed - but I did search here first - how to update the contents of an IWedit box with the results of another program running on the host? The context is this: my Intraweb application is acting as a remote front end to an otherwise standalone application running on the same computer. Click a button on the Intraweb web application and using pipes, that click reaches the main app, which comes up with a response that wants to appear in the IWedit field. It's like the pipe works one way, but not the other.
What is the technique then to fill out fields on your Intraweb page? Thanks.
Edit - I should say I'm using 14.2.10 and Rio 10.3.1

Print this item