Govert van Drimmelen

Results 243 comments of Govert van Drimmelen

@augustoproiete I'd be happy with either of these options, but it seems like a marginal benefit over the current opt-out option. Do you think many people rebuild and debug both...

http://www.vbforums.com/showthread.php?839513-Change-quot-Embed-Interop-Types-quot-for-a-reference-from-a-compiler-directive

One needs to be a bit careful here - some features of the COM interop with C# are only enabled when the PIA is embedded. So some of the syntax...

> > Calling the COM object model from the main thread in a context where COM calls are not handled, often results in COM errror 0x800A03EC (which I've seen documented...

@fandrei It's calling a safe property on the Application object as a check to see it the COM object is accessible or not. In your add-in code you can call...

There are some more notes here: https://github.com/Excel-DNA/ExcelDna/wiki/COM-object-model-notes

@rkapl123 Your check is far more refined than the internal IsApplicationOK we're discussing here. You're successfully using the Application object to do your check, so the COM object model is...

@rkapl123 I think if you're able to call Application.CommandBars.GetEnabledMso("FileNewDefault") then Excel is indeed ready to process your COM calls. The problem seems to be that there are different notions of...

I've pushed the .NET 5 host project. Maybe you can have a look at what I've done there. In particular I use the $(PlatformTarget) variable in a few places, and...

I don't expect much shared code or a shared native project between the Framework and Core native host libraries. I am not really keen on any changes to the existing...