RMChart DLL use with FWH and xHb now ready

RMChart DLL use with FWH and xHb now ready

Postby Roger Seiler » Fri Mar 21, 2008 6:31 pm

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
Roger Seiler
 
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA

Postby Antonio Linares » Fri Mar 21, 2008 7:18 pm

Roger,

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41447
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Roger Seiler » Mon Mar 24, 2008 12:03 pm

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

Postby Roger Seiler » Thu Apr 10, 2008 10:02 pm

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
Roger Seiler
 
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA

Postby patrickmast » Fri Apr 11, 2008 8:58 am

Hey Roger,

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

Patrick
User avatar
patrickmast
 
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm

Postby George » Fri Apr 11, 2008 4:15 pm

Excellent Roger!

Thank you very much for your contribution.

Regards,

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

Postby Roger Seiler » Sat Apr 19, 2008 2:57 pm

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
Roger Seiler
 
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA

Postby patrickmast » Sat Apr 19, 2008 3:44 pm

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
patrickmast
 
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm

Postby Roger Seiler » Mon Apr 21, 2008 2:23 pm

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
Roger Seiler
 
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA

Postby Biel EA6DD » Mon Apr 21, 2008 2:52 pm

Thank you Roger, Great Job
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca

Re: RMChart DLL use with FWH and xHb now ready

Postby reinaldocrespo » Thu May 27, 2010 10:46 pm

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.
User avatar
reinaldocrespo
 
Posts: 972
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 63 guests