Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: RAVE 11.0.5 End User Report Designer raises AV at runtime


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 10 - Last Post: Apr 28, 2015 9:41 AM Last Post By: Jim Elden
Jim Elden

Posts: 7
Registered: 2/28/99
RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 25, 2014 8:00 AM
Has anyone been able to use the Rave 11.0.5 end-user report designer?

(Reposted -- originally posted 6-May-2014)

Problem Description:

RAVE 11.0.5 End User Report Designer raises Access Violation at runtime

Environment:

Tested with clean installations of Windows XP Pro, Windows 7 Enterprise, Windows 8 Enterprise
Delphi 2010 Architect, Delphi XE Architect.

This is a licensed version of Rave 11 BEX

There are no old versions of Rave Reports present on the test PC.

Steps to reproduce in Delphi:

1. Start a new project.
2. Copy ravesolo.dll from Rave11\redist into the project folder.
3. Drop TRvSystem, TRvProject, and TButton on the main form. These will be RvSystem1, RvProject1 and Button1.
4. Set RvProject1.DLLFile to ravesolo.dll
5. Set RvProject1.Engine to RvSystem1
6. Double-Click RvProject1 to open the visual designer.
7. Save the Rave project as project1.rav and set RvProject1.ProjectFile to project1.rav
8. Code Button1.OnClick as

procedure TForm1.Button1Click(Sender: TObject);
begin
RvProject1.Design;
end;

9. Run the project
10. Click Button1
11. Get Error:

exception message : Access violation at address 005123E8 in module 'Project1.exe'. Write of address 004C9158.

Here is part of the madExcept call stack:

main thread ($39c):
005123e8 +014 Project1.exe Controls TControl.DoGetGestureOptions
004a5225 +00d Project1.exe Classes TComponent.UpdateAction
0053e5d3 +017 Project1.exe Forms ProcessUpdate
0053e696 +022 Project1.exe Forms TCustomForm.CMActionUpdate
00513300 +2d4 Project1.exe Controls TControl.WndProc
00517bc8 +568 Project1.exe Controls TWinControl.WndProc
0053981c +594 Project1.exe Forms TCustomForm.WndProc
00512f24 +024 Project1.exe Controls TControl.Perform
0054449b +023 Project1.exe Forms TApplication.DispatchAction
00541d12 +46e Project1.exe Forms TApplication.WndProc
004a5d78 +014 Project1.exe Classes StdWndProc
775796c0 +047 USER32.dll SendMessageW
528e7059 +011 ravesolo.dll DesignerShow
005f5926 +14a Project1.exe RpRave TRvProject.Design
005f63ca +006 Project1.exe Unit1 30 +0 TForm1.Button1Click
Mike Hickman

Posts: 31
Registered: 4/29/05
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 25, 2014 10:11 AM   in response to: Jim Elden in response to: Jim Elden
Hi Jim,
I have this week upgraded to the Architect version but haven't got round
to testing yet.

Nevrona sent me these steps which I will be trying in the next few days.

Did you do the following ?
"If you decide to include the end-user designer with your application,
you will also need to initialize the TRaveProject component's
LoadDesigner property to true and DLLFile property to the name of the
Rave Designer DLL file you are using."

Hope this helps

Mike
_________

***** as advised by Nevrona ***************
I have found the tip for using our End User Designer License. I am
pasting it below. We recommend using the RaveSolo.dll method.

Rave End-User Design Support

Category

Rave - General
Question

I have purchased Rave Reports 11 Architect. What steps do I need to take
to enable my users to create/modify their own reports?
Solution

Providing End User design support

One of the more powerful features of Rave is the ability to provide
end-user report design capability in your application (Requires Rave
Reports Architect). This will give your end-users the ability to modify
or create new reports. Allowing your users to modify/create reports is
quite easily done but does require a few additional steps when deploying
your application. The first is the distribution of the visual designer
itself. There are two DLL files located in the \RAVE11\REDIST directory
called RaveSolo.dll and RavePack.dll. RaveSolo.dll is a standalone file
that has the advantage of fewer files and smaller overall size, but does
not allow the addition of custom components, editors or wizards.
RavePack.dll uses several package files that need to be distributed
along with it and also allows the addition of custom components, editors
and wizards to the end-user's visual designer. The following is a list
of the package files normally shipped with RavePack.dll (all are located
in the \RAVE11\REDIST directory):

Delphi XE3 Packages Required by RavePack.dll
VCL170.BPL - The main Delphi XE3 VCL library file
VCLX170.BPL - The extra Delphi XE3 VCL library file
dbrtl170.bpl
rtl170.bpl
vclimg170.bpl
vclactnband170.bpl

