General information
Title:
OLE Dispatch Error with COM Object
I have created a COM object DLL which is called NMB.CSTBIZRULES
An error occurs when the object tries to excecute the command:
nSize = fontmetric(6, This.FontFace, This.FontSize, 'N')
(The value of 'this.fontface' is 'Arial' and the value of 'this.fontsize' is 9.)
The error reads:
OLE IDispatch exception code 462
Error in line 73 Resource manager internal consistency error
Does a COM object 'know' about what fonts in the system? Could this be why this crashed?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only