226 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
108
views
How to call a COM function with a Variant * parameter using JNA?
Background and environment:
I have a Windows software installed, which has a Component Model Object. The COM provides a function:
long GetValue(VARIANT* v, short a, short b, [optional] VARIANT c, [...
1
vote
1
answer
132
views
WinUI Color-changing while process is running
when I try to change the color of my GradientStop in my xaml for my winui 3 app from the codebehind while the app is running, it throws 'System.Runtime.InteropServices.COMException in WinRT.Runtime....
1
vote
0
answers
200
views
System.Runtime.InteropServices.COMException: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
At the moment I am trying to use VB6 (.dll) file in a .NET environment, but I am running against an error what I cannot resolve.
Error:
System.Runtime.InteropServices.COMException: 'Retrieving the COM ...
1
vote
1
answer
545
views
System.Runtime.InteropServices.COMException: 'No installed components were detected
Context: We have recently ported an old Xamarin.Forms project into .NET MAUI. We now have the app opening and a working login. The Main Page after logging in is a page where users can log their ...
0
votes
1
answer
43
views
COMException for DLL in C# but not in VB
I am trying to access a COM interface of an application from a C# project. I have an example that runs in VB. This means that the DLL should be registered etc.
If I try this in c# with:
using Library;
...
1
vote
0
answers
1k
views
Is there a way I can fix this error without re-adding the device to the domain
When running the command "Get-Appxpackage -AllUsers" it errors on about 3% of the devices I deploy it to. So far this is around 30 in 900. It does not error if you do not have "-...
0
votes
1
answer
507
views
WinUI 3 RadioButton System.Runtime.InteropServices.COMException
I have a WinUI 3 application. There is a simple custom dialog that extends ContentDialog.
XAML for the dialog
<StackPanel
Grid.Column="0"
Orientation="Vertical&...
0
votes
1
answer
226
views
Unable to Access Certain LDAP DirectoryEntry Properties in C#
I've been bumping my head over this for a while. I've found many questions asked regarding this on the internet but none had an actual answer.
My goal is to read & copy certain properties from one ...
3
votes
2
answers
2k
views
Visual Studio 2022 - Solution Explorer not populating - Failed to create view with exception: System.Runtime.InteropServices.COMException (0x8000FFFF)
I tried to open an existing older .NET 4.8 REST API solution in Visual Studio 2022 version 17.4.4. I got this interesting error where the Solution Explorer pane did not load, and instead was ...
0
votes
1
answer
3k
views
What to do with System.Runtime.InteropServices.COMException?
I am trying to write web application in C# for ATEM Mini using their SDK.
Finally i can switch video output, but only 5 times. After that, this error was showed:
The code where this error is looks ...
0
votes
0
answers
177
views
Get a COMException from WinUI3 when create a grid
When I try to create a Grid, it throw System.Runtime.InteropServices.COMException
var definition = new RowDefinition {Height = GridLength.Auto};
var grid = new Grid { RowDefinitions = { definition, ...
0
votes
1
answer
97
views
Application.advise() ComException in JNA
I'm handling Excel in Java.
We are accessing Excel application data using JNA's COM API.
I want to hook up when the Excel application closes.
So, I'm using a JNA-based library.
your textcom.sun.jna....
0
votes
1
answer
583
views
[Exception Occurred: System.Runtime.InteropServices.COMException (0x80070296): Exception from HRESULT: 0x80070296
When I'm running prefview tool (https://github.com/microsoft/perfview) in the windows container, I encounter this exception:
[Exception Occurred: System.Runtime.InteropServices.COMException (...
0
votes
1
answer
622
views
COMException when trying to create Excel.Workbook
short disclaimer in order for you to understand how to phrase your answers: I am a total newbie when it comes to programming. All I know are the basic concepts of object oriented programming and VBA, ...
user avatar
user17177485
0
votes
0
answers
1k
views
Catastrophic failure(Exception HRESULT: 0x8000FFFF (E_UNEXPECTED)) while trying to use MS WebView2 in ASP,NET Web API in production environment
I'm getting 'Catastrophic failure(Exception HRESULT: 0x8000FFFF (E_UNEXPECTED))' run-time error while trying to use MS WebView2 in ASP.NET Web API in production environment (Win10, IIS v.20H2 (OS ...