| Welcome, Guest |
You have to register before you can post on our site.
|
|
|
| OnChange problems |
|
Posted by: anatolewilson - 07-15-2024, 09:30 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
I made a form with 100+ TIWComboBox questions on one page.
Using the OnChange event, the page is updated on every response. That is an inconvenience when we are at the end of the Form because it returns to the beginning every time it responds.
Is there any code that solves this problem? (Ps. I would not want to use Async events).
Best regards.
|
|
|
| Intraweb and Honeywell CT45 handhels |
|
Posted by: FAlvarado - 07-11-2024, 07:08 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
I had a subscription to IntraWeb 14 Ultimate Edition several years ago. I developed an industrial application with success.
Now I'm evaluating the new version 15 to develop a new project.
This project is relatively simple: uses SQL server to store info about products and let the user to print labels to a Zebra printer in several client locations....
My question is: as we are using Honeywell CT45 handheld's browser to run the web application and read a barcode for the product and then print the corresponding label, will IntraWeb interface with the barcode reader of the handheld computer?
https://sps.honeywell.com/us/en/products...#resources
I suppose IntraWeb can interface with the bowser printers.
Any one had developed an IntraWeb web application using this type of handhelds?
Kind Regards
Francisco Alvarado
|
|
|
| TIdIPMCastClient problem |
|
Posted by: kiprov - 07-10-2024, 12:41 AM - Forum: Indy
- Replies (4)
|
 |
IdIPMCastClient ( Delphi 7 and Rad studio Delphi 12.1, indy 9 and 10) not receive multicast message from unix/linux (from Windows 10 is Ok) computer.
|
|
|
| TIdSMTPServer - Questions (differences between v9 and v10) |
|
Posted by: Justin Case - 07-09-2024, 06:04 PM - Forum: Indy
- Replies (15)
|
 |
Hi,
Moons ago I was writing a smtp server in v9. V9 rocked, the event handlers (via the object inspector) made it nice and easy to use but there was some architectural bug in it involving the dots - from memory it needed two dots on some lines for some reason.. Anyway eventually i setup another machine with v10, had a newborn son, forgot all about it...
9 odd years later.. I'm back on this project..
I'm using 10.2.3
So with the online documentation being down on ww2.indyproject.org, I'm kind of flying blind. To get started, I double clicked all the events in object inspector and put in a ShowMessage() so that i knew what order they fire in (yes I had exceptions regarding drawing - but it got me what i needed after multiple program resets).
So I have these in this order (I'm manually typing these in - can't copy from the VM - sorry for any typo's but you'll get the idea):
procedure TDataModule1.IdSMTPServer1.Connect()
procedure TDataModule1.IdSMTPServer1BeforeCommandHandler()
TDataModule1.IdSMTPServer1Reset()
IDSMTPServer1SPFCheck()
IdSMTPServer1AfterCommandHandler()
IdSMTPServer1UserLogin()
IdSMTPServer1MailFrom()
IdSMTPServerRcptTo()
IdSMTPServer1Received()
IdSMTPServer1MsgReceive()
IdSMTPServer1Disconnect()
That all seems relatively straight forward however I'm having problems with SPFCheck(). My client (Outlook express - yes it's old but ok for testing) sends my machine name (Asuras) which obviously isn't a domain and as it's a SMTP client, not another SMTP server, that obviously won't resolve. I suspect a connecting server will send a domain?
So how do I proceed with this? - obviously if another server connects then the SPFCheck is a great idea but if it's a client then I'm in a fix and it will fail (as a bodge I'm using "If Pos('.', ADomain) then.." to test for a domain). Will IdSMTPServer cause a disconnect / client abort if I use spfNone / spfNeutral or will it just continue?
EG I'm with yahoo. If my email client were to connect to them, it would send "HELO/EHLO Asuras". Based on the indy logic, Asuras means nothing to Yahoo and so it would probably perform a spfCheck against my IP. My IP is part of my ISPs network and thus Yahoo has nothing to pass or fail me with until I login - but in the sequence above, that comes two events later.
Also if a SMTP client connects, it has to send a username and password. How do SMTP servers communicate mail to each other without this? - As the sequence above suggests it seems like a inbound connection has got to login first before it can specify the MailFrom details and trigger that event. How can I know in the UserLogin() event that the connecting user will be sending to a local address in order that I can set VAuthenticated := True ? - those details don't come through until RcptTo()!!
AThread has vanished.. now we have AContext. Whats the difference here? Presumably they still run like threads?
Oh one other thing, whats IdSMTPRelay all about?
Thanks for your time,
JC
|
|
|
| ww2.indyproject.org is down! |
|
Posted by: Justin Case - 07-09-2024, 10:20 AM - Forum: Indy
- Replies (1)
|
 |
Finally made it over here - embarcadero newsgroups seem to have vanished and it's taken me ages to get back into programming / delphi / indy...
Anyway the ww2 subdomain of indyproject is down - taking the support (.hlp, .chm etc) files with it along with the online documentation. Obviously that's going to put a greater strain on Remy..
It's been down for ages - probably over a year!
JC
|
|
|
| AV in 64 bit application if using the debugger |
|
Posted by: JuergenS - 06-26-2024, 11:31 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hi, i could use some help
C++Builder 12.1
INTRAWEB 15.6.2
I have migrated an INTRAWEB application to 64 bit.
If i start the application with debugger the INTRAWEB debug dialog is shown and i can choose a browser to start.
The website is shown but after some action the following exception message is shown in a message box:
Erste Gelegenheit für Exception bei $0000000001A5C1DC.
Exception-Klasse 0xc0000005 mit Meldung 'Exception 0xc0000005 encountered at address 0x1a5c1dc: Access violation reading location 0xffffffffffffffff'.
Prozess XXX.exe (5740)
Nothing happens anymore in the browser window, the server is locked an needs to be terminated.
Call stack:
:0000000001A5C1DC Inthread::TInThreadWithTask::SetTask(Intask::TInTask*)()
:0000000001A5B134 Inschedulerofthread::TInSchedulerOfThread::StartYarn(Inyarn::TInYarn*, Intask::TInTask*)()
:0000000001A5AFCE Incustomtcpserver::TIdListenerThread::Run()()
:0000000001A5B6AB Inthread::TInThread::Execute()()
:0000000001893203 System::Classes::ThreadProc(System::Classes::TThread*)()
:00000000017EE2BD System::ThreadWrapper(void*)()
:00007FF8B97D7344 BaseThreadInitThunk()
:00007FF8BB35CC91 RtlUserThreadStart()
The debug release is working well if i don't start the application with debugger !!!
Regards
Juergen
|
|
|
|