I am currently working with DLL injection and need to have a single hybrid binary that could act as both an executable and a DLL. I thought of maybe writing a DllMain and WinMain function and then compiling it as an executable but I don't know what would happen if I did that. I know that it is posssible to combine a dll and exe by using ...
Hi all,
I have c++ dll using in my c# project, It ran fine on my window xp machine, but when i copy my debug project on window 2003 server (x64), i received error below, can any one tell me what is this problem, and how can i fix it.
Thanks
"System.DllNotFoundException: Unable to load DLL 'lib.dll': This application has failed to star...
Under VS2008, I'm working on a solution containing various DLL project.
Is it possible to obfuscate the whole code?
...
I am trying to find a solution for dynamically loading the updated dll from a folder or database in a winform (C#.NET) application.
Suppose I have an exe (say MainApplication.exe), which will act as a wrapper/container for the real business logic. The business logic will sit inside the assembly (say Business.dll). Now, how would I dynam...
Can i force a dll to reload it's configuration?
In my VB library I'm using this configuration:
<applicationSettings>
<ComWrapper.My.MySettings>
<setting name="MySetting" serializeAs="String">
<value>This is an entry</value>
</setting>
</applicationSettings>
It's no problem to access the "MySetting" val...
Hi,
I need to reliably redirect an applications look up of a specific DLL. Using the app.exe.local approach does not work because local files are ignored if the application has a manifest (embedded or separate file). So I am trying to do DLL redirection by defining the DLL as a private assembly in the manifests.
I have a test applicati...
I have a DLL that's written in C++Builder (2006), and I'm invoking a single function in the DLL from a .NET application.
The problem is, when I close the .NET application (and the DLL gets detached from it) I get a CodeGuard error saying that it detected resource leaks (and I see the leaks in the CodeGuard log file). I also see the Loa...
What happens when I load some dll at run-time (let's call it Lib1.dll) but Lib1.dll also depends on Lib2.dll but Lib2.dll is not there?
...
I have the following items in a structure
- Dll name (absolute/relative path)
- Function name in the dll
- number of parameters
- Array of parameter types and values
With these information, I need to load the dll and call the function.
To load the dll - I would use loadlibrary
To get the address of the function - I would use GetProcAdd...
I know a (vc++) ocx is an ActiveX control, and a (vc++) dll is a collection of functions. I've found that being called from a vb.net application, the catching of some exceptions could behave differently if the exception is being thrown from inside the ocx or inside a function that comes in a dll.
So my question is:
From a point of view ...
I am working on a fairly significantly-sized project which spans many shared libraries. We also have significant reliance on the STL, Boost and our own template classes and functions. Many exported classes contain template members and exported functions contain template parameters.
Here is a stripped-down example of how I do library e...
I'm working on a project that is using a DLL written in C that has both 32bit and 64bit compiles of the DLL for multiple reasons. The main application is written in Visual Basic 6. The component that brings in the functionality of the C DLL is a class within Visual Basic 6 that contains a module full of Public Declare Functions to the DL...
I'm using Delphi 2006 and have a bit of a problem with an application I'm developing.
I have a form that creates a thread which calls a function that performs a lengthy operation, lets call it LengthyProcess. Inside the LengthyProcess function we also call several Dll functions which also create threads of their own.
The problem that I...
I have an C# library file that uses a web-service reference in it. I have referenced Microsoft SOAP type library v3.0 and use Visual studio 2008. When I create a set up project, I get an error that says mssoap30.dll and msxml4.dll have dependancies that have not been determined automatically and the set up procedure fails.
What is the r...
What kind of magic has this 'MSIMG32.DLL'? Why can't inno setup delete it?
Edit: this file was just added to {app} using [File] section, at the end of uninstall I get the message "Some elements could not be removed. These can be removed manually." what is referred to MSIMG32.DLL exactly.
...
I developed an application that depends on a dll. When I debug my app, the app would complain that "This application has failed to start because xxx.dll was not found."
So what I have to do is to copy the dll into the same directory as my .vcproj.
Is there a way to set the project to look for the dll in (preferably) some relative path ...
I want to release a DLL that contains some classes for other developers to use. Behind these classes are another DLL that contatain referenced functionality. In the development environment I want this backend DLL to have development oriented functions, but when the code is migrated to the production environment, I want that backend DLL...
i tried using cygwin gcc compiler along with netbeans to create dll files it seems there is an issue in the generated dll file. if i use the ms vc++ compiler and do all compiling on command line its runs file, but i dont know how to integrate ms vc++ tools in netbeans ... can anyone help me on that ?
thanks
jay
...
Hi.
There is a problem: i need to compile the dll from all source *.cpp files in a particular folder with a help of nmake.
For example, cpp files stored in the folder ".\src", and they must be compiled into one dll.
Where i can read about nmake? Or some examples?
...
how can i use this dll function?:
extern "C"__declspec(dllexport)
void __cdecl InvertRawPic(unsigned char *In, unsigned char *Out,
unsigned int rows, unsigned int cols);
in QT. This function is to invert images.
...