ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Small adjustment needed to make the MFC demo compile.
Posted by Tony on Oct-22-2021 15:44
Hello,

I downloaded ChartDirector yesterday. When I open the mfcdemo solution, it fails to build.

It fails when compiling mfcdemo.rc, I'm assuming these should be

IDI_ZoomIn              ICON                    "res\\zoomIn.ico"
IDI_Save                ICON                    "res\\save.ico"

and not

IDI_ZoomIn              ICON                    "C:\\max\\projects\\maxchart\\mfccharts_test\\mfcdemo\\mfcdemo\\res\\zoomIn.ico"
IDI_Save                ICON                    "C:\\max\\projects\\maxchart\\mfccharts_test\\mfcdemo\\mfcdemo\\res\\save.ico"

Hope this helps.

Tony.

  Re: Small adjustment needed to make the MFC demo compile.
Posted by Peter Kwan on Oct-23-2021 13:38
Hi Tony,

Thanks a lot for notifying us of this issue.

You are absolutely correct. It is a mistake in our MFC sample project. We modify the project to include the icons using the Visual Studio GUI, but forget to manually edit the mfcdemo.rc to change them into relative paths.

I have just updated the distribution to include the corrected mfcdemo.rc.

Again, thanks a lot for notifying us of this issue.

Regards
Peter Kwan