Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bugs after KB957924 cummulative patch installation in Windows XP

11 views
Skip to first unread message

Wong

unread,
May 5, 2009, 6:29:01 AM5/5/09
to
Hi,
Hit 'Invalid picture' when try to assign a Picture object return from my Dll
(writen in C++) to an ImageList control in Visual Basic 6. Below are the
sample code to return IPicture from my Dll:

hr = OleCreatePictureIndirect(&pd, __uuidof(IPicture), TRUE, (void**)pPic);

the return IPicture is in '(void**)pPic'

Sample in VB
ImageList.ListImages.Add 1, , <the return IPicture>

Note:
- This is works fine with other VB control such as CommandButton
- This is works fine without this cumulative update installation

0 new messages