| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 426 online users. » 1 Member(s) | 422 Guest(s) Applebot, Bing, Google, sunwindivihouse
|
| Latest Threads |
OpenSSL and concurrent re...
Forum: Indy
Last Post: rlebeau
6 hours ago
» Replies: 4
» Views: 61
|
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 42
|
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 22
|
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,236
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:04 AM
» Replies: 4
» Views: 606
|
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 72
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 769
|
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 136
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,831
|
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 571
|
|
|
| Debug Failure Between Cosmos and VMWare |
|
Posted by: AwesomeCronk - 06-09-2019, 10:02 PM - Forum: COSMOS
- Replies (13)
|
 |
Yesterday I started having issues with testing my Cosmos code. Whenever I click the "Cosmos" button at the top of Visual Studio, It goes through the normal build and debug procedure, but when VMWare starts, I don't see my OS(named 'Experiment One'). I see:
Code: ISOLINUX 6.03 2014-10-06 ETCD Copyright (C) 1994-2014 H. Peter Anvin et al
Loading Experiment... failed!
No files found!
boot: _
The first line is normal, but lines two and three seem to tell that the failure was due to an absence of some file. The underscore is a cursor. If I type "Experiment One" after the boot: statement, it gives me the failure message and the boot statement again.
Maybe related: If I open VMWare standalone, I can see a library of virtual machines. I right-clicked the one labeled "Cosmos" and clicked "Delete from disk" before all this chaos happened. Is there a way to fix this?
EDIT: I tried again with another project, received an error: 'Unable to use the previously selected debugger. Please select another one. I am going to try and reinstall VMWare.
|
|
|
| Request to update the documentation |
|
Posted by: AwesomeCronk - 06-06-2019, 09:09 PM - Forum: COSMOS
- Replies (7)
|
 |
I downloaded Visual Studio 2019 last night(love it!) and got the user kit this morning(6-6-19). I completed a simple OS, tested in VMWare, and tried to make an ISO file to boot it from USB on an old laptop. I found that the documentation for this references many things which(I guess) no longer exist.
|
|
|
| Problems with modal dialogs with frames |
|
Posted by: Francesco - 06-05-2019, 07:51 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Hi, I'm attempting to show alternatively two modal dialogs using two TIWFrame and TIWModalWindows.
In IWAppFormCreate event I have added this code to create the frames:
// Create first frame
FFrameInput:=TIWFrameInput.Create(WebApplication);
FFrameInput.Name:='FrameInput';
FFrameInput.Top := 0;
FFrameInput.Left := 0;
FFrameInput.IWFrameRegion.Parent:=Self;
FFrameInput.IWFrameRegion.Visible:=False;
// Create second frame
FFrameFilter:=TIWFrameFilter.Create(Self);
FFrameFilter.Name:='FrameFilter';
FFrameFilter.Top := 0;
FFrameFilter.Left := 0;;
FFrameFilter.IWFrameRegion.Parent:=Self;
FFrameFilter.IWFrameRegion.Visible:=False;
Then I attempt to display the FFrameFilter using TIWModalWindows with this code when I press a button in main form:
RenderInvisibleControls:=True;
with IWModalWindow1 do
begin
Reset;
Buttons.CommaText := '&Ok,&Cancel';
Title := 'Filter';
ContentElement :=FFrameFilter.IWFrameRegion;
OnAsyncClick := FrameFiltroDoOnAsyncClick;
Show;
end;
But instead the FFrameFilter the system displays the other one, the FFrameInput !
I assign to ContentElement the FFFrameFilter.IWFrameRegion and it display the FFrameInput.IWFrameRegion !!!
If in IWAppFormCreate I remove the code for creating the FFrameInput leaving only this code:
// Create only the second frame
FFrameFilter:=TIWFrameFilter.Create(Self);
FFrameFilter.Name:='FrameFilter';
FFrameFilter.Top := 0;
FFrameFilter.Left := 0;;
FFrameFilter.IWFrameRegion.Parent:=Self;
FFrameFilter.IWFrameRegion.Visible:=False;
the system display correctly the dialog...
How it's possible ? Any idea to solve the issue ?
Francesco
|
|
|
| How fix Money values with iwdbedit before save |
|
Posted by: cprmlao@hotmail.com - 06-01-2019, 05:53 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hi,
I need to fix money values of a IWDBEDIT before save it to a firebird DB table.
I use a MaskMoney JS plugin to format the money entry data.
Alter I enter data, my front end shows for sample: "$ 10,00". Next, I call an AsyncClick of a Button as:
Code: procedure TMyform.BtnSaveAsyncClick(Sender: TObject; EventParams: TStringList);
begin
// Here I´d like to fix the currency format before save to DB
// But, is too late. An error occur saying my entry field "$ 10,00" is not a format valid
end;
I could fix it in the front end, before call the async click. But, the field will shows in wrong format in browser.
How could I fix it on back end before save the record?
Regards,
Luiz
|
|
|
| Critical section problem: new problem on old code |
|
Posted by: drueter - 06-01-2019, 01:50 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hi, all. I have an IW10 stand-alone app packaged as a Windows service compiled with Delphi XE that continues to run great. Except, that on one customer server (Win Server 2012 Datacenter) the service has begun crashing periodically. The same .EXE doesn't seem to have this problem elsewhere.
In any case, the error logged in the Windows Event Log is Exception 0xc0000264 ... which pertains to critical section not owned.
I understand what that means, and am aware of fixes for some historical bugs. (For example my project does use the IWRtlFix unit.)
I also understand that threading race conditions can be tricky, and can be masked until one day they appear.
So my question is: Are there known Delphi or IW bugs discovered in the past few years that would impact IW10 on XE that are related to critical sections?
I've reviewed the code, and it seems to be OK. But something (like a fairly recent Windows update) has caused the previously-stable service to crash. This article seems relevant though: https://docs.microsoft.com/en-us/windows...on-objects ...but that specific change was some time ago (before I began having problems).
Any ideas?
|
|
|
| iwfileuploader max file size |
|
Posted by: PDSBILL - 05-31-2019, 08:59 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
*** Problem Solved ***
Had to change <requestLimits maxAllowedContentLength /> setting in IIS
I created a simple ISAPI (.dll) and standalone (.exe) app with just a IWFileUploader on a blank form. I am not saving the file or have any events defined
I am getting error "UNKNOWN" when attempting to upload a file of size 39 meg when my intraweb app is run as ISAPI dll.
MaxFileSize is set to 90971520 (90 meg)
I can upload 19 meg file in both.
I can upload 39 meg file only in .exe app ISAPI app shows uploading to 99% but then goes RED with hint saying "Unknown"
I have tried building in Delphi RIO with Intraweb 15.? and Delphi Tokyo 14.?
Is there a hard internal limit to the max size of a file that can be uploaded?
Bill B
|
|
|
| Fast demands gives err 500 |
|
Posted by: ib elfving - 05-28-2019, 03:21 PM - Forum: IntraWeb General Discussion
- Replies (13)
|
 |
