dll

Synchronize () DLL freezes without errors and crashes

自作多情 提交于 2020-01-06 20:09:01
问题 I built a modular program consisting of several programs (exe), and in some cases these modules are also in DLL. There are about 6 modules. All of these modules used functions of a Thread. This thread does not use visual components, what it does is basically analyze huge files (> 1GB). To improve the efficiency and organization, extract all the code relating to this file analysis, which is used by each of the modules. This facilitates updating and find error. The threads worked normally

Unresolved External Symbol- Error in guide?

…衆ロ難τιáo~ 提交于 2020-01-06 19:38:30
问题 So I've been trying to fix a weird bug in a game engine SDK where the Windows loading cursor is used instead of the game's own cursor. The fix for this is here: http://www.crydev.net/wiki/index.php/Use_Custom_Cursor#Step_1:_Fixing_The_Cursor_Bug. I have followed the fix, but I keep getting these when building the game DLL: Error 1 error LNK2019: unresolved external symbol "public: __thiscall MODCursor::MODCursor(void)" (??0MODCursor@@QAE@XZ) referenced in function "public: __thiscall CGame:

Proper QUuid usage in Qt ? (7-Zip DLL usage problems (QLibrary, QUuid GUID conversion, interfaces))

微笑、不失礼 提交于 2020-01-06 19:35:26
问题 I'm trying to write a program that would use 7-Zip DLL for reading files from inside archive files (7z, zip etc). Here's where I'm so far: #include <QtCore/QCoreApplication> #include <QLibrary> #include <QUuid> #include <iostream> using namespace std; #include "7z910/CPP/7zip/Archive/IArchive.h" #include "7z910/CPP/7zip/IStream.h" #include "MyCom.h" // {23170F69-40C1-278A-1000-000110070000} QUuid CLSID_CFormat7z(0x23170F69, 0x40C1, 0x278A, 0x10, 0x00, 0x00, 0x01, 0x10, 0x07, 0x00, 0x00);

How can I stop ASP.net from marking .dll's read only then throwing errors on rebuild?

 ̄綄美尐妖づ 提交于 2020-01-06 18:11:19
问题 I asked a similar question here but would like to narrow it down since I've figured workarounds for all but two .dll files in the bin folder. Problem: Every time I rebuild or debug, the project throws an error because those two dll's are read only. In file explorer I go to that folder and remove the read only flag and all is well UNTIL the next time I rebuild. They're set to read only again. I've been going in and un-checking read only every freaking time I rebuild and it's become a real pain

C# calling C++ 3rd party DLL (no source) raises exception - not PInvoke Compatible

岁酱吖の 提交于 2020-01-06 16:22:26
问题 I am using VS 2015 Community with an ASP.NET MVC Web Application that uses a 3rd party C++ DLL I do not have source code for. Documentation is very scarce as is any helpful communication with the authors of the 3rd party DLL. I've asked a related SO Question and received a good answer from @Steven. I've modified my code according to his answer and am trying to make a successful call to the 3rd party C++ DLL. The code: // Call DLL MyDLLInput _DLLInput = new MyDLLInput(); { SomeList = new int

DLL not found error when trying to use SQLite in C#

核能气质少年 提交于 2020-01-06 15:16:49
问题 I have a small app coded in C# that works with a sqlite database, so when compiling I have the compiled exe + 2 dlls: SQLite.Interop.dll and System.Data.SQLite.dll On the machine where I compile this it works perfect (w7), but today i moved it to another machine with win XP and I got this when trying to execute it (the app has a try catch with a msgbox of the exception): System.DllNotFoundException: Unable to load DLL 'SQLite.Interop.dll' The specified module could not be found. All the dlls

DLL not found error when trying to use SQLite in C#

試著忘記壹切 提交于 2020-01-06 15:16:19
问题 I have a small app coded in C# that works with a sqlite database, so when compiling I have the compiled exe + 2 dlls: SQLite.Interop.dll and System.Data.SQLite.dll On the machine where I compile this it works perfect (w7), but today i moved it to another machine with win XP and I got this when trying to execute it (the app has a try catch with a msgbox of the exception): System.DllNotFoundException: Unable to load DLL 'SQLite.Interop.dll' The specified module could not be found. All the dlls

What do I need to build a DLL?

末鹿安然 提交于 2020-01-06 14:26:13
问题 I'm having a number of issues, and the current one is overcoming a security exception when using iTextSharp. This article http://www.junlu.com/list/27/763977.html To which I was directed following this question I posted yesterday: Displaying a bar code with iTextSharp using Chris Love's Barcode Handler (2 part) Seems to be what is required to overcome my problem. But I have searched and searched and cannot find a definitive and simple answer to the question "How do I compile a DLL" So, having

Exporting C++ code as a DLL and import using C#?

孤者浪人 提交于 2020-01-06 13:29:11
问题 I have a program written in C++ with a main function that calls a bunch of other C++ classes/functions. I am new to C++ (been a python programmer), so I'm wondering - What are the steps I need to follow to be able to export this as a DLL that is importable from a C# program? Any suggestions? 回答1: If you want your C++ classes to be usable in a C# application you will need to use COM or target the CLR in your C++ program (i.e., use C++/CLI). If you simply have some functions in the C++ DLL that

Exporting C++ code as a DLL and import using C#?

霸气de小男生 提交于 2020-01-06 13:27:25
问题 I have a program written in C++ with a main function that calls a bunch of other C++ classes/functions. I am new to C++ (been a python programmer), so I'm wondering - What are the steps I need to follow to be able to export this as a DLL that is importable from a C# program? Any suggestions? 回答1: If you want your C++ classes to be usable in a C# application you will need to use COM or target the CLR in your C++ program (i.e., use C++/CLI). If you simply have some functions in the C++ DLL that