RMChart DLL use with FWH and xHb now ready

Post Reply
User avatar
Roger Seiler
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA
Contact:

RMChart DLL use with FWH and xHb now ready

Post by Roger Seiler »

If you want to use the RMChart DLL and its 160+ graphic functions from within your FWH app, you can download the following...

http://www.leadersoft.com/software/rmc4xhb.zip

This includes a working FWH demo app that shows how to load your data into a graph at runtime. Also, the English translation of the OCX package for Rmchart is included.

To use this material requires that you download the original RMChart package (free) from www.rmchart.com

RMChart offers a broad range of sophisticated and elegant looking graphing tools. Highly recommended.

- Roger
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Roger,

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Roger Seiler
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA
Contact:

Post by Roger Seiler »

Calls to some of the Rmchart functions in Rmcdemo.prg will GPF. I've conversed with the designer, Rainer Morgen, on his forum at www.rmchart.com, and he says all functions work fine with VB and some other platforms. Apparently, the problem is with calls involving data type DOUBLE when using the xHb DLLCALL along with FWH (but not using the FWH DLL32). (Had to use xHb's DLLCALL in order to be able to pass the kind of C structures required by some Rmchart functions.)

In the download referenced in my prior posting, there is a file included named RMCDEMO.PRG, which I converted form Morgen's VB6 demo to FWH/xHb. The conversion is incomplete regarding the use of some included C structures. But the part of this demo that should work now - but doesn't - is function mnSingleBars(). There are two dll function calls in there that cause gpf's - RMC_AddDataAxis and RMC_CalcAverage. Unfortunately, I don't have the technical capability with C and with the innere workings of xHb dll calls to figure out what is wrong here.

Is there someone else who is interested in getting full use of the free Rmchart graphics package (over 160 functions), who has the C and FWH-xHb technical ability, who would be interested in helping to solve the GPFs from accessing some of the Rmchart dll functions, for everyone's benefit?

I'd be happy to work with anyone who could help.

- Roger
User avatar
Roger Seiler
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA
Contact:

Post by Roger Seiler »

With lots of great help from Ron Pinkas, I've been able to solve most of the problems with using the Rmchart.dll, and so now a demo can be downloaded that shows demos of 15 charts and graphs and how to program your apps to use them with the runtime DLL. Over 160 graphic functions are included for use in FWH/xHb.

The only remaining open issues are getting the Rmchart.DLL's tooltip and mouseclick functions to work, which are beyond my expertise. But as for creating and displaying the graphs themselves, that all works now, and you can see it immediately with the RmcDemo.exe supplied with the download below.

Again, 15 different types of graphs are shown in the demo, with very creative use of transparency and 3D effects. Rmchart provides really slick and elegant graphics - all for free! Also there is an animated real-time graph entitled: "Software Developers' Life Expectancy" on the Miscellaneous charts menu. Don't miss that one! Here it is...

http://www.leadersoft.com/software/rmc4xhb.zip

- Roger
User avatar
patrickmast
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm
Contact:

Post by patrickmast »

Hey Roger,

Great. Works better than the previous version. Thank you and Congrats!

Patrick
George
Posts: 710
Joined: Tue Oct 18, 2005 6:49 pm

Post by George »

Excellent Roger!

Thank you very much for your contribution.

Regards,

George
User avatar
Roger Seiler
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA
Contact:

Post by Roger Seiler »

Thanks to help from Antonio to fix the tooltips and other mouse problems, an update can now be downloaded. Just put it in same folder where you may have downloaded and unzipped the rmc4xhb.zip package earlier, unzip this and overwrite the prior files...

http://www.leadersoft.com/software/RMCxHbUp.zip

Or if you need the complete rmc4xhb package, as revised...

http://www.leadersoft.com/software/rmc4xhb.zip

In either case, please take a look at the readme.txt

Of course, the free RMCHart basic package (required for this) is available for free download from Rmchart.com.

- Roger
User avatar
patrickmast
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm
Contact:

Post by patrickmast »

Roger Seiler wrote:Thanks to help from Antonio to fix the tooltips and other mouse problems, an update can now be downloaded. Just put it in same folder where you may have downloaded and unzipped the rmc4xhb.zip package earlier, unzip this and overwrite the prior files...
Thank you Roger!

Patrick
User avatar
Roger Seiler
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA
Contact:

Post by Roger Seiler »

Rainer Morgen, the developer of RMChart, has made the RMC4xHb package available for download on his website, along with the original RMchart package, at www.RMChart.com .

The RMC4xHb package is for both FWH/xHb and just plain xHb. It enables utilizing the RMChart.dll with FWH/xHb apps. Also includes the ActiveX implementation files, with prg comments translated into English.

- Roger
User avatar
Biel EA6DD
Posts: 680
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca
Contact:

Post by Biel EA6DD »

Thank you Roger, Great Job
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
reinaldocrespo
Posts: 918
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: RMChart DLL use with FWH and xHb now ready

Post by reinaldocrespo »

Roger;

Thank you for your work. Well done. Is there any sample code using resources on a dialog?

How about what style to use for the resource control?

Regards,


Reinaldo.
Post Reply