dll

Problems with IPC SendMessage

Hi I'm having problems with my SendMessage. It seams like the message never reaches my form (I'm using Winspector Spy to see which messages that are registered in my form), which is strange because I'm shure I'm sending to the correct Handle for the current form. The SendMessage is within a dll but that should not have any thing to ...

Comparing DLL sets from the same app on two different machines

Is there a good way to compare the DLLs loaded between two machines running the same app. (And to replicate the process between N other machines, two at a time?) Background: I am trying to track down a configuration/setup issue. It's the age-old, DLL-hell-type problem where an app will run on one machine but not on another. I have elim...

.net dll question

I have a very n00b question about .NET and DLLs. I am developing an application using C# and WPF, and I soon realized that WPF doesn't support charting out of the box. So I did some searches and found WPF toolkit which looks promising, but I have to install a msi file and reference the dll from that project. Now my question is, if I buil...

Programming an ActiveX component in Visual Studio 2008 vc++

Hi, anyone knows a good tutorial for programming ActiveX in Visual Studio 2008 for VC++? or the way to create methods and properties automatically, like the old Wizzard in VS6.0 did? I was trying harder to find some info, but everything is for C#, VB, or it's explained for VS6.0 and not 2005 or newer :( Thanx everybody. ...

Missing libraries in JNI2OpenCV?

I'm a newb when it comes to JNI2OpenCV. It has errors regarding java.library.path. I've read this thread http://stackoverflow.com/questions/2441198/opencv-to-jni-how-to-make-it-work but it seems that this is a different case from mine. Here's the errors I get: Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\JNI2OpenCV.d...

MakeSfxCA.exe and DLL compiled with Framework 4.0

...

Why would some DLL functions fail on 64-bit Windows?

I'm trying to run some LotusScript code (very similar to Visual Basic) in Lotus Domino on Windows servers. The code calls some Windows API functions, and works fine on 32-bit Windows 2003 servers, but doesn't work on the one 64-bit server we've tried it on. Here's one of our external function declarations: Declare Function FindExecutab...

How to change the Public token of the assembly

I have 2 dlls. One dll is refering to the another one. I checked the mainfest of first dll and found it is referncing to the 2nd one with some specific token key. But I checked the token of second assembly and found that it has some diffrent public token. So somehow I missed the correct 2 second assembly. So I want to know is there a w...

No dll compiled in visual studio 2008 express when built

Hi, I'm a .NET newb, so forgive me if this is a stupid question. I've inherited a website which I've amended and now need to rebuild. I've opened the .sln file in VS2008, made my changes to the files and clicked 'build > rebuild website'. This seems to run okay - it outputs a load of comments in a panel at the bottom as it's building...

how to convert from matlab file to dll

I am using matlab 2009 -- I have .m file. I want to convert it to dll file so i can use it in c++. how can I do that, someone told me to use the matlab compiler and is it free? ...

how to upload System.Web.MVC.dll from bin in iis7?

working with iis7. project is in Integrated Pipelinemodus Application Pool is : DefaultAppPool have System.Web.Mvc.dll, System.Web.Routing.dll, System.Web.Abstraction.dll in bin folder of project. i cant run aspx pages, becouse i need to configurate something in iis7 to use dll from bin folder. please help p.s. seems like it has to ...

Is there a simple way to switch between a project and it's dll

We often have a set of common core libraries that for some of our development we want to think of them as dll references and thus just reference the dlls and not include the project file. Other times we need all projects for an intimate debugging session. I can't just have Uber.sln and Core.sln as the references are in the project file...

Is there a better way to make a dll accessible for use on the system than modifying %PATH%?

I want to make a dll with an exposed C function accessible to applications on the system. Is there a better way to make it available than modifying %PATH%? Because people don't like adding it to %PATH% here. ...

How do I include a SQLite DLL in my C++ project?

I'm trying to add SQLite to my project via a DLL. I downloaded SQLiteDLL-3 from the download page, extracted its contents (a DLL and a .h file), and ran lib.exe on it to produce a .lib file. I then set the directory containing the .lib and the .dll files to be an Additional Library Directory, in the project settings, under Linker >> Gen...

Creating and using dll's: __declspec(dllimport) vs. GetProcAddress

Imagine we have a solution with 2 projects: MakeDll (a dll app), which creates a dll, and UseDll (an exe app), which uses the dll. Now I know there are basically two ways, one is pleasant, other is not. The pleasant way is that UseDll link statically to MakeDll.lib, and just dllimports functions and classes and uses them. The unpleasant ...

Building F# library to be used in C#

Let's say I have the following function. let rec fib n = match n with | 1 | 2 -> 1 | n -> fib(n-1) + fib(n-2) How can I compile this code into dll so that it's used from C#? I use both mono (in Mac OS X) and Visual Studio 2010. ADDED I added the following to make namespace. namespace MyMath.Core module public Process...

Why ActiveX "Unknown Publisher" error when using signed certificate?

Hi, I have been struggling for days trying to get a simple ActiveX DLL to work with no success despite studying several articles on the subject which I have found online. I suspect I have several things coded incorrectly as I am just not familiar with this and most of the articles on the subject are out of date. I am using Visual Stud...

How can I automatically load DLLs from a subdirectory?

In Visual Studio, you create a .dll project and it creates a .dll and .lib files. You link statically to the .lib, and if the .dll is in the same folder as the .exe, everything works. I suspect that everything would also work if the .dll was in System32 or any other PATH folder (confirm or correct, please). But here's the question: I ...

Using MinGW/GCC built DLL in a Visual Studio 2010 C++/CLI project

I have a communication library built on top of Qt and Google Protocol Buffers. It's currently being built with MinGW/GCC on Windows. My goal is to use the same library in C# on .NET, with the help of a thin wrapper on top using C++/CLI (bridging the unmanaged code with managed code). I tried using the MinGW produced DLL directly in my ...

Sorrow with Data Transfer Objects in Silverlight / WCF

I have a Silverlight app hosted in an Azure web role ASP project. The ASP project exposes a WCF service. I would like to have one set of class definitions for the data types. Someone recommended making a third project (class library) and adding a reference to it from the SL and ASP. I started doing this, but the Silverlight project comp...