Component, Editor and Wizard library files
RvCore110.bpl - The main Rave 11.0 library file
RvBarcode110.BPL - The Rave 11.0 barcode components
RvCompiler110.bpl - The Rave 11.0 Delphi Syntax Compiler
RvDesign110.bpl - The Rave 11.0 Designtime Editors and Wizards
RvEngine110.bpl - The Rave 11.0 Language Engine
RvGraphics110.bpl - The Rave 11.0 graphics components
RvReport110.bpl - The Rave 11.0 reporting components
RvStandard110.bpl - The Rave 11.0 standard components

The Component, Editor and Wizard library files need to be listed in the
rave.ini file under a section called [Packages] in order for Rave to
load them. The one exception to this is the RvCore110.bpl, which should
not be listed in the packages list. Here is a typical default [Packages]
section:

[Packages]
Rave Graphics Components=RvGraphics110.bpl
Rave Barcode Components=RvBarcode110.bpl
Rave Standard Components=RvStandard110.bpl
Rave Report Components=RvReport110.bpl
Rave Language Engine=RvEngine110.bpl
Rave Delphi Syntax Compiler=RvCompiler110.bpl
Rave Design-time Library=RvDesign110.bpl

If you decide to include the end-user designer with your application,
you will also need to initialize the TRaveProject component's
LoadDesigner property to true and DLLFile property to the name of the
Rave Designer DLL file you are using. The DLLFile property also allows
you to change the name of the RaveSolo.dll or RavePack.dll file to
another name (although the library package filenames should remain the
same).

Executing the End User Report Designer
Lastly, in order to execute the End User Report Designer, just call

MyRvProjectComponent.Design;

Nevrona Designs Customer Support | cust at nevrona dot com |
http://www.nevrona.com

On 26.09.2014 1:00 AM, Jim Elden wrote:

Has anyone been able to use the Rave 11.0.5 end-user report designer?

(Reposted -- originally posted 6-May-2014)

Problem Description:

RAVE 11.0.5 End User Report Designer raises Access Violation at runtime

Environment:

Tested with clean installations of Windows XP Pro, Windows 7 Enterprise, Windows 8 Enterprise
Delphi 2010 Architect, Delphi XE Architect.

This is a licensed version of Rave 11 BEX

There are no old versions of Rave Reports present on the test PC.

Steps to reproduce in Delphi:

1. Start a new project.
2. Copy ravesolo.dll from Rave11\redist into the project folder.
3. Drop TRvSystem, TRvProject, and TButton on the main form. These will be RvSystem1, RvProject1 and Button1.
4. Set RvProject1.DLLFile to ravesolo.dll
5. Set RvProject1.Engine to RvSystem1
6. Double-Click RvProject1 to open the visual designer.
7. Save the Rave project as project1.rav and set RvProject1.ProjectFile to project1.rav
8. Code Button1.OnClick as

procedure TForm1.Button1Click(Sender: TObject);
begin
RvProject1.Design;
end;

9. Run the project
10. Click Button1
11. Get Error:

exception message : Access violation at address 005123E8 in module 'Project1.exe'. Write of address 004C9158.

Here is part of the madExcept call stack:

main thread ($39c):
005123e8 +014 Project1.exe Controls TControl.DoGetGestureOptions
004a5225 +00d Project1.exe Classes TComponent.UpdateAction
0053e5d3 +017 Project1.exe Forms ProcessUpdate
0053e696 +022 Project1.exe Forms TCustomForm.CMActionUpdate
00513300 +2d4 Project1.exe Controls TControl.WndProc
00517bc8 +568 Project1.exe Controls TWinControl.WndProc
0053981c +594 Project1.exe Forms TCustomForm.WndProc
00512f24 +024 Project1.exe Controls TControl.Perform
0054449b +023 Project1.exe Forms TApplication.DispatchAction
00541d12 +46e Project1.exe Forms TApplication.WndProc
004a5d78 +014 Project1.exe Classes StdWndProc
775796c0 +047 USER32.dll SendMessageW
528e7059 +011 ravesolo.dll DesignerShow
005f5926 +14a Project1.exe RpRave TRvProject.Design
005f63ca +006 Project1.exe Unit1 30 +0 TForm1.Button1Click
Tony Christiansen

Posts: 13
Registered: 4/4/03
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2014 10:18 PM   in response to: Mike Hickman in response to: Mike Hickman
Hi Jim

Got the AV but my fault as I had not copied the new ravesolo.dll to my
project.

Check that you have updated all your runtimes.

Regards

On 26/09/2014 2:41 AM, Mike Hickman wrote:
Hi Jim,
I have this week upgraded to the Architect version but haven't got round
to testing yet.

