Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - [SOLVED] Error only on Windows 2003
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Error only on Windows 2003

 Post Reply Post Reply
Author
Message
Michael163 View Drop Down
Newbie
Newbie


Joined: 16 March 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michael163 Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] Error only on Windows 2003
    Posted: 13 April 2011 at 10:58am
I have built a little application with ReportControl. When I close the application an error occurs ("The instruction on "0x72e5b17f" referenced memory at "0x00000020". The memory could not be "read". Click on OK to terminate the program").
When I delete following code no error appears anymore.

    ReportControlGlobalSettings.UseResourceFileLocale = True
    ReportControlGlobalSettings.ResourceFile = App.Path & "\Resources\ReportControl.ResourceDe.xml"


This error appears only on Windows2003 and not on Windows7!

What can I do?


Product: Xtreme Report Control ActiveX v15.0.2
Platform: Windows2003 32-Bit
Language: Visual Basic 6.0

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2011 at 1:42pm
If you add these 2 lines to our Report Sample do you see the same?  I just tried on Windows Server 2003 and it works fine.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2011 at 2:17pm
Also please try to "close" xml with
ReportControlGlobalSettings.ResourceFile = "" on exit.
Back to Top
Michael163 View Drop Down
Newbie
Newbie


Joined: 16 March 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michael163 Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2011 at 6:16am
Release the resource file was it.

Thank you SuperMario.


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.