Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Browsing all 1710 articles
Browse latest View live

How to get method parameter's signature?

Hi, I have to save  method parameter's signature to do sth.I can parser the signature from IMetaDataImport::GetMethodProps and get method parameter's signature rightly, but it's dirty because I have to...

View Article


vb6 com server creating .net interop failed

I am starting a new question rather than continuing on with the old one after working on it for over a month. Need more suggestion.1. COM server (dllhost.exe) running vb6 code.2. vb6 code runs .net 3.5...

View Article


Alternatives to NuGet

I'm seeking to dump NuGet, certainly insofar as our internally generated libraries are concerned anyway. Before I spend much time though I wanted to ask if Microsoft are planning any enhancements of...

View Article

DataTables in Visual C++ .NET

What is the difference between XmlReader, XmlTextReader and LoadXml ? How to decide which is used for reading XML file?

View Article

Call to GetRawInputDeviceInfo fails through Remote Desktop / Terminal Services

Hi,We are developing a Windows application to be used through Remote Desktop. Within this application we enumerate the HID devices connected to the client using GetRawInputDeviceInfo using the...

View Article


Exception: System.Runtime.InteropServices.COMException on x64

Hello.I have application which is working correct on Windows 7 x86 (.NET 4). I tried to run it on Windows 10 x64 but I got error:Aplikacja: Program.exe Wersja architektury: v4.0.30319 Opis: proces...

View Article

Using PInvoke with function pointer and delegate

Hi, I'm trying to implement the right definition in C# for the following C code from the FFmpeg shared library:void av_log_set_callback (void(*)(void *, int, const char *, va_list) callback) As its...

View Article

Assembly target framework

I guess the answer is NO, but is it possible to determine an assembly's target framework when all we have is the assembly name?Thx

View Article


Assembly Load Rules

Does the CLR when it attempts to load an assembly, pay any attention to the TargetFramework attribute? Can an assembly with TargetFramework attribute X load another assembly that has a TargetFramework...

View Article


Large post data fails on some devices

Please refer to a previous post here on this...

View Article

explicot load into default Appdomain fails

Hello,we have an Addin written in C# and use a shim written in C++ to load our addin in another Appdomain.Now I want to load three CefSharp Assemblies into the Defaultdomain and since I don't have...

View Article

Export managed function to unmanaged

Hi,I have a question about managed dll and i want to known if it is a good idea to modify the IL code in order to exports managed methods from dll.I have read the chapter 18 of the book "expert .net...

View Article

Office 365 Installation Problem

I bought Office 365 today and installed it. When I try to use it, the following error message is coming. "The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your...

View Article


Method caching of dynamic objects

I instantiate a dynamic object by using the Activator.CreateInstance() method, e.g: dynamic dynObject = Activator.CreateInstance(Type.GetTypeFromProgID("SomeProgID"));The object created is a COM object...

View Article

.NET Framework error on startup

Receiving the following at startup:See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************...

View Article


Embed resource from raw source path?

I am embedding an assembly that gets updated often inside an assembly.  I don't want to have to manually update the resource every time I update the embedded assembly.  I want the compiler to grab the...

View Article

CrossContext exception on native to managed boundary

I have developed a C++/CLI application which return an object of ManagedSubscription to C# clients.ManagedSubscription receives a callback from C# clients, internally makes its own callback to...

View Article


mshtml.HTMLDocument and System.Windows.Forms.HtmlDocument

Is there any way to convert a loaded mshtml.HTMLDocument to a Forms.HtmlDocument? everything i've searched for seems to go from forms.HtmlDocument to mshtml.HTMLDocument, I want to go the other way.  I...

View Article

How can I make a real "click" operation with code?

I was trying to make a small application that can automate another  desktop application.  I'm using UIAutomation  to simulate keyboard and Mouse input.  How ever it seems invoke pattern not always...

View Article

Visual Studio2012 prof reporting, windows forms

Hi there , I have created a dataset for a report and creaded a report.rdlc file using fields from the dataset in a  two level  Item/Detail report format. So far so good.When I create a form for the...

View Article
Browsing all 1710 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>