Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
105 views

I'm trying to write a wrapper for a C library, but I got AccessViolationException on a function call. I tested the wrapper on my own library. The approach is: [DllImport("library.dll", ...
Krisztian Szabo's user avatar
3 votes
1 answer
212 views

My function that returns a string looks like this in c#: [return: MarshalAs(UnmanagedType.LPWStr)] public static string? GetText() { return SomeClass.SomeMethodThatReturnsAString(); } And function ...
Sayan's user avatar
  • 61
1 vote
1 answer
31 views

I have a Outproc COM server exe created in C++ using ATL which implements interface methods. I have 2 test clients to test this. One is native C++ and other is Managed. Native test client ...
srajeshnkl's user avatar
1 vote
1 answer
527 views

I'm testing an Azure function that has a blob trigger then writes a message in a message queue. I have "Allow storage account key access" disabled as we want to use Managed identities to ...
mac's user avatar
  • 385
0 votes
1 answer
339 views

We distribute a managed android version of our mobile app to several large customers for their MDMs. This lets them control the roll out to hundreds of devices. The MDMs in play currently are InTune ...
Just Asking's user avatar
3 votes
1 answer
88 views

In the dispose pattern documentation, this is suggested on how to dispose object: protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) ...
aybe's user avatar
  • 16.8k
0 votes
1 answer
754 views

I have a .NET Core API app running in Azure Container Apps (ACA), I want to restrict access to it to only allowed authentication by managed identity, MS Doc mentions it's possible, but no details. On ...
cyberguest's user avatar
6 votes
1 answer
2k views

I have a SPA that uses NextJS for the frontend, and calls a PHP API. Sometimes a user is able to access the frontend once, but then Cloudflare may require a Managed Challenge, which makes some API ...
recold's user avatar
  • 61
1 vote
1 answer
437 views

