Questions tagged [hresult]

HRESULT is used as a return value to determine the success or failure of a function.

168 questions
0
votes
2 answers

Passing HRESULT as a string on command line

I have a need to pass in an HRESULT value to a program as a command line argument. I had intended to do so by passing the hex value, e.g.: >receiver.exe 0x80048836 I'm trying to convert this string representation back into an HRESULT using wcstol,…
Alan
  • 1,148
  • 1
  • 9
  • 17
0
votes
1 answer

UWP AudioGraph setup not working in all devices, HRESULT: 0x88960001 thrown on AddOutgoingConnection

I'm having trouble with a AudioGraph in a UWP app. My trouble is that when I'm adding adding an Outgoing Connection to my input device node I get a Exception thrown with HRESULT: 0x88960001. Using trial and error I figured out that the problem is…
0
votes
1 answer

Excel Interop worksheet HRESULT: 0x800A03EC using VB.net

so in my vb.net application, I am pulling data (about 1046 rows in the table) from database to pre-load the contents in excel spreadsheet. This works fine until 999 rows, but if it exceeds more than 999 rows it gives me that particular error. Just…
bbusdriver
  • 1,577
  • 3
  • 26
  • 58
0
votes
1 answer

How do I get HRESULT returns from libraries imported to c# with tlbimp.exe?

I am using the GMFBridge directshow filter from c# and the import library seems to discard the HRESULTs. i.e [id(5), helpstring("Create render filters in empty render graph")] HRESULT CreateRenderGraph( [in] IUnknown* pSourceGraphSinkFilter, …
Andy Bisson
  • 580
  • 5
  • 19
0
votes
1 answer

Error when testing Windows Speech Recognition API (SAPI)

I am trying to test the following example: Test of Speech Recognition using Windows SAPI The code compiles well But It crashes in execution. The returned pointer to ISpRecognizer Object takes the values NULL as shown in the following code : // This…
ProEns08
  • 1,856
  • 2
  • 22
  • 38
0
votes
1 answer

Cannot create listitem via rest api in sharepoint2013 with contribute rights

I have an issue with our Travel Tool based on SharePoint 2013. This tool consists of different Content Types - all in their specific lists (travel requests, train rides, flights, etc.). There are two main groups which are using this tool: Employees…
Benjamin Birk
  • 79
  • 2
  • 8
0
votes
1 answer

Exception on 302 redirect HTTPS to HTTP after POST in Windows Phone 8.1

I'm attempting to create a Windows Phone 8.1 app that logs in to a web site using a POST request (using Windows.Web.Http), then continues to another page. There's of course a lot more code in there but I don't think it's germane to this…
Porcupine911
  • 928
  • 9
  • 22
0
votes
2 answers

HRESULT exception not caught in VS 2008

I've got a stange situation in visual studio 2008 C++. I work on code that was originally written for visual studio 2003, where everything works well. Now, ported to VS 2008, the exception handling, which unfortuantely exists widely in the code,…
arionik
  • 100
  • 2
  • 9
0
votes
1 answer

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.Synchronization.dll

Im developing with Microsoft Sync 2.1 SDK When I try to synch from my Hard Drive to an external Hard Drive (Toshiba 1,5 Gb) I have this problem: From my develop enviroment (Personal Computer) A first chance exception of type…
0
votes
0 answers

Excel don't created on local server HRESULT 0x800A03EC

I made an program that copies GridView to Excel. It worked well on localhost. Than published it on local network it still opens pages etc. but gets stuck on defining workbook Microsoft.Office.Interop.Excel.Workbook WBook =…
0
votes
1 answer

Error HRESULT E_FAIL with AcroPDFLib component

I am having trouble starting a Windows Forms application. My application uses the AcroPDFLib component to view a PDF in a Windows form. When I start the application, I get the error indicated above. Looking at the StackTrace, I find muptiple calls…
Paul
  • 1,375
  • 2
  • 21
  • 55
0
votes
1 answer

StackOverflowException was unhandled HResult=-2147023895

public void serialcek() { while (!exitThread) { foreach (ManagementObject currentObject in theSearcher.Get()) { try { …
0
votes
0 answers

Downloading in windows store app throws exception with HResult = 0x80004005

My windows store application worked fine before, but last time background downloading didn't work. The behaviour is very strange. Downloading progress works, I can see it on the progress bar. But at the end there is a COMException with…
IL_Agent
  • 707
  • 3
  • 16
0
votes
1 answer

HRESULT Codes in Excel interop in C#

I'm looking for a clean way to output errors in C# when using Excel with interop. When the file is not "right" a have a message like "blabla HRESULT: 0x800AC472". I'd rather want a message like "The file used has this or that problem". In order to…
Boby2000
  • 5
  • 1
  • 4
0
votes
1 answer

I Cant Launch LoadRunner 11.5

I'm having a problem launching the trial version of LoadRunner 11.5. It says: An unhandled exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue. If you click quit, the…
Lusitha
  • 330
  • 1
  • 3
  • 19