Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IntraWeb Lazarus AsyncRender
#1
Hi

I'm a Pascal (Lazarus/Delphi) and C# developer and I'm starting to use IntraWeb.
I recently purchased IntraWeb Ultimate Edition and the summary is that in 2025 I want to migrate my company's systems to IntraWeb Lazarus.

Studying the tool, I manually migrated the AsyncRender example from Delphi to Lazarus 3.6. When executing the commands listed below, the same "ACCESS VIOLATION" error occurs

Code:
FRegion := TIWRegion.Create(Self);
FRegion1 := TIWRegion.Create(Self);
FTabControl := TIWTabControl.Create(Self);
FAccordion := TIWjQAccordion.Create(Self);
FjQPageControl := TIWjQPageControl.Create(Self);

Do I need to make some corrections to my code or is it an IW error?

   

   


Attached Files
.zip   AsyncRender.zip (Size: 146.12 KB / Downloads: 0)
Reply
#2
An Access Violation near address $00000000 usually means that you are accessing a nil pointer. You need to debug your code to find it.

Reply
#3
(12-30-2024, 06:15 PM)rlebeau Wrote: An Access Violation near address $00000000 usually means that you are accessing a nil pointer.  You need to debug your code to find it.

You are correct!. It is necessary to debug, but the address of the ACCESS VIOLATiON error is on line 401 of IWContainerBorderOptions.pas, which is part of IntraWeb.
Reply
#4
The error likely means that GetPixelWidth() is being called on a nil TIWContainerBorderOptions object/interface pointer. $38 is likely the offset of the FControl member inside the TIWContainerBorderOptions class.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)