Consider the following code: public class SomeClass { public bool someBool; } public ref struct RefStructWithManagedFields { private SomeClass? _managedField; ...
Canijo's user avatar
  • 21
1 vote
0 answers
322 views

I am building react native mobile app via npx eas build -p android with expo 49. This error is just related to path while building hence I haven't included environment info in detail. App is running ...
Arvind K.'s user avatar
  • 1,344
0 votes
1 answer
233 views

New to terraform I've been using the count argument to create VMs in Azure. Best practices suggests using For_each argument over using count. I've encountered issues where I wanted to change certain ...
wicker's user avatar
  • 11
1 vote
2 answers
1k views

Been struggling for days to find a working example for a Managed BA for Wix Toolset v4. Most of them are in v3. I have exactly the same issue with this existing question here, and some similar ...
rikuna's user avatar
  • 13
0 votes
0 answers
127 views

I wrote a c# dll with some functions that make requests using the inbuit httpclient from the System.Net package. That dll is called from within a Delphi program, the functions are exposed via the ...
Wardzionn's user avatar
0 votes
0 answers
150 views

I'm implementing a C++ DLL which has to interoperate with C# code (and Unity framework), hence I need to be able to convert a std::string to System::String in C++. For this purpose, I wrote the ...
BullyWiiPlaza's user avatar
0 votes
0 answers
48 views

The problem is Inno (V6.2.2) fails to delete the temporary directory because there are still files in it that are not unloaded. Inno Setup's UnloadDll doesn't work on managed libraries. Before this is ...
DigAtRandom's user avatar
0 votes
1 answer
439 views

I saw a couple of post(this post specifically) talking about using peverify.exe to check whether the .net exe(or dll) contains unsafe code. But no matter what I do I keep getting File not found or has ...
Vivek Shukla's user avatar
-3 votes
1 answer
56 views

This is probably a simple noob user-error, And I feel dumb not figuring this out myself. I have some old unmanaged code that I need to convert to managed c++ .net, because I want to Serialize the ...
Natural Number Guy's user avatar
2 votes
1 answer
572 views

I have a managed server from Hetzner for my wordpress websites and now I want to deploy a django application on it without renting a cloud server from hetzner. The application runs on my computer with ...
DerJK's user avatar
  • 23
0 votes
1 answer
931 views

I have built an API as an Azure Web app that will be hosted through Azure API Management Service. I need the app to connect to an AzureSQL database using a system assigned managed identity. var ...
laney's user avatar
  • 57
0 votes
2 answers
690 views

Here is my code in C++ struct myStruct { int cid; float c; float r; }; int Predict(myStruct* p, const char* path2D) { std::vector<myStruct> result = SomeFunction(path2D);//e.g., ...
sulabh's user avatar
  • 41
-1 votes
1 answer
675 views

Error: Cannot find native module 'ExpoMailComposer' this is the error I get as soon as I insert import * as MailComposer from "expo-mail-composer"; in my code. I believe the documentation ...
Noah Duran's user avatar
1 vote
1 answer
728 views

We utilize SQL Server as a managed SQL instance. All input and output files / data is to the blob. I need to perform a full backup of a database and store it on local file system and restore it later. ...
Sasquash's user avatar
0 votes
1 answer
203 views

Trying to save search log into local file. I need async handler for it, but AddOnBeginRequestAsync needs a IAsyncResult returned from BeginRequest, EndRequest. How to to this without it? return null - ...
ValB's user avatar
  • 19
0 votes
1 answer
588 views

I am using visual studio 2022 with c++, and I wanted to use the class wizard feature to add a class, when I noticed that in the add class menu there is an unselectable option titled "Managed"...
Tomer Trashman's user avatar
1 vote
0 answers
142 views

I'm trying, without success, to override the virtual methods of a .NET class in a Python derived class. Environment Visual Studio 2022 Pythonnet version: 3.0.1 Python version: 3.10 64-bit. Operating ...
IkeStarnes's user avatar
1 vote
1 answer
84 views

Related code here: https://github.com/AkazaRenn/FruitLanguageSwitcher/blob/main/Core/Hotkey.cs#L17 Callback code related class: internal class Hotkey { [UnmanagedFunctionPointer(...
Frank Xu's user avatar
0 votes
0 answers
133 views

I am trying to change the value of for a key in the dictionary 'com.apple.configuration.managed' inside UserDefaults with Swift 5 This is my code: if let dict = UserDefaults.standard.dictionary(forKey:...
es1's user avatar
  • 1,696
0 votes
0 answers
405 views

I work on a product that uses accessories to send commands to the system. These accessories are basically USB keyboards and each of them has a different set of keys, on which we must act differently, ...
allw's user avatar
  • 1
1 vote
0 answers
1k views

I have a visual studio 2019 C++ v142 project with Common Language Runtime Support enabled. The project uses the msclr interop to use a .Net dll. The current .Net dll is version 4.0. The project does ...
kristian mo's user avatar
  • 1,506
0 votes
1 answer
324 views

In an Basic MSI project , a function needs to be called from a Managed DLL (C# built in .NET core 6.0). This DLL is added as Support file in MSI. When the MSI is invoked and the custom action is ...
user-24's user avatar
  • 59
-3 votes
1 answer
118 views

I have a static lib in my project and I want to use this in my .net project. I have taken this project as a starting point. Exposing native to managed - C++/CLI My use case is the Second Approach. So ...
Diddlik's user avatar
  • 96
4 votes
1 answer
3k views

I am going to convert current expo project from Expo managed workflow to bare React Native to use react-native-branch. I run this command on terminal. expo eject I can run app on local environment, ...
AngelDev0329's user avatar
1 vote
1 answer
84 views

I am working on a C# .NET wrapper that wraps an unmanaged C++ Driver. The logic is to create a C# class that has methods which wrap the DLLImport entries. One of the functions of the unmanaged driver ...
AntGeorge's user avatar
1 vote
0 answers
446 views

I know this is a much discussed topic. There are severals pages with happy and sad endings. I've read: maven-dependency-range-does-not-work-as-expected maven-version-ranges-do-not-behave-as-expected ...
Paul's user avatar
  • 158
3 votes
1 answer
151 views

Managed Heap tab is not populated The VMMap utility does not show the memory details of the Managed heap. Have tried to run it on both Windows 10 and Windows Server 2012R2. Any inputs on how to make ...
Mithun Murthy's user avatar
1 vote
2 answers
1k views

I want to use cudaMallocManaged, but is it possible force it allocate memory on a specific gpu id (e.g. via cudaSetDevice) on a multiple GPU system? The reason is that I need allocate several arrays ...
user873275's user avatar
-1 votes
1 answer
127 views

What's the difference between managed callstack and native callstack, why cannot resolve the symbol from managed callstack by dbghelp? can anyone tell me the basic reason?
GuangJun Liu's user avatar
0 votes
2 answers
641 views

Given a .NET assembly (DLL or EXE), how can I make sure it does (or does not) use unsafe code, with a command line tool?
Evgeniy Berezovsky's user avatar
1 vote
1 answer
2k views

Seems like an easy question but since SQL MI already requires a subnet delegated to it, Why Would you use a private endpoint? You already have a private IP address which will keep traffic contained to ...
mac's user avatar
  • 385
7 votes
1 answer
9k views

I work on a solution with both managed (C#) and native (C++) code. The managed code calls into the C++. I typically have native code debugging disabled because it makes the whole experience slower ...
Joe's user avatar
  • 7,194
1 vote
2 answers
262 views

I am trying to get the mouse cursor speed in a windows UWP app using C++/CLI. In a traditional Win32 App I would use the SystemParametersInfo function, something like: SystemParametersInfo( ...
Jakob Randa's user avatar
0 votes
0 answers
216 views

When I try to import the function extern __declspec(dllexport) void SomeNativeFunction(const std::string param1, const std::string param2); defined and declared in SomeNative.Dll into a .NET ...
Oblomov's user avatar
  • 9,735
0 votes
0 answers
23 views

Can we enable private endpoint for managed storage account and does the communication happen over Private or public endpoint for the account.
Chandu's user avatar
  • 3
0 votes
0 answers
583 views

I've been following this guide to create my own .NET Core 6 host from an unmanaged C++ application using hostfxr.h and nethost.h, and interface with a managed DLL written in C#. I can retrieve and ...
Lázár Zsolt's user avatar
0 votes
0 answers
46 views

I have made a c++ mfc project and c# class library the mfc project is compiled using Common Language Runtime Support (/clr), and the c# project is included by reference in side the mfc app. The mfc ...
med's user avatar
  • 45
1 vote
1 answer
443 views

I need to copy data from a CSV file to a managed partitioned table in Hive. CSV file rows are: id,nome,cognome,ruolo 16,Mike,Maignan,Portiere 23,Fikayo,Tomori,Centrale 24,Simon,Kjaer,Centrale ...
Moreno's user avatar
  • 25
-1 votes
1 answer
546 views

Is it possible to create an "azure managed application definition" using createUIDefintion.json file and terraform scripts, instead of a mainTemplate.json (arm template) ?.
odin 147's user avatar
-1 votes
1 answer
284 views

I have setup an Azure VM that is linked to my Managed SQL, but I need to install SSMS and ODBC drivers but the machine tells me nothing can be installed. Also, I did the install from this (https://...
michaelascend's user avatar
2 votes
0 answers
410 views

hello i am unable to connect to document DB from amazon licensed managed grafana service . Both services are in same region US East ohio. i am using following conn string to connect with certificate ...
Sana.91's user avatar
  • 2,259
0 votes
1 answer
128 views

I'm writing a JMeter script to test some ajax-based JSF 2.3 pages. I am able to authenticate and create a user session against my application, but when I attempt to provide data to a form, the input ...
nettie's user avatar
  • 688

1
2 3 4 5
18