fbpx
Welcome, Guest
Username: Password: Remember me
Welcome to the XSharp forum!

Tell us and our members who you are, what you like and why you became a member of this site.
We welcome all new members and hope to see you around a lot!
  • Page:
  • 1

TOPIC: Reportpro 3 and windows 10

Reportpro 3 and windows 10 2 months 2 weeks ago #9136

  BenWoestenburg's Avatar Topic Author BenWoestenburg Offline Posts: 3
After I have created the rp3Runtime and call a method the next error appear:

An unhandled exception occured in module OLEAUT32.DLL of your Application!
Code 0xC0000005 (EIP = 0x759B57BF)
RP3 Runtime

I have tried the same on a XP-machine and there it works fine. I only had the problem with embedded pictures as mentioned by Dick.

Do you have any ideas?
Attachments:

Please Log in or Create an account to join the conversation.

Reportpro 3 and windows 10 2 months 2 weeks ago #9137

  wriedmann's Avatar wriedmann Offline Posts: 1663
Hi Ben,

do you have registered the RP3 OLE objects on this machine?
Unfortunately I don't use RP3 myself, but I have seen it working on Windows 10 machines (also on one of my test machines).

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

Reportpro 3 and windows 10 2 months 2 weeks ago #9150

  BenWoestenburg's Avatar Topic Author BenWoestenburg Offline Posts: 3
Hi Wolfgang,

That was the problem. I have registered RpRt309.Dll and now it works fine.

Danke.

Ben

Please Log in or Create an account to join the conversation.

Reportpro 3 and windows 10 2 months 2 weeks ago #9183

  robert's Avatar robert Offline Posts: 1066
Ben,
Have a look at "registry free COM".
That saves you a lot of problems like this one.
The short version of the solution is that you add a manifest file to your exe (can be external but can also be linked into your app) and this manifest file describes the COM components used by your app. By using that you no longer have to register your COM components.
The manifest contain something like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

<assemblyIdentity name="MAIN.EXE" version="6.38.0.0" type="win32" processorArchitecture="*"/>


<file name="ActiveMap35.ocx" hashalg="SHA1">
 <comClass
     clsid="{0771306C-934E-4B3B-AB0A-E196335A00B2}"
     description="MapSelector Property Page"/>
 <comClass
     clsid="{0E320890-AA77-4396-BA10-42F80C159895}"
     description="ActiveMap35.Pen"
     threadingModel="apartment"
     progid="ActiveMap35.Pen"/>
</file>
etc.


Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Reportpro 3 and windows 10 2 months 2 weeks ago #9184

  wriedmann's Avatar wriedmann Offline Posts: 1663
Hi Robert,

I'm using registration free COM or SideBySide a lot, both with X# COM modules and 3rd party COM modules.
Some time ago I have spent a lot of time trying to make that work also with ReportPro 3 (for a customer), but have failed.
Then you had created a COM free version of ReportPro - maybe that could be a part of the X# version of RP3.
This COM free version works very well (even if you have applications with different VO runtimes and therefore different ReportPro version on the same machine).

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

Reportpro 3 and windows 10 2 months 2 weeks ago #9189

  BenWoestenburg's Avatar Topic Author BenWoestenburg Offline Posts: 3
Thanks Robert, i 'll have a look.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1