No announcements
Found 1434256 threads
-
1 Votes
CoCreateInstanceFromApp call fails while CoCreateInstance succeeds
CoCreateInstanceFromApp can create a COM object from a registration-free context included with the app.Answered | 2 Replies | 5585 Views | Created by wqter - Sunday, April 8, 2012 5:00 PM | Last reply by Rob Caplan [MSFT] - Monday, April 9, 2012 9:26 PM -
1 Votes
Return E_ACCESSDENIED when call CoCreateInstance
You mean writing a WinRT wrapper which inside calls classic COM object?Answered | 8 Replies | 4366 Views | Created by Haaaaappy - Tuesday, October 11, 2011 5:38 AM | Last reply by SnekithanSonOfJesse - Monday, October 17, 2011 8:45 PM -
0 Votes
CoCreateInstance() fails for INetFWPolicy2 in service application
please post a code snippet of your failing call.Answered | 4 Replies | 4717 Views | Created by Gauravkrs - Thursday, April 5, 2012 12:12 PM | Last reply by Helen Zhao - Monday, April 9, 2012 6:10 AM -
1 Votes
CoCreateInstance fails with return code -2147221008
try calling CoInitialize(NULL); before you call CoCreateInstance.Answered | 5 Replies | 11064 Views | Created by PriorityCustomer - Saturday, September 14, 2013 11:32 AM | Last reply by Vinayacs - Monday, July 28, 2014 10:14 PM -
0 Votes
Cocreateinstance function failing with class not registered error
Hi, I have created 32bit COM dll.and trying to load same dll in 64bit COM service in 64bit windows xp,but cocreateinstance() call is ...Answered | 2 Replies | 4269 Views | Created by prxy - Thursday, April 26, 2012 11:27 AM | Last reply by Brian Muth - Friday, April 27, 2012 4:07 PM -
1 Votes
Support of Windows7 Sensor/Location API in Metro App
You should be able to continue using CoCreateInstance(CLSID_location, ...) for your desktop app.Answered | 4 Replies | 3211 Views | Created by wqter - Friday, April 6, 2012 6:35 AM | Last reply by wqter - Tuesday, April 10, 2012 6:57 AM -
0 Votes
Ping.Send fails while ping in dos succeeds
options.DontFragment = true; options.Ttl = 2; // When the PingCompleted event is raised, // the PingCompletedCallback method is called.Answered | 1 Replies | 1845 Views | Created by GC_ - Sunday, March 24, 2013 10:16 AM | Last reply by Joel Engineer - Sunday, March 24, 2013 12:15 PM -
0 Votes
64bits: CoCreateInstance 0x80040154 Class not registered
The example i am using as a base in is a bit confusing... my intention is to make a simple COM object and seems that the Init() call is not needed at all. right?Answered | 5 Replies | 4285 Views | Created by smancini - Monday, March 17, 2014 9:59 PM | Last reply by smancini - Thursday, March 20, 2014 11:44 PM -
3 Votes
IImagingFactory* not being set in CoCreateInstance
CreateImageDecoder(pFileStream, DecoderInitFlagNone, &pImageDecoder); if (SUCCEEDED(hr)) Its some how crashing in the ...Answered | 7 Replies | 5747 Views | Created by Kl2ish - Wednesday, December 2, 2009 8:03 PM | Last reply by Kl2ish - Friday, December 4, 2009 1:29 AM -
0 Votes
Why does NtSuspendProcess fail with PROCESS_SUSPEND_RESUME but succeeds with PROCESS_ALL_ACCESS?
NtSuspendProcess does succeed and suspend the target process as it should.Answered | 37 Replies | 4537 Views | Created by forever a loser - Friday, June 22, 2018 1:28 PM | Last reply by forever a loser - Saturday, June 23, 2018 9:17 PM -
0 Votes
CoCreateInstance function sometimes fails with 0x8007045a "A dynamic link library (DLL) initialization routine failed"
I use CoCreateInstance function to get an IXMLDOMDocument2 object, but sometimes this function fails with 0x8007045a error code returned.Answered | 2 Replies | 11534 Views | Created by Shufen - Wednesday, October 28, 2009 2:38 AM | Last reply by Qi Samuel Zhang - Tuesday, November 3, 2009 8:58 AM -
3 Votes
x64 outlook2016 and CoCreateInstance error 0x80040155 on win10
Thanks RLWA32, But I already tried to add flag CLSCTX_ACTIVATE_64_BIT_SERVER in the call hr = spApp.CoCreateInstance(__uuidof(Outlook::Application), NULL, ...Answered | 11 Replies | 1998 Views | Created by whshu - Monday, April 18, 2016 6:53 PM | Last reply by Wendy Csec - Monday, May 9, 2016 4:37 PM -
0 Votes
Package fails from SSIS catalog succeeds in job
[start_execution] stored procedure, the package fails.Answered | 3 Replies | 1490 Views | Created by David Dye - Wednesday, May 4, 2016 5:36 PM | Last reply by ArthurZ - Wednesday, May 4, 2016 6:31 PM -
0 Votes
How to call COM in metro style app
Yes: the COM library can make calls only to Win32 functions available to Metro style apps.Answered | 4 Replies | 2940 Views | Created by weiji.zheng - Thursday, May 10, 2012 9:20 AM | Last reply by DavidLamb - Friday, May 18, 2012 11:25 PM -
1 Votes
CoCreateInstance fails WACK, need alternative
Here's a snippet: MULTI_QI mqi = {0}; mqi.hr = S_OK; mqi.pIID = &__uuidof(IMFMediaEngineClassFactory); HRESULT hr = ...Answered | 3 Replies | 3219 Views | Created by DLAlex - Thursday, September 13, 2012 6:31 PM | Last reply by DLAlex - Monday, September 17, 2012 1:19 PM -
0 Votes
Transfer a call failed while there is a conference attached to the call
Open the trunk that applies to the PBX calls where you're seeing that exception, and uncheck "Enable REFER support.Answered | 2 Replies | 5965 Views | Created by UCMA DEV - Thursday, June 9, 2011 9:18 PM | Last reply by UCMA DEV - Thursday, June 30, 2011 4:50 PM -
3 Votes
Log backup succeeds while Full backup is running but doesn't truncate the log
In 2005 the log will truncate as soon as the full completes, up to the point backed up by log backups while the full was running.Answered | 8 Replies | 5897 Views | Created by CountDigit - Friday, August 21, 2009 8:45 AM | Last reply by Paul Randal - Monday, August 24, 2009 11:49 AM -
0 Votes
CAtlHttpClient Navigate Failing in SOAP Call
After commenting out the Checked::set_errno(0) call that I added to clear the error state, I recompiled with VS 2005 SP1 installed.Answered | 5 Replies | 4425 Views | Created by poshy - Thursday, February 8, 2007 4:56 PM | Last reply by poshy - Monday, February 12, 2007 3:11 AM -
0 Votes
SQL Agent fails to run via schedule but succeeds if run manually - why??
On the other hand, depending on various things it could take a while before you user database comes online.Answered | 20 Replies | 3099 Views | Created by Sidney L - Wednesday, June 24, 2020 2:58 PM | Last reply by Sidney L - Monday, August 3, 2020 11:29 PM -
1 Votes
MSBuild Task Fails, Exec Task Succeeds ...
The following Task will fail for me every time: <MSBuild BuildInParallel="false" ContinueOnError="false" ...Answered | 1 Replies | 2449 Views | Created by Peter Dolkens - Monday, September 17, 2012 7:46 AM | Last reply by Forrest Guo - Wednesday, September 19, 2012 3:39 AM - Items 1 to 20 of 1434256 Next ›
No announcements