[Bug 18914] ITaskbarList CoCreateInstance function returns wrong value
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jun 12 13:13:09 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=18914
Sic Volo <sickvolo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unspecified |1.1.18
--- Comment #3 from Sic Volo <sickvolo at gmail.com> 2009-06-12 13:13:09 ---
(In reply to comment #1)
> Well, it's uninitialized on failure. I think WBCF_CreateInstance() should be
> handling this. Out of curiosity, does this cause problems in an application?
> The only way I see TaskbarList_Create() fail is either by HeapAlloc() failing,
> or the caller trying to aggregate the interface.
It looks like when calling the following line (Visual C++)
CoCreateInstance(CLSID_TaskbarList,NULL,CLSCTX_INPROC_SERVER,IID_PPV_ARGS(&pTaskbarList));
with ITaskbarList3* pTaskbarList;
The pointer returned is not null but an int 1 causing an access violation in
the application.
The app (FAR Manager) is open source so I was able to pull out what seems to be
the offending line.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list