Home
Virtual Image Printer DriverMiraplacid Publisher converts documents to images
Virtual Text Printer DriverMiraplacid Text Driver extracts text from documents
Miraplacid Data ViewerMiraplacid Data Viewer - access to internal structure of a binary file
Miraplacid Text ViewerMiraplacid Text Viewer - access to internal structure of a text file
Common:   Login | Rules of forum | Register
Management:  New topic | Close topic | Move topic | Delete topic
  

Miraplacid Forum >> Software Development >> Default property in COM object to use from scriptModerator:XMan

Author Topic:  Default property in COM object to use from script
gamer
Member

From: Canada
posted 2004-04-27 11:59:48 Reply -Delete

I know it is possible to make one of the COM Object properties "default", but don't know how.
I mean, to refer it as "obj" rather than "obj.value".
Can anybody help me? It should be simple...
I use VC 6.0, ATL.

Kon
Member

From: USA
Email
posted 2004-04-28 01:53:51 Reply -Delete

go to your IDL file and replace
id(1) or whatever the number is with
id(DISPID_VALUE)
If there are propget and propput lines, change both.

Your message:
Name, password:
Go to category:  

Technical Support

Copyright © Miraplacid, 2003 - 2024