Skip to main content

Runtime error 119 - Name is not unique (binding symbol 'nmcnvrto')

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

How can access the Vtable from a COM DLL?

The VTable is the low level interface  that a COM Object Object exposes. Its structure is similiar to a C Object.

Resolution:

If you already have a COBOL OLE Domain object you could use the COM Class library IUnknown "fromDomainObject" class method and QueryInterface to get the COM Interface (vtable) you want.

Alternatively you could CoCreateInstance and QueryInterface COM API calls.

If possible its far better to use a automation object so you can invoke on it. Thats far more forgiving and simpler from COBOL.

Old KB# 5358

0 replies

Be the first to reply!