dll

What exactly is the "Multi-threaded Debug DLL" Runtime Library option doing in VS 2008?

I have a solution in VS 2008 that creates a DLL. I then use that DLL in another application. If I go in to the DLL projects property pages and change the following configuration for a DEBUG build then the built dll no long provides the desired functionality. If I change it back and rebuild the DLL, then the DLL does provide the correc...

Delphi LoadLibrary Failing to find DLL other directory - any good options?

Two Delphi programs need to load foo.dll, which contains some code that injects a client-auth certificate into a SOAP request. foo.dll resides in c:\fooapp\foo.dll and is normally loaded by c:\fooapp\foo.exe. That works fine. The other program needs the same functionality, but it resides in c:\program files\unwantedstepchild\sadapp.ex...

ATLComTime.h is part of what redistributable?

I added functionality to a code base someone else wrote and while the "Not using ATL" flag was set in VS2005 I see that there is #include <ATLComTime.h> in one of the files. I have only sent the C-Runtime library (see here) redistributable. The client can not get the code to worktheir machines. They receive a "DLL entry point not foun...

How to reference a .dll from a .jar file

I have an application which uses methods in a .jar which calls a .dll. This works fine for me on my machine (when the app is unpackaged or run as a .jar itself) but when the application.jar is run on another machine, with the external .dll on the system path, it cannot run the dll file. Does the .dll have to be located anywhere special?...

How to write dll wrapper for RMI calls?

I have J2EE application deployed on JBoss AS. There is a EJB3 stateless session bean in this app. I need to write dll that will wrap the methods of that stateless session bean. There will be just standard data types as arguments, so I don't need to pass some specific objects as an arguments. Is that possible? ...

how can i access C# dll from VBScript on client machine

i have created a C# dll file on my machine as shown below: namespace myDLL { public class myClass { public string myFunction() { return "I am Here"; } } } then i created a tlb file with "tlbexp" command, then i used the "regasm" command n registered this dll on my machine. When i created an ...

passing interfaces as parameters in ATL

Hi, I have a native C++ dll and two classes: classA { void setNumber(int number); int getNumber(); } classB { void setclassA(classA*); classA* getclassA(); } I have an ATL dll that wraps the native C++ dll and two interfaces: InterfaceForClassA , InterfaceForClassB . InterfaceForClassA : STDMETHODIMP CInterfaceForClassA::createClass...

C++ DLL Injection get Struct values

I am trying inject into a dll that sends a void ** for one of the parameters. The void ** can contain structs that are created in the application. Is there any way of getting data out of the structs. ...

How can I make a fixed hex editor?

So. Let's say I were to make a hex editor to edit... oh... let's say a .DLL file. How can I edit a .DLL file's hex by using C# or C++? And for the "fixed part", I want to make it so that I can browse from the program for a specific .DLL, have some pre-coded buttons on the programmed file, and when the button is pressed, it will automatic...

Need to lookup function arguments (in/out) from pdb by dbghelp

I need to lookup function parameters(their types infact) from PDB file From dbghelp, we can parse any pdb and can get info like how many functions,addresses function names and others etc. My problem is I am also interested to get function parameters as well. As SYMBOL_INFO structure in callback function only contains symbolName,Address...

What is a Delphi version of the C++ header for the DVP7010B video card DLL?

I need help with converting c++ header file to delphi. I spent several days on this problem without success. Below is the original header file and my Delphi translation. C++ header #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifdef DVP7010BDLL_EXPORTS #define DVP7010BDLL_API __declspec(dllexport) #else #define DVP7010B...

use dll from remote computer

I have two computer PC1 and PC2 In PC1 I have a .Net C# dll file that provides operations on SQL Server database. My question is - "how can I use this dll file on PC2 through VBScript within Outlook 2003". I tried this same task on PC1 and I succeeded using the CreateObject("dllfilename.classname") method of VBScript within outlook 20...

Using Microsoft office dlls without packaging them

Hi, Is there a way to create and install a Microsoft Office Add-in without packaging the referred dll files. Assuming Microsoft Office is installed in the target PC where the Add-in can be installed, how to refer the Office dlls using C# code in the Add-in. Thanks, Ashok. ...

passing values from exe to dll c++

so I have this executable which takes values from a joystick and outputs those values (i have the code). I want to pass those values to a dll, which is read in a program (i have the code for the dll). how can I pass those values from the exe to the dll? ...

C++ VB6 interfacing problem

Hi, I'm tearing my hair out trying to solve this one, any insights will be much appreciated: I have a C++ exe which acquires data from some hardware in the main thread and processes it in another thread (thread 2). I use a c++ dll to supply some data processing functions which are called from thread 2. I have a requirement to make ano...

access managed code ( CLR ) DLL with Delphi 7

How delphi7 access C# .net managed dll ? i'm trying to access some DLL that compiled in c# and they are not those old style DLL. ( i dont have source for those DLL) i did tried to search online but they are confusing. i guess there is some limitation even if get to access it with D7 .. thanks. ...

Allow native DLL to output stdout / stderr in c# console application

I have a native DLL which outputs via stdout / stderr. I have a C# console application which calls this DLL and outputs binary data to a parent C# application which started the C# console exe, processing stdout / stderr. Currently when I call the C# exe it works just fine (the DLL hooks up to the stdout of my console application and pu...

MSVC 2008 - Unresolved External errors with LIB but only with DLL, not with EXE project

I have a DLL that I am trying to link with a libjpeg LIB using MSVC 2008 that is generating Unresolved External Symbol errors for the libjpeg functions. I also have a test project that links with the exact same libjpeg library file and links without error and runs fine too. I have triple-checked my LIB path and dependent LIBS list se...

Overriding classes/functions from a .dll.

Say I have class A and class B. B inherits from class A, and implements a few virtual functions. The only problem is that B is defined in a .dll. Right now, I have a function that returns an instance of class A, but it retrieves that from a static function in the .dll that returns an instance of class B. My plan is to call the created ob...

How to convert a dynamic dll to static lib?

I write a program helloworld.exe; it depends on a.dll. I don't have the source code of the a.dll, which is a dynamic dll. How can i change it to static library, so I can link it into helloworld.exe? ...