Delphi and ICadAuto.dll
Am I wasting my time trying to develop here? A lot of the methods and properties just don't work
Comments
-
Many 3rd party developers created professional applications built on the BricsCad COM API. Most of them used Visual Basic, some C++, and only a few used Delphi, because there are indeed problems that have to be conquered.E.g. the type-library wrapper code that is generated by Delphi 6 contains errors (Delphi 5 does the wrappers correctly). So one can use Delphi 5 for importing or edit the generated .pas code manually.Example:property EncryptionMethod: IDispatch index 300 read getIDispatchProp;should become:property EncryptionMethod: IDispatch index 300 read GetIDispatchProp write SetIDispatchProp;If not, this property will be readonly, and 'not work'.Other problem I remember is that a Delphi developer had to switch off the Borland Standard Components and Borland CLX Standard Components in order to successfully import the icadauto.dll.Kind regards,Hans De BackerBricsCad Development
0 -
Hans,I'm using Delphi 7 - while the type library looks like its built properly some of the methods give unexpected errors. I
0