dll

Automation error running .NET 2.0 application

We have a client who recieve this error when trying to run our .NET 2.0 application: System.IO.FileNotFoundException: Automation error The specified module could not be found. at xyz.getClass.Setup() The xyz module is a dll written in vb6.0 and should have been installed propertly. The application is running fine on houndrets of o...

How can I solve an AccessViolation error in Adobe AIR?

I have an AIR application that loads a series of html components and rotates through them, showing a component while reloading the next one, then showing the next one, etc. It works fine on every OS (Mac, Windows 7, Vista) except on XP it sporadically crashes with a c0000005 AccessViolation in ntdll.dll at either 7c91b121a or 0001b21a. T...

How to merge the code of two DLL into one in C?

I have two dll's a.dll and b.dll along with their library files a.lib and b.lib. I am trying to write a third dll that has functions that has to make use of functions in a.dll and b.dll. Is this possible at all? The output has to be a dll in itself - that is an absolute requirement. I have the full C source code. ...

Installing MS debug DLLs for remote debugging

I have a .NET app that I would like to install on a VM for remote debugging purposes. The app uses a native VC++ DLL which links to MFC and the MSVC runtime libraries via DLL. When I run depends on the VM, it says that the DLL needs the following DLLs: mfc90d.dll msvcm90d.dll msvcp90d.dll msvcr90d.dll msjava.dll Also, it reports...

How do I catch FileNotFoundException when running on Mono and a DLL is missing?

I have a windows 7 x64 desktop with vs2010 and a virtual box installation of linux with mono and monodevelop. I compile the following program with vs2010 and run it in the linux virtual machine and it fails with a seemingly uncatchable FileNotFoundException. If I compile it in the virtual machine and run it in windows, it works great. ...

Delphi: Access type defined in dll for use as return type

Hello, I am writing a DLL with one function in it. This functions return value is a datatype defined in code within the DLL. On the applications side where I reference the function as an external call to a DLL Function CreateMyObject( MyString : String ) : TReturnType; external 'MyDLL.dll' How do I get access from the DLL to the ...

Is the system's "KnownDLLs" list of dependency walker hard-coded?

When opening the Module Search Order dialog of Dependency Walker (depends.exe), the list of the system well-known DLLs does NOT fit with the one that is located in the registry under the following key "hklm\system\currentcontrolset\control\session manager\knowndlls". Is the list hardcoded in Dependency Walker? ...

How to watch the types in dll?

import clr clr.AddReferenceToFileAndPath(r'E:\MyDocuments\Surface Extension\Samples\test.dll') But, How to watch the types in the test.dll. import test I got : error: No module named test Shold I must know the types in the test.dll?? ...

Another DLL FileNotFoundException for a windows service

I have a windows service that works fine in my dev environment. The build process copies all referenced DLL's into the bin/debug folder. I run installutil from the bin/debug folder. Service starts fine. Now, I've created a new folder for the service executable. c:\MyService, and the DLLs are in c:\MyService\libraries. Obviously, thi...

how to access files in a resource dll

Hi, I have created a resource DLL for an IE addon with Visual C++ in Visual Studio 2005, but I cannot access the files (html and icons) within the DLL. I tried with and without a resource file but I still haven't been able to access them. the /NOENTRY option is set, since it is a resource dll. to access the resources I use a path similar...

How to get versions of project references?

I am using C# and I wish to get the versions of some of the dll's that are in the references of my projects. I know that I can get it simply by assuming that the file is in the current folder, however, this may not always be the case. Is there a more robust way of doing this? ...

Instantiate Unmanaged Class From .NET

I'm finding plenty of examples through Google of how to call an API function within an unmanaged DLL from .NET code, but what about instantiating an object from that unmanaged code? I'm currently tinkering with an old legacy application at work (and I'm yet unconvinced that we're going to be able to do anything with this, but tinker and...

How to decomplie / compile dll files ?

Hi , I have an app written in C#. It was already compiled. There are plenty of dll files there and i could not open them , decompile them cannot see and access C# code which build them, when i add a reference to dll files in Visual Studio i only can see what methods are there, but i cannot see / access code of those methods. Is there...

What are general steps for me to port my project to mono?

I have a dll. and visual C++ source for it. (my dll is visual c++ wraper around some ffmpeg av* libs - another precompiled dll's) while in the same solution (.sln) I have C# project that uses my dll. what are general steps for me to port my project to mono? ...

Odd value returned by simple Fortran function

Just as a forward, I am a complete beginner when it comes to Fortran. I've spent quite awhile looking at the other questions on SO, but I couldn't identify a similar question to this, so please forgive me if my solution is either obvious, or already been answered :) I'm attempting to learn how to correctly implement a self-written Fortr...

How to document functions in described technique of creating C++ .Net dll's?

So here we have a technique, and here some more on it, of creating C++ DLLs with functions readable by .Net languages such as C#. The main Idea of technique as I use it (I can be ideologically wrong but it totally works for me) - you created a C++ project, it worked, now you want to use some of its functions from C# (for example you kee...

Library namespace becomes unknown after manual update

Hello, I recently faced an issue with a third-party DLL we use in one of our ASP.NET websites. When I need to update it, I download a newer version from vendor's website and just replace the binary in the "bin" folder in the website folder. Immediately Visual Studio loses this library's namespace (says the method is not accessible due ...

Problems with running WMV in VB.Net

Hello, I just finished building my program, but I noticed that vb.net (2010) creates two dll files ( AxInterop.WMPLib.dll & Interop.WMPLib.dll ), when I tried to run the application without having those two files in the same directory, it crashed right away!!! Is there a way, to have the WMV components running without using any addition...

Delphi plugin framework

Hello, I want to design Delphi plugin framework. There are three options: 1. DLL 2. BPL 3. COM interface Every option has some disadvantage. DLL - Promblem with MDI apllication, forms from plugin cannot be embeded to the host exe - mdi application. BPL - Every *.bpl plugin and *.exe host application must be compiled with the same versi...

DLL with invalid PDB path

I'm trying to get one of our old games to work so we can re-release it. It works other than the fact that when I initially run the executable, I get the following error message: "There is no disk in the drive. Please insert a disk into drive \Device\Harddisk4\DR4" Then when I click on either "Cancel" or "Continue" it then goes on to lo...