[DUG] Com problem

Robert Martin rob at chreos.co.nz
Fri Oct 7 08:41:33 NZDT 2016


Hi All

Recently I went to add a new COM method to our app.  I hadn't done this 
since our previous version of Delphi by the looks of it because the type 
library menu item was disabled.  I discovered I needed to add the .rdil 
file to the project.  Having done that all seemed ok.  I added the 
method in the typeLibrary screen then implemented the code.


In my COM consumer app I then try to call the new com method. All the 
old methods work just fine but the new method just AVs. The com method 
is not called.  It is almost like, even though I have defined the v call 
it hasn't actually been 'build' into the app.  I have checked the The 
rdil and tlb files and the new method looks the same as the existing 
methods.

Does anyone have any suggestions of where I should look?


Thanks
Rob





More information about the Delphi mailing list