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

setting loadFromRemoteSources for a COM dll

Hi,  I have a com dll writen in c++ which then calls a .net 4 dll exposing a com object.  Within the .net code i need to load an assembly (also .net 4) form a mapped drive.  How can i set the...

View Article


System.Reflection.ReflectionTypeLoadException when running unit test

I'm facing problems with unit tests. I wrote some tests which worked fine and yielded the expected results. Then I wrote a test which loads a TXT file:[TestMethod] public void TestLoadStopwords() {...

View Article


Is System.Security.Cryptography using SIMD optimisation?

I tried to look into SHA-256 calculation with reflector. But it goes somewhere into unmanaged code.What I am trying to find is if the .NET System.Security.Cryptography implementation can be optimized....

View Article

SetHdevmode does not seem to be working

I am new to printing in C#.  I have put together code gathered from several places but am having lots of difficulties. I am trying to use the PdfiumViewer to print PDFs without user intervention.  I...

View Article

Which version of .Net Framework support TLS 1.3?

Description: -In order to comply with a project, I need to know that which version of.Net Framework supportTLS 1.3?.Kindly assist, I will be really thankful.Regards, S.P Singh

View Article


Blocking Collections implementation suggestions C#

Hi All,Need some suggestion regarding implementation of blocking chain collection(producer, consumer implementation) for a following use case :Currently, working on a some sort of claim handling...

View Article

.NET Version problems

Call me a dreamer but I thought the idea behind .NET was to get away from the problems of DLL hell? Just trying to do something simple like find the version installed is a nightmare. See here for what...

View Article

C++/CLI pointers problem

Imagine I have ref class in C++/CLI project which I use in C# and this class contain c++ pointerpublic ref class objekt { public: objekt() { mObj = new cppObjekt*(nullptr); } // ... private: cppObjekt...

View Article


Difference between password property text and datatype(datatype.password)...

Is DataType DataType Password attribute and Password Property Text attribute  do the same thing  or is it different when to use what   ?  code         [Required]        [PasswordPropertyText]...

View Article


What is the dfference between password property text and...

Is DataType DataType.Password attribute and Password Property Text attribute  do the same thing  or is it different when to use what   ?  code         [PasswordPropertyText]...

View Article

Unable to see results of updated/reregistered DLL Assembly when using REGASM.EXE

Hello,I have a C# COM Interop managed solution.I used "regasm /tlb:DatePickerLib.tlb DatePicker.dll /Codebase" to register the DLL the first time and the calling client worked fine.  It executed the...

View Article

WinForm Appliaction handing on Windows10 (.Net4.6)

Hi,We have two custom applications (MDA and DMS client) created inhouse which are built on dotnet framework 4.6.   The MDA is mostly used on Win10 tablets and the DMS client mostly on Win10 Desktop....

View Article

Binary Formatter Serialize Error...

Hi All,I am creating a Component Using C#.Net, theme of this component is, Handling the Session management, as part of this, i have Dictionary<string, Object>. so all the session values are...

View Article


Check User read access to a file share

Hi,I want to check if the logged in user have the access to a file share before he launches the application present in that file share.publicstaticstring userName = System.Environment.UserName;Then...

View Article

How to call a legacy COM collection by IEnumerable interface

I have one legacy COM,after I imported it into one C# project,it expose three function: _NewEnum, item, CountNow I can not walk through its items by foreach( ... in ... ) clause,it seems that _NewEnum...

View Article


Get getter and setter as methods or delegate

Hi, Somewhere low-level, probably MSIL, each property's get and set accessorsstring Text { get; set; }resolve to a pair of methods:string get_Text(); void  set_Text(string value);afaik. Is it possible...

View Article

HTTP Error 414. The request URL is too long.

Hi Team,I have an Application which send Query Parameter URL to SSRS(Windows server).But in return am getting an error - HTTP Error 414. The Request URL is too long.

View Article


Convert a console application to a web service (sort of)

Gentlemen,  It is a year after your posts but I have a similar question.  I have built a console application with its own Main and now wish to convert it to a DLL for consumption by a web service.  I...

View Article

Image may be NSFW.
Clik here to view.

Performance - High CPU usage for a WPF/WinForms application

Hi all, our application implements a trading front-end and is written in C/C++ at its core and WinForms and WPF (in C#) for the graphical part; it's been around for about 10 years now and we've met a...

View Article

Pos for .Net (.Net Core)

HiI am planning to start a platform independent POS application.Will the current Pos for .Net (1.14) version work with the .Net Core 2.0 frame work (eg: OSX, Linux, Windows etc) ?or Is it available in...

View Article
Browsing all 1710 articles
Browse latest View live


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