Nevrona sent me these steps which I will be trying in the next few days.

Did you do the following ?
"If you decide to include the end-user designer with your application,
you will also need to initialize the TRaveProject component's
LoadDesigner property to true and DLLFile property to the name of the
Rave Designer DLL file you are using."

Hope this helps

Tony Christiansen

Posts: 13
Registered: 4/4/03
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2014 10:20 PM   in response to: Tony Christiansen in response to: Tony Christiansen
On 08/10/2014 2:48 PM, Tony Christiansen wrote:
Hi Jim

Got the AV but my fault as I had not copied the new ravesolo.dll to my
project.

Check that you have updated all your runtimes.

Regards

On 26/09/2014 2:41 AM, Mike Hickman wrote:
Hi Jim,
I have this week upgraded to the Architect version but haven't got round
to testing yet.

Nevrona sent me these steps which I will be trying in the next few days.

Did you do the following ?
"If you decide to include the end-user designer with your application,
you will also need to initialize the TRaveProject component's
LoadDesigner property to true and DLLFile property to the name of the
Rave Designer DLL file you are using."

Hope this helps

Sorry just reread your post. I can confirm the enduser designer loads ok
in my application.

Regards
Jim Elden

Posts: 7
Registered: 2/28/99
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 8, 2014 10:03 AM   in response to: Tony Christiansen in response to: Tony Christiansen
I can confirm the enduser designer loads ok
in my application.

Hi Tony,

I was able to get the 11.0.7 designer to load OK today with XE6 but still not with D2010, which is where I really need it most. I'm installing XE7 right now and will test that later.

Which version of Delphi did you build your application with?

Best Regards,
Jim
Jim Elden

Posts: 7
Registered: 2/28/99
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 8, 2014 10:12 AM   in response to: Mike Hickman in response to: Mike Hickman
Did you do the following ?
"If you decide to include the end-user designer with your application,
you will also need to initialize the TRaveProject component's
LoadDesigner property to true and DLLFile property to the name of the
Rave Designer DLL file you are using."

Hope this helps

Hi Mike,

Thanks for the info. Yes, I had set LoadDesigner to True and DLLFile to RaveSolo.dll.

I still have the problem with D2010 and XE, but it worked for me with XE6 this morning and am going to try with XE7 shortly. The trouble is, our application is built with D2010.

If someone else gets the 11.0.7 end-user designer to load under D2010 I'll keep at it. Otherwise we are stuck with Rave 8 for D2010.

Best Regards,
Jim
Jim Elden

Posts: 7
Registered: 2/28/99
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 8, 2014 10:37 AM   in response to: Jim Elden in response to: Jim Elden
All,

Rave 11.0.7 end-user designer works fine with XE7

Jim
Tony Christiansen

Posts: 13
Registered: 4/4/03
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 8, 2014 3:25 PM   in response to: Jim Elden in response to: Jim Elden
On 09/10/2014 3:07 AM, Jim Elden wrote:
All,

Rave 11.0.7 end-user designer works fine with XE7

Jim
Hi Jim

I am working with XE6 which also seems ok (as you also said). One
problem I have is installing a couple of the old custom components into
Rave ie the GreenBar and JPEG components. I am jumping from D2007 and
the source code compiles into the packages fine in Xe6 but when I
register them in RAVE the components do not appear - no errors though.

Are you using any custom components by chance?

Regards
Tony
Jim Elden

Posts: 7
Registered: 2/28/99
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 9, 2014 6:06 AM   in response to: Tony Christiansen in response to: Tony Christiansen
Are you using any custom components by chance?

Hi Tony,

We use Gnostice eDocEngine but that is outside the designer, and I have not tried it yet with Rave 11 due to my original problem. We don't use any custom component that is used inside the designer.

Best Regards,
Jim
Jim Elden

Posts: 7
Registered: 2/28/99
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 24, 2014 6:30 AM   in response to: Jim Elden in response to: Jim Elden
Hi All,

Good news!

The AV issue has been fixed by Nevrona in the latest build 11.0.9 10/23/2014.

Best Regards,
Jim
Jim Elden

Posts: 7
Registered: 2/28/99
Re: RAVE 11.0.5 End User Report Designer raises AV at runtime  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 28, 2015 9:39 AM   in response to: Jim Elden in response to: Jim Elden
More good news!

Rave 11.0.10 (4/10/2015) fixes the issue that we had with memo fields printing unwanted characters. This means we can finally upgrade from Rave 8.

Their website, http://www.nevrona.com/ has been updated as well.

Regards,
Jim

Edited by: Jim Elden on Apr 28, 2015 9:40 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02