CoCreateInstance() Error returns DISP_E_BADVARTYPE

47 views
Skip to first unread message

Rocky

unread,
Mar 30, 2001, 4:30:58 AM3/30/01
to
When I add a method to the component server, the client CreateIntance
anymore.
Who can help me?
The method is like that :
HRESULT GetBitmap([out] HBITMAP* hBitmap).

Thanks very much!


Rocky


Damit Senanayake

unread,
Apr 1, 2001, 1:06:19 PM4/1/01
to
"Rocky" <yong...@richsight.com> wrote in message
news:ub7EuwPuAHA.1908@tkmsftngp02...

: HRESULT GetBitmap([out] HBITMAP* hBitmap).

Just a guess, but you're writing an Automation server? If so, use IPicture
instead...

--
Damit Senanayake | da...@mvps.org | http://vulcan.spaceports.com/~damit/
Please reply to newsgroups, not by e-mail. | ICQ: 6930718


Rocky

unread,
Apr 1, 2001, 9:36:04 PM4/1/01
to
but if i want to deliver a MSG struct to the server, how can i do for it?

"Damit Senanayake" <da...@mvps.org> wrote in message
news:O#eIA4suAHA.2268@tkmsftngp02...

Reply all
Reply to author
Forward
0 new messages