Hi. I have an WPF Full Tust explorer application that uses a COM assembly.
In some computers it works fine, in other ones it fails. There are too kind ok exceptions I got: ComException and FileNotFoundException. In the first case the dll arrives to clinet but the COm generator isn´t found (wich is the Com generator?? must i add it to th...
I am building a project in Visual Studio 2005 that require some libraries that were built in Visual Studio 2003. I'm getting linker errors like
msvcprt.lib(MSVCP80.dll) : error LNK2005: class std::basic_string[...]already defined in libdiguy.lib(bdiNavMesh.obj)
I believe that my program and the libraries are both compiled dynamically ...
Hello,
I'm using CMake to build an application made up of four projects:
a.dll, which has no dependency
b.dll, which depends on a.dll
c.exe, which depends on a.dll and b.dll
d.exe, which depends on a.dll and b.dll
Each project (or target in CMake's terminology) lies in its own subdirectory, and has its own CMakeLists.txt file. In ad...
I have been analysing Ntdll file system functions from the total ntdll function list.
First, I obtain the total function list from ntdlls export directory.
Next, I seperated the file management set from the total function list and tried hooking the entire file management set.
However, I miss to hook a function, which i dint know. Hence...
Hi,
I am a C/C++ programmer, but I was asked to update a program that was written in C# to communicate with a device. My knowledge of C# is very basic.
The previous version was totally written in C#, but now the API that in fact access the device was changed to C. I found out that I can import the C function APIs by using:
[DllImport(...
21st July: Updated, see bottom
In VC++ 2005 I have 2 projects. Firstly, a MFC DLL project (not an extension DLL) which has a simple dialog:
TestDlg.h
#pragma once
#include "afxwin.h"
#include "resource.h"
// CTestDlg dialog
namespace Dialogs
{
class __declspec(dllexport) CTestDlg : public CDialog
{
DECLARE_DYNAMIC(CTes...
My web app calls an external dll. Within the dll I want to access the specifiedPickupDirectory pickupDirectoryLocation value within the system.net/mailSettings/smtp section. How can I grab it from within the dll code?
Something like
System.Configuration.ConfigurationSettings.GetConfig("configuration/system.net/mailSettings/smtp/speci...
Hello,
I am looking for a C# dll to solve simple equation. Example ..
10 = 2 + 3 + x
Result should be x = 5;
Is this is free DLL?
...
Hello all,
I want to have multiple instances of a DLLInterface class but as each object will have pointers to the same DLL functions I want these to be static.
The below code doesn't compile. (I do have a reason for needing multiple instances containing the same pointers which the stripped down code below doesn't illustrate.)
//Heade...
I have a DLL which has a function which accepts a function pointer converts it to a boost::function. This is then stored and then called from inside the DLL.
I want to add a function to the DLL to handle member functions in a similar way. I know I need to use boost::bind to wrap the member function pointer and the object together. I wan...
please forgive my windows ignorance,
Is there an application which can show me which dlls an executable is attempting to use (name, path)
I'm assuming this can be done via static analysis of executable and/or when the executable is running by examining system calls
...
Hi all,
I want to register a 64-bit DLL on a 64-bit OS, (specifically Windows PE). I am not sure if I can use regsvr32.exe because of the limitations of Win PE (additionally, I think it will not work since regsvr32 is for 32-bit dlls).
I need the DLL in order to run a program since the program does not run if the dll is not registered....
Hello,
I'm trying to add my plugins to my application via Assembly.LoadFrom and I would like to know if there's a property to know what type of assembly was loaded - dynamically linked library and executables can be loaded, right?
Thank you!
...
Hi everybody,
I've a problem to execute a program with Mono in the terminal, (mono program.exe). An error appears : "System.DllNotFoundException : libpjsipDll.so "
however my library exists and I've setted my 2 environment variables : LD_LIBRARY_PATH and MONO_PATH in the directory where the file is.
I don't understand why this error o...
Hi all
I've just got to grips with the basics of NHibernate, and while refactoring my data access and domain layers I thought I might as well get cute and start using dependency injection for the data access layer. Unit testing here we come!
I thought since NHibernate uses loads of Castle dlls I might as well use Castle Windsor for th...
I have a dll developed in C Sharp. How can I make it usable in other languages, such as PHP or Delphi?
I cannot find any solution to this problem yet. Isn't there any easy way of doing this?
...
I'm having trouble managing my .dll references in projects in Visual Studio. All the registered .NET and COM references work fine but when it comes to .dll files on disk, if I refer to my files on disk, my colleagues will be missing references because they may have it in a different location on disk etc. Does Visual Studio have a environ...
I have inherited a project from a previous developer. All the ASP .NET code behind files are contained within a .dll and the original files are unavailable. Is there any reliable decompiler out there that produces fairly readable code? I've heard mixed responses while browsing other forums - some say there are applications that will deco...
Hello,
I am experiencing a problem when I want to use a DLL made with VS.Net in VB.NET. I have a COM Class that create a DLL and a TLB file. I can reference the TLB in VBA and use the DLL in VBA on my computer, where I develop. The problem is that it is not working on other computer..?
I tried to register the DLL with regasm.exe (althoug...
I have a Matlab script that requires a function in a DLL, and calls addpath to put it's location on the path. This works fine, but when I try to invoke the same script on the command line with matlab -r "scriptname" it errors out saying that method is undefined. Is there something different happening when I'm starting from the command li...