I have C# ASP.NET web service project in visual studio 2005 which refers a C++ dll. But when I try to run the web service I get the following error which is shown in the web browser:
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Description: An unhandled exception occurred during the execution of the cu...
i´m trying to use 2 a dll (OCX) in my application but when i want to call a function how can i do soo?
how can i call this funcion
RSDKLib_TLB.IID_IMeasurement.... "TGUID"???
in the dll is
IID_IMeasurement: TGUID = '{97E75BE0-AF26-4E4A-B651-C5DDECEC2936}';
or is the approach wrong??
...
Is there some list of .dll files that are available on the various freshly-installed Windows platforms (or at least, the recent ones like Win XP and Win 7)? I am looking for a list similar to this one for Windows 2000.
(I am compiling a python app with py2exe, and the application reports which dlls are required for potential distributi...
I'm using a library (ANet) which is written natively in C and I am interfacing with it using C# via a small subset wrapper dll which i've made in C and statically links to it.
The library (ANet) has a DllMain which simply tracks the number of references to it (so "Process attach" and "Thread attach" counts) but it seems to go into the ne...
At which point do you decide that some of your subroutines and common code should be placed in a class library or DLL? In one of my applications, I would like to share some of my common code between different projects (as we all know, it's a programming sin to duplicate code).
The vast majority of my code is all within a single project....
Hi, I have 2 unmanaged dlls wich have exactly same set of function (but slighly different logic).
How can I switch between these 2 ddls during runtime?
now I have:
[DllImport("one.dll")]
public static extern string _test_mdl(string s);
...
This is my Errormessage:
Could not load file or assembly 'file:///C:\Windows\system32\Rule.dll'.
The system cannot find the file specified.
The problem is that the same exe works in my development environment but not on productive server. The program is a tool that should run as a Scheduled Task on Windows Server 2008. It consists of an...
I've been breaking apart a large VS C# project into smaller projects, and while everything worked fine when it was all one project, I'm getting an error now that I've split it apart. There is an exception being thrown when I try a cast, though I haven't changed any of the code. The exception is as follows:
InvalidCastException
[A...
Hello,
is there any way to "listen" to when a function of a dll is called?
I would like to know what functions of a dll is called and the parameters etc....
is it possible?
thanks!
...
We want to purchase QT License – Desktop – Multi OS. We have started to develop with the open SDK and came across a very crucial problem.
One of our components is Qt DLL which expose GUI dialogs. If we call it from other Qt applications, or even none Qt console application everything is fine and the DLL is able to show its dialogs. But...
I'm trying to break my sharepoint project into a few smaller projects.
I could easily move utility files in different project.
However i encountered a problem when i moved custom-fields.
If i move custom-field from ProjectA to ProjectB and set ProjectA to reference ProjectB's DLL, building and deploying work fine. However, when program ...
Hi,
My exe depends on ntdll, user32 and kernel32. I save these dlls as a local copy and change the first letter as "V".
I then edit the exe's Import dll name as Vernel32.dll from kernel32. The application works fine by loading vernel32.dll in local space.
Next i edit the exe's import dll spec as vtdll as ntdll, the process loads vtdll...
I have a problem which I'm pretty sure that I can't solve without going back to the vendor, but I thought I would float the problem here first.
Anyway, I have an assembly from a 3rd party that I have to incorporate into existing applications, but it is not signed. This obviously gives me a load of headaches as all my existing product as...
I am unfamiliar with the way ASP.NET (using MVC) deals with .dll files and would like to know why the following behavior occurs:
In both scenarios, there is a primary MVC application and a secondary MVC application (MyApps.Secondary). And in both instances, the secondary application has hard coded view locations in the actions.
Scenari...
Hi,
I have to use an existing dll, but got a problem with it.
Here's how I try to use it:
unit u_main;
...
implementation
procedure getUserData(var User, Pass: string); stdcall; external 'Common5.dll';
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
var
u, p: string;
begin
getUserData(u,p);
end;
...
end.
When I pr...
I'm writing a GUI application, using Qt, which links to a third-party DLL that sometimes sends error messages to stderr. I'd like these error messages to be displayed in a window within my GUI.
I couldn't find an established way to redirect stderr (as opposed to std::cerr) even after much searching, so I wrote the following class myself...
Dear all,
We have a dll file; let's say X.DLL.
We are now writing another DLL, let's say "A.DLL" that uses some (very few) of the functions of X.DLL. We have no access to source code of X.DLL. Also, we don't want to give our clients X.DLL along with A.DLL.
Instead, we want to encapsulate X.DLL within A.DLL, so that distributing A.DLL ...
i am working windows forms application project ,i am created setup for my project and installed in to my client's system.now i added new dll in my project and i like to add that dll to my client's system without creating new setup.how can i do this,pls provide articles for this.Is click one deployment mechanism help for my problem.
Than...
I know that we can use CoLoadLibrary and DllGetClassObject to get the IClassFactory interface and get the COM component interface without registering the DLL.
But what about a COM component in an EXE? Is there a way that I can get a COM component interface from an EXE-type COM server by just providing a different file path?
...
Hi folks,
I'd like to embed Mozilla's SpiderMonkey in one of my C apps. On linux, I don't think it'll be a problem (I'm a linux user) but I must confess that I'm afraid that I have no clue on how to do it on windows using MINGW (I want the app to be portable)
Is it possible to, say, just use the dll that comes with firefox? (I, honnest...