dll

would appreciate for some one pointing me to good DLL tutorial

I would appreciate if some one can point me to DLL tutorials ( basic - advanced :) ). ...

What is the best way to wrap our software library to serve both C++ and C# client apps?

I am starting work on a new project where the core product is a Software Library. There is existing code we will be wrapping, written in C++ because it is very numerically intensive; we own and compile this core code. I believe we will have two prominent client types: 1. App written in C++, probably MFC 2. App written in C#.NET. The Q...

DLL monitoring.

Is there an application which allows me to see what is being sent to a DLL from a process? I have a process and I have a DLL and I would like to monitor the parameters that are being sent to the functions so that I can use the DLL myself. The EXPORT of the DLL is. ??0CCPCompressor@@AAE@XZ ??0CCPExpandor@@AAE@XZ ??1CCPCompressor@@AAE@X...

How to twain video from wdm/vfw camera in flash?

Is it possible to use twain to capture and record video files from a vfw/wdm camera attached via USB inside a flash movie? I use a wrapping tool for flash creation that will allow me to use COM/ActiveX objects to bridge the gap if there are any. ...

How do you launch a WPF front end as a DLL from another assembly?

How does one create a WPF front-end that has an Application object from within another application (an existing MFC / CLR application, but that's another story)? The existence of the Application as the entry point of the assembly seems to prevent such a use. Certainly, you can use a WPF application as an assembly. Can't you? ...

Linking Functions In a C# DLL from a C# Application

What is the proper way to link to functions in a C# DLL from a C# application? This is how my DLL looks: namespace WMIQuery_Namespace { public class WMIQuery { public static string GetPortName() { /* Does some stuff returning valid port name. */ return string.Empty; } pu...

Setting Up a Win32 DLL in Visual Studio 2008

Please bare with me. I am learning how to make these DLLs properly. Hopefully my questions become more intelligent as I go. I would like to make a Win32 DLL (unmanaged code) using Visual Studio 2008. After selecting New Project, in Project types -> Other Languages -> Visual C++ -> Win32 I selected Win32 Project as the project type. ...

Need Cygwin DLL

I need the cygidn-11.dll Cygwin library file. How do I find it and/or get it? ...

Which method is better for debugging/profiling - .DLL or source code?

Hello all, I am developing an application and I will need to take measurements on different aspects, namely time spent in each method and the strain on system resources as well as doing the occasional bit of debugging to monitor how the data is processed. I'll be using an open source library for MIDI files that is available as source c...

How to architect ASPX, IIS & business data that is processed / loaded once a day: DLL or Service?

Anyone have suggestions how to architect the following setup: ASPX, IIS, 100s of transactions coming through the web pages and data which changes once a day & has to be processed at start-up (would be slow to reload & calculate from the database 100 times a day) Currently we have: ASPX pages running on IIS, communicating with A window...

Qt Build w/ DLLs Included

In Qt when I build a project it creates the executable but it doesn't include the necessary DLLs. Is their some option I can turn on to do this for me? ...

What is the Java type for *short using JNA

What is the Java type for *short using JNA I have in my dll short and *short, so how can I call short -> int *short -> int[]? Thanks, Alex ...

Overhead of DLL

Hi All I have a quite basic question. When a library is used only by a single process. Shall we keep it as static library..? If i use library as DLL,But only a single process use it . what will be overhead Thanks Sat ...

State of static variable in DLL

Scenario: My Application bind a library X which has static class. I initialize it in my process. After some time when I load a dll which also use same library X. I see content of static variable in dll is not initialized. Where I already initialized it in process before loading DLL. I added initialization code in DLL main , and its ...

Dll Memory Management

I have few doubts regarding how windows manages a .dll's memory. when .dll's are loaded into the host process, how is the memory managed? Does .dll get access to the entire memory available to the host process or just a portion of it? i.e is there a limitation when memory is allocated by a function inside the .dll? Will STL classes li...

Symbian: kern-exec 3 panic on RLibrary::Load

Hello, I have troubles with dynamic loading of libraries - my code panics with Kern-Exec 3. The code is as follows: TFileName dllName = _L("mydll.dll"); TFileName dllPath = _L("c:\\sys\\bin\\"); RLibrary dll; TInt res = dll.Load(dllName, dllPath); // Kern-Exec 3! TLibraryFunction f = dll.Lookup(1); if (f) f(); I receive panic on ...

Editing a DLL's App.Config File from an EXE

I have a DLL project in VB.Net which has an App.Config file for settings but I also need to be able to open an EXE from the Start Menu in order to edit the same settings. If I create a project from the EXE, how can I bind the app.config to the DLL project? I've tried a number of things, including putting the EXE in the same solution as...

why we must place a global hook procedure in a separate DLL

hi i read some article and msdn and blog but have some question why we must place a global hook procedure in a DLL separate from the application installing the hook procedure and what is different from global hook and keyloger( i write key loge without separate dll)? how key loger intercept all application keyboard message withou...

multiple user interface dll in MFC application

I have existing MFC SDI application that uses classic menus, now i want to add ribbons, but keep the old menu style too, with the option for the user to be able to change to whatever style he wants clasic/ribbon. Currently the UI code is placed in the exe, but I am thinking of making two MFC .dlls - one for classic and one for ribbon UI,...

IIS: Unable to load DLL "<dllName>": The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I have an application that uses .Net remoting. The remotable calls our unmanaged dll that is a client to a Versant database. The previous release of our app communicated with an earlier release of Versant in exactly the same way. We now have 2 different dlls to communicate with the different versions of the database. The new dll resides...