My first problem was the GdPicture_NET_12_TLB.pas file contained the following code:
TControlData2(CControlData).FirstEventOfs := UIntPtr(@@FOnViewerDoubleClick ) - UIntPtr( Self );
I modified it as such to eliminate the errors:
TControlData2(CControlData).FirstEventOfs := Cardinal(@@FOnViewerDoubleClick ) - Cardinal( Self );
I was then able to build and install the component/package.
The remaining problem is that when I place a gdViewer component on a Delphi form, I can't select it (on the form) at design time using the mouse. I have to select the instance in the Structure or Object Inspector in order to do things like change properties or changing position and size. I can resize it, but I can't move it using the mouse at design time. It's a Delphi VCL Win32 application.
Note that I tested it in Visual Studio 2012, and I don't have any problems selecting the component on the form at design time in that IDE.
Thanks in advance for any assistance in getting my Delphi Seattle to work with the gdViewer component at design time in a normal fashion (selecting, moving, and resizing with mouse).
It seems to be a Delphi related issue that we are looking into, at this point we are still not sure what is the cause of this.
We recommend using the GdPicture_NET_12_TLB.pas that is provided with the Delphi demo applications in the SDK installation folder.
Who is online
Users browsing this forum: No registered users and 2 guests