dll

C# version control dll / api

旧时模样 提交于 2020-01-07 05:01:06
问题 I'm trying to find a version control Dll / Api that I can link/reference in my project without having to install a SVN of some kind. I've been trying all afternoon to get libgit2sharp to work, but am having problems with it. That'll be another question, but in the meantime, anyone have other suggestions? By the way, GitSharp is on hold and they suggested libgit2sharp as a replacement, so GitSharp isn't an option. 回答1: You may be willing to take a look at Witinyki . It's a very simple wiki web

How to list / check existance of Managed .NET DLL's in dllhost.exe

一笑奈何 提交于 2020-01-07 04:59:07
问题 I have some components that I made available for COM+. In this case it will be loaded in dllhost.exe (COM Surrogate) when it is used. For maintenance reasons I want to create a .EXE file that stops all instances of the dllhost.exe to stop usage of the components. So I made this: foreach (var process in Process.GetProcesses().Where(pr => pr.ProcessName.ToLower() == "dllhost")) { var modules = process.Modules; foreach (ProcessModule module in modules) { //Console.WriteLine(module.ModuleName);

Qt Error : Procedure Entry Not Found

戏子无情 提交于 2020-01-07 04:11:32
问题 I am making a project in Qt 5.6.1. When I run it inside Qt Creator, it runs perfectly. But when I run it inside the folder, it shows: The procedure entry point ??0QVariant@@QAE@ABVQString@@@Z could not be located in the dll Qt5Core.dll. How can I fix it? 回答1: If you have multiple versions of Qt installed everything might work well inside QtCreator where the Kits are set properly. When you run from the build directory directly it might happen that you have another version of Qt in paths which

multiple shared libraries from one project with common source files

人盡茶涼 提交于 2020-01-07 03:09:20
问题 I have a main application wich can be controlled by dynamically loaded plugins (.dll on win - .so on linux). Now i want to create a lot of these plugins where just on function is implemented different. Lets say i have the following files in my Project: plugin.h plugin.cpp i001.cpp i001.cpp contains one implementation of the of the "run" function of my plugin class. Now this Project compiles to "plugin.dll". What i want to achieve is something like this: plugin.h + plugin.cpp + i001.cpp -->

Visual Studio c++ LoadLibary error: The program can't start because dll is missing from your computer

Deadly 提交于 2020-01-07 03:03:29
问题 I'm trying to connect my program to a dll. Connect code: HINSTANCE lib; lib = LoadLibrary("DLL.dll"); if (lib) { cout << "Libary Loaded !"; FreeLibrary(lib); } else { cout<<GetLastError(); } DLL code(at DLL.cpp): #include "pch.h" #include "DLL.h" #include<iostream> using namespace std; int f() { return 11; } Once I run the program I get this error: The program can't start because <dllname> is missing from your computer. After each dll request I downloaded the dll from the internet and put it

Using a DLL which in turn uses Entity Framework

我怕爱的太早我们不能终老 提交于 2020-01-07 02:53:11
问题 We are using Entity Framework in a service library for my application but don't want to have a dependency on EF in any application which makes reference to this DLL. The problem we have is the main application has two problems: It doesn't have the references to EntityFramework.dll (I think this is an MSBuild issue?) I'm required to put the connection string in the main applications App.Config file Are there any solutions for this or do we have to just accept any application using this DLL

Using a DLL which in turn uses Entity Framework

不打扰是莪最后的温柔 提交于 2020-01-07 02:53:04
问题 We are using Entity Framework in a service library for my application but don't want to have a dependency on EF in any application which makes reference to this DLL. The problem we have is the main application has two problems: It doesn't have the references to EntityFramework.dll (I think this is an MSBuild issue?) I'm required to put the connection string in the main applications App.Config file Are there any solutions for this or do we have to just accept any application using this DLL

C#: Signing DLL with strong name (what about its dependencies?)

家住魔仙堡 提交于 2020-01-07 02:48:13
问题 A while ago I asked about "DLL caused an exception" when calling a method that references another DLL. On that time I had no clues but now I think what may be causing the problem. Assume I have an EXE calling a DLL1 which requires a DLL2 . When I signed DLL1 with a strong name, for some reason all calls to DLL2 's methods started returning the error below: System.Exception: Error while trying to call method X from DLL1. ---> System.Reflection.TargetInvocationException: Exception has been

Using c++ dll made from eclipse in visual studio 2012 c#?

人走茶凉 提交于 2020-01-06 21:00:11
问题 How can I use a c++ dll made from eclipse on visual studio 2012 c#? I already made the dll and tried to reference it in c# but visual studio gives an error that " A Reference to "....dll" could not be added please make sure that it is a valid assembly or com". I have read about it needs to be a managed com or something? If so, How can I do that in my eclipse c++ dll? 回答1: I made a pretty complete tutorial as an answer of another question here on Stack Overflow. See How to access class in C++

Azure references incorrect DLL

て烟熏妆下的殇ゞ 提交于 2020-01-06 20:24:58
问题 This is somewhat of a follow up to: Reference alternate to reference assembly in Visual Studio 2010? I am referencing an alternative version of a core framework DLL. Visual Studio (and the local debugger fabric) has no problem referencing this file. Additionally, the file is marked Copy Local . However, when I deploy to the cloud, I get: Could not load file or assembly '(assembly strong name)' or one of its dependencies. The located assembly's manifest definition does not match the assembly