Hi,
I have an intraweb application that runs smooth under normal condition, but under fast demands it sends a "internal error 500" to the clients.
The error arises when using a custom handler (e.g. iw.content.xml look alike) after this is called rapidly (Called by an external program, 5 times typically). If the same operation is done one at the time (slow) there is no problem.
I suspect that it might be a memory error, but have no clues.
Is it possible to release the custom handler after use (freeing the memory) or is this done automatically by intraweb?
Will it help to insert a small time delay between each call?
Sorry if this is a bit "fluffy", but i have no idea where to set in for a solution
regards ib
|
|
|
| Some bugs in TIdIMAP4 |
|
Posted by: johnmay - 05-27-2019, 05:38 PM - Forum: Indy
- Replies (3)
|
 |
I use Indy 5499. After installing and compiling it, first thing I noticed is that right clicking on dclIndyCore140.dpk and selecting Install reports an error. This wasn't the case in earlier versions, however, Install on dclIndyProtocols140.dpk works fine. I assume this is some change since earlier release and that it is now enough to install just dclIndyProtocols140.dpk
Anyway, onto the main problem - when downloading message list from IMAP, using UIDRetrieveAllEnvelopes
I get a list which contains subjects like (reply log from server):
Quote:* 1760 FETCH (UID 12777 FLAGS (\Seen) ENVELOPE ("5 May 2019 07:50:59 +0200" "Test \"quoted text\", more text" (("test" NIL "test" "test.com")) (("test" NIL "test" "test.com")) (("test" NIL "test" "test.com")) ((NIL NIL "test2" "test2.com")) NIL NIL NIL "<msgid@test.com>"))
The list is from Gmail if that is of any relevance.
The problem is the \" escaping of quotes - Indy doesn't seem to decode this properly and the text ends up as Test \
It should be decoded as Test "quoted text", more text
Is this a known bug?
|
|
|
| Reset the Tab Order? |
|
Posted by: ioan - 05-27-2019, 01:25 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
I'm redesigning some IW forms using Bootstrap and I couldn't figure out yet how to reset the Tab Order. I assigned at design time a certain Tab Order for each form input in the old design and now, using Bootstrap the Tab Order needs to be changed. Being lazy (and in the same time wanting to keep the old design working), I'm trying to modify all the controls on all the forms in code, depending of what style I'm using and loading the corresponding template for each style. I tried setting Tab Order to 0 and to -1 when I load the BS design, but it seems that the old Tab Order is still there, any idea why and how to fix this?
Here is my code that deals with changing the components style at run time:
Code: procedure ApplyBSStyle(AForm: TIWAppForm);
var
sLst: TStringList;
begin
if (UserSession.LevelString <> 'USER') and
(UserSession.ReceivedLevelString <> 'USER')
then
Exit;
if (not UserSession.IsMobile) and (not UserSession.IsNewDesign) then
Exit;
sLst := TStringList.Create; // get a list of all controls, we might need to create the template
try
with AForm do
begin
for var i := 0 to AForm.ComponentCount - 1 do
begin
if Components[i] is TIWCustomControl then
begin
var curCtrl := Components[i] as TIWCustomControl;
sLst.Add('{%'+curCtrl.Name+'%}');
curCtrl.StyleRenderOptions.RenderSize := false;
curCtrl.StyleRenderOptions.RenderPosition := false;
curCtrl.StyleRenderOptions.RenderFont := false;
curCtrl.StyleRenderOptions.RenderVisibility := false;
// seems that RenderStatus is required for BS to work
//curCtrl.StyleRenderOptions.RenderStatus := false;
curCtrl.StyleRenderOptions.RenderAbsolute := false;
curCtrl.StyleRenderOptions.RenderZIndex := false;
curCtrl.StyleRenderOptions.RenderPadding := false;
curCtrl.StyleRenderOptions.RenderBorder := false;
// TabOrder doesn't seem to work...
curCtrl.TabOrder := 0; //<--???
if curCtrl is TIWButton then
begin
// first digit is the btn style and the second digit is 1 = btn-block, 0=none
var first_digit := StrToIntDef(curCtrl.Tag.ToString[1], 0);
var second_digit := StrToIntDef(curCtrl.Tag.ToString[2], 0);
case first_digit of
1: curCtrl.Css := 'btn';
2: curCtrl.Css := 'btn btn-default';
3: curCtrl.Css := 'btn btn-primary';
4: curCtrl.Css := 'btn btn-success';
5: curCtrl.Css := 'btn btn-info';
6: curCtrl.Css := 'btn btn-warning';
7: curCtrl.Css := 'btn btn-danger';
else
curCtrl.Css := 'btn btn-primary'
end;
if second_digit = 1 then
curCtrl.Css := curCtrl.Css + ' btn-block';
end
else if curCtrl is TIWLabel then
curCtrl.Css := 'control-label'
else if curCtrl is TIWComboBox then
curCtrl.Css := 'form-control'
else if curCtrl is TIWEdit then
curCtrl.Css := 'form-control'
else if curCtrl is TIWText then
curCtrl.Css := 'form-control'
else if curCtrl is TIWMemo then
curCtrl.Css := 'form-control'
else if curCtrl is TIWCheckBox then
curCtrl.Css := 'checkbox-inline'
else if curCtrl is TIWRadioGroup then
curCtrl.Css := 'radio'
else if curCtrl is TIWRadioButton then
curCtrl.Css := 'radio'
else if curCtrl is TIWListbox then
curCtrl.Css := 'form-control'
else if curCtrl is TIWImageFile then
curCtrl.Css := 'img-responsive'
else if curCtrl is TIWDBGrid then
curCtrl.Css := 'table-hover table-striped table-bordered';
end
else if Components[i] is TIWTemplateProcessorHTML then
begin
// for now, keep the jQueryMobile style for the mobile version of the page
if UserSession.IsMobile then
begin
(Components[i] as TIWTemplateProcessorHTML).Templates.Default := 'mobi'+AForm.Name+'.htm';
StyleSheet.Filename := '';
end
// use the BS style if the user wants the new design
else if UserSession.IsNewDesign then
begin
(Components[i] as TIWTemplateProcessorHTML).Templates.Default := 'BS'+AForm.Name+'.htm';
StyleSheet.Filename := '';
end;
(Components[i] as TIWTemplateProcessorHTML).RenderStyles := false;
(Components[i] as TIWTemplateProcessorHTML).Enabled := true;
end;
end;
end;
// if there isn't already a template for this page, save all the controls into a text file
// with the name of the expected template to which the BS head can be added
if not FileExists(WebApplication.ApplicationPath + 'Templates' + PathDelim + 'BS'+AForm.Name+'.htm') then
sLst.SaveToFile(WebApplication.ApplicationPath + 'Templates' + PathDelim + 'BS'+AForm.Name+'.htm');
finally
sLst.Free;
end;
end;
|
|
|
|