User (Legacy) Posted October 23, 2000 Report Share Posted October 23, 2000 Hello, I'm using CFX98 COM DLL with VC++ 6. I want to create a chart and export it as a bitmap without displaying it. I can create the chart as follows: m_pChartFX.CreateInstance(__uuidof(ChartFX)); But when i export it, it exports a 1kb empty bitmap file. I also tried the sample in the thread "Sample using VC++ and CFX98 COM DLL" i can successfully export the chart in that sample but in that sample chart is attached to a CWnd window. How to export a chart without attaching to a dialog or window ? Thanks Orhan EKSI oeksi@innova-turk.com Link to comment Share on other sites More sharing options...
Software FX Posted July 22, 2002 Report Share Posted July 22, 2002 Chart FX DLL needs to have a window to export to a bitmap, you need to call the CreateWnd method prior to export, even if the Window is invisible, this is necessary to give it a size. Chart FX Internet Server is designed to work without a window to produce images in the background. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.