Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

I have a strange behaviour of a clr application with .NET 6.0 C# Dll CSharpDll CSharpClass.cs namespace CSharpDll { public class CSharpClass { public double Sum(double a, double b) ...
ora's user avatar
  • 163
1 vote
1 answer
2k views

I am trying to load an excel file within an IronPython script, which is embedded within a software. I tried to do this with the following code: import clr clr.AddReference("Microsoft.Office....
Checster's user avatar
0 votes
1 answer
88 views

Is there a way to attach a handler for the IsVisibleChanged event for a DataGridRow in a DataGridRow style definition? That is, is there a way to do something like the following: <DataGrid....
Marcin's user avatar
  • 161
0 votes
0 answers
160 views

We have .net 4.8 WPF desktop application with over 300+ assemblies to load. When started for the first time after reboot it takes ~10 sec more to start than if it was started before that. I suspect ...
ekalchev's user avatar
  • 981
0 votes
0 answers
730 views

I have a C++ CLR wrapper project in Visual Studio 2022. The project platform was set for Win32 platform. Also, that works fine. but now, I need to set project for x64 platform. So, according to Win32 ...
Milad Rasouli's user avatar
0 votes
0 answers
195 views

In the CLR Binder documentation there is this section: https://learn.microsoft.com/en-us/dotnet/framework/deployment/how-the-runtime-locates-assemblies#step2 It states that there is a cache of ...
Taf Munyurwa's user avatar
  • 1,572
-1 votes
1 answer
431 views

I am trying to build a C++/CLR form app And in the code below I am trying to get the length of the string of GetTb Which is a string retrieved from a textbox Tb_Return Tb_Return->Text = "This ...
seekrit's user avatar
  • 11
0 votes
1 answer
186 views

Visual Studio 2022, Windows CLR form with ListBox and listbox have AllowDrop=True. Used events DragEnter and DragDrop: private: System::Void listBox1_DragEnter(System::Object^ sender, System::Windows:...
Pavel Hudecek's user avatar
1 vote
1 answer
676 views

I am trying use Beeware to package my python prjocet, but when I am trying to use "briefcase dev" command, It raise this error. I found that it need to use pythonnet and clr, and when it ...
Walter's user avatar
  • 21
1 vote
0 answers
398 views

In production, we encountered an issue which is not getting simulated anywhere else but it peaked my interest because of seemingly such error is impossible to happen (as far as I know !) The ...
jatanp's user avatar
  • 4,142
1 vote
0 answers
75 views

ECMA-CIL says the following: In order to allow managed pointers to be used more flexibly, they are also permitted to point to areas that aren‘t under the control of the CLI garbage collector, such as ...
Manuel Carrasco's user avatar
0 votes
2 answers
174 views

In the following part of my UWP application, I have a performance bottle-neck of creating a lot of large TIFF files. Is there any way to make it run faster without too many conversions and data copies?...
JaSHin's user avatar
  • 287
0 votes
4 answers
191 views

I have a C# CLR doing multiple string manipulations. It returns an int. I'm calling it with SELECT func(col1, col2) AS Score INTO #A FROM table; SELECT * INTO #B FROM #A WHERE Score > -1 If I do ...
jigga's user avatar
  • 624
1 vote
1 answer
938 views

I have a few questions about how .Net stores multi-dimensional arrays in memory. I am interested in true multi-dimensional arrays not jagged arrays. How does the Common Language Runtime (CLR) store ...
andypea's user avatar
  • 1,401
0 votes
0 answers
147 views

I have a Visual Studio 2022 solution containing dot net 6.0 and clr:netcore projects. Most of the projects depend on other projects as a reference using dependency injection (not project reference). I ...
Ahmadi's user avatar
  • 79
0 votes
1 answer
242 views

I have seen few answers about this but none worked for me. Using Visual Studio 2022, clr/cli project, code in *.cpp file. I created custom icon "MyIcon.ico", I want this to be my application ...
PazO's user avatar
  • 1,486
4 votes
1 answer
90 views

I am trying to create a ByRefLike struct Context which contains multiple ByRefLike structs. When there is only a single field, the program works. When there are more than 1, the program throws an ...
Matthew Crews's user avatar
0 votes
0 answers
49 views

We have a program that downloads the required component from the cloud. var buffer = TcpClient.DownloadDll().ToBytes(); var assembly = Assembly.Load(buffer); Because this is a very important core ...
srnldai's user avatar
  • 385
0 votes
2 answers
117 views

Been scratching my head with this one for a few hours. I've got a handful of CLR DLLs which work ok, but this most recent is giving me a few headaches. Any insight will be helpful. I've tried ...
JBird's user avatar
  • 13
1 vote
0 answers
3k views

I'm running an Identity server 4 project on IIS and suddenly it ran into this error : .NET Runtime version 4.0.30319.0 - The profiler has requested that the CLR instance not load the profiler into ...
farshad fahimi's user avatar
1 vote
1 answer
122 views

My understanding is that the .NET CLR is allowed to run "unverifiable" and "verifiable" bytecode. However, in both cases, the bytecode must be "correct CIL" in terms of ...
Manuel Carrasco's user avatar
0 votes
1 answer
162 views

I have an MFC application that uses some specific files with CLR but not the whole project. The challenge is I want to embed a WinForms user control inside the MFC project without the whole project ...
med's user avatar
  • 45
1 vote
1 answer
302 views

I created a C++ project in Visual Studio Class library CLR (.NET Framework): #pragma once using namespace System; #ifdef _M_X64 namespace MyDLL64 { #else namespace MyDLL32 { #endif public ref ...
Lexxy's user avatar
  • 477
-2 votes
1 answer
150 views

private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) { this->label3->Text = stopWatch.Elapsed.ToString();} I need help for changing the format of my stopWatch, ...
Yissou's user avatar
  • 25
0 votes
1 answer
386 views

I am developing a program that uses DynamicMethod quite a lot, and found that running it under Release mode is significantly slower than under Debug mode. I managed to repro the problem with the ...
skc's user avatar
  • 121

1 2
3
4 5
80