Can you tell me how do i use the following functions in my C program.
Delphi DLL - Exported functions :
function GetCPUID (CpuCore: byte): ShortString; stdcall;
function GetPartitionID(Partition : PChar): ShortString; stdcall;
I don't have the source code for that DLL so I must adapt my C program to that DLL and not the other way aro...
Take a standard Windows application. It loads a DLL using LoadLibrary to call a function in it (we'll call this DLL_A). That function loads another DLL (we'll call it DLL_B). The application now unloads the DLL_A DLL using FreeLibrary as it no longer requires it.
The question is:
Is DLL_B still in memory and loaded?
Is this something...
Let me give a scenario then see if anyone has a solution / work-around.
I've got a library (DLL) that contains only classes. In another library, I've got interfaces that the classes in the first library implement. Clients will always reference only one version of the library containing the interfaces (always the latest one) - and only...
I have a DLL written in VB 6 and another DLL written in Visual Studio 2005 (VB.NET).
Now I want to invoke the method of the VB DLL from my .NET DLL. What should I do for this?
Any thoughts?
...
Long story short: We've got a system that we're moving from one server to another. At this point, the only issue is that there's an assembly missing on the new box. On the old box, we can see the assembly name, but for the life of us we can't figure out which dll the code is physically in so we can move it to the new box.
Is there som...
I know how to register dlls but I've never really been sure why I'm doing it or under what conditions a dll must be registered. Could somebody explain or point me to some documentation?
...
Suppose the overall dll size is 100M, here are the 2 cases:
100M * 1
10M * 10
Will their be much performance impact when using many small sized DLLs? why?
We did a testing recently but didn't detect much performance difference between the 2 cases, I am not sure if there are some wrong steps with my testing or this is the fact.
...
I have a MFC SDI application which during startup loads a DLL. I am only able to view the source code and use the DLL but not changing & recompiling it.
The situation now is that, whenever the DLL encouner an error it will call exit() such as below.
bool Func()
{
// .. do something here
if (error) { exit(999); }
}
In my MFC appl...
I have a small utility that was originally written in VS2005.
I need to make a small change, but the source code for one of the dlls has been lost somewhere.
Is there a free or reasonably priced tool to reverse engineer the dll back to C++ code.
...
On the mainframe using Enterprise Cobol for z/OS, is it possible to dynamically CALL a Cobol Dyamic link library (DLL) program from a cobol program that has been compiled with NODLL?
...
I am working on writing a wrapper dll to interface a communication dll for a yokogawa WT1600 power meter, to a PC based automation package. I got the communication part to work but I need to thread it so that a 50ms scan time of the automation package can be maintained. (The Extended Function Block (EFB) Call will block the scan until it...
I have a one-function DLL that exports GetHash(). However, the source code for this DLL is lost. I need to integrate this code into my MSVC++ project.
I know that there are some shareware tools for doing this, but I think that I can do it manually.
What do I need to do, to accomplish this manually?
...
I have an third part dll that have a function that returns a string.
When I call the function I got for example "123456" back. At least it seams like that, but when i do mystring.length it does not return any length. If I set the text property of a label it shows "123456".
When I have the string I got from the dll I send it to a webserv...
I am creating a simple C++ DLL project using Visual Studio 2008 Express Edition.
I have a few classes inside a namespace, and a few non-static functions and constructors inside it are declared with __declspec(dllexport).
All those functions are implemented.
I also have an extern "C" BOOL APIENTRY DllMain function which simply returns TR...
Let's assume I have a C# Winforms project, MainGUI.
It references another project in the same solution, ControlsLib.
ControlsLib references a third party control suite, such as Infragistics or Telerik controls, and exposes a set of user controls, that are used in MainGUI.
Copy Local is set to true on all the references in ControlsLib,...
Visual Studio won't make a debug DLL when I select Debug for the configuration.
Instead it makes a release version. The output window show it's making a release version, even with a Debug configuration selected. The release DLL it produces has the current date.
When I save the project in the Debug configuration and reload it, it has ...
As the question says, I want to load a DLL from a location in memory instead of a file, similarly to LoadLibrary(Ex). I'm no expert in WinAPI, so googled a little and found this article together with MemoryModule library that pretty much meets my needs.
On the other hand the info there is quite old and the library hasn't been updated fo...
I'm using a pre-compiled ASP.NET 2.0 site (i.e., copied to the server using the "Build->Publish Web Site" feature in Visual Studio 2005). I catch and log all errors which are usually quite detailed, but lately I've been getting the following error with no other information:
Could not load the assembly
'App-Web-rp2eml-j'. Make sure ...
I have a Windows WinForms app that communicates with linux's mono remoting. Is it possible that i get the mono's system.data.dll and use it on windows instead of .net's built-in.
I wanted to use remotingformat of binary type, and ensure that both ends can serialize/deserialize it properly.
...
I have been given a small library, consisting of a .dll, a .h header and a .def file. I'm fairly sure the library was written in C, but possibly C++.
Is it possible for me to access the functions in the library without using the LoadLibrary/GetProcAddress/FreeLibrary method that is usually talked about. I have no .lib file - is it usual...