Post
by rgsolutions » Tue Mar 25, 2014 5:35 pm
I downloaded and installed the source files that you linked me to. I was now able to run the test case that I originally submitted. Since this was a success, I continued to rebuild and test my main two project groups. Both ran successfully and I now believe that I will be able to use the lastest software from you. I will continue to test the software.
I should tell you that there is still one more problem with the GDI+ DLL processing. In my latest program group, I use the Runtime ChartEditor to modify the TCharts in my DLL. If the Chart is originally created with GDI+ and saved during design, then when the Chart is opened in the actual processing, the rendering is changed to GDI. If you then change the rendering at runtime with the ChartEditor (or I suspect internally by setting the GDI+ option), the processing will fault as was in the original test case.
To demonstrate this to you, I have revised my original test case. The test case still has the DLL and EXE. The DLL has only one form and this form now contains only a TChart. It has been dropped on the form and will default to GDI+ plus rendering. The EXE has only one form on it and a button. When the EXE is started, the form appears. If you press the button, the DLL form will appear and it is correct. If you double click on the DLL form, the ChartEditor will open. You will see that the 3D rendering is GDI. If you change it to GDI+, the processing will fault.
To me this is a minor problem that can be avoided by not setting the GDI+ value. I have no intentions to set it internally, and I will avoid setting it at run time. For completeness, I thought you might like to know about this situation.
Again, thanks for all the help, and give a special thanks to David.
-
Attachments
-
- DLL Test Case Revised.zip
- (85.63 KiB) Downloaded 1324 times