unmanaged C++ apps --> .net Reportviewer component ?

  • Thread starter Thread starter Arrow
  • Start date Start date
A

Arrow

Scenerio:
Currently have a number of unmanaged C++ apps (VS2005) talking to Crystal
Reports v7

Objective:
Want to take out Crystal completely and have more control, using .Net
Reportviewer component.
Don't need to display / print preview report, just print it.

So, can a C++ / MFC ActiveX be written such that these C++ apps give the
path/name to the
Reportviewer's rdlc files, data files (and whatever other files are needed
?) and pass them
to a method(s) of this activeX control to print ?

If so...how do i import Reportviewer into C++ ? , i thought i read somewhere
this can be done,
but no details were given. Any help appreciated ...especially and code /
pseudo code examples.

thanks
 
....so far from investigation, it appears the best way to do it is to create
a .net COM with the reportviewer component in it and have
my unmanaged C++ apps call it this way.
 
Back
Top