Hello,
I've the following piece of code in my program which dynamically links wtsapi32.dll file for session notifications like WTS_SESSION_LOCK and WTS_SESSION_UNLOCK and runs in background. After the first lock/unlock the program hangs and not responding.
Is this a right way of doing explicit linking ?
void RegisterSession(HWND...
I have a dll RL6_dll.dll from a routing program RouteLogix that is used to plan trucks etc.
Now we want to use that from Delphi 2007.
We have a c++ header for the dll and a working example that use it in C++-Builder.
Here is an example from that file:
// Use this routine to find the directory where the data-xxx subdirectories
// are e...
Is it possible to create an executable from flash that is able to call functions in an external dll (such as the windows API for example)?
...
When I try to run a opencv hellow world program I get an error saying that the cxcore110d.dll file is not installed and that I need to reinstall the program, but the dll is C:\Program Files (x86)\OpenCV\bin. Any one know who to fix this? The folder is referenced (maybe thats the wrong term) in the solution that came with opencv 1.1.
...
I do not know why this is happening:
[NullReferenceException: Object reference not set to an instance of an object.]
DataWeb.Core.HttpHandler.ProcessRequest(HttpContext Context) in X:\projects\visualstudio\work_projects\Production\DataWeb\DataWeb.Core\HttpHandler.cs:23
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication...
Given the following:
string file = @"c:\somepath\somefile.dll";
How can I find the file and product version numbers of that DLL using .NET?
The dll can be either native or managed.
Thanks.
...
we're shipping a shell extension dll (registered with regsvr32).
is there an easy way to get debug output from this dll from another application (so we can send these traces home when something is broken)?
any ideas? what's the easiest way to get logdata from the dll to another process?
...
I need to have a .NET 3.5 DLL have its own config file. This DLL could be called from many different apps so the information (like connection strings) stored in the config file needed to be kept in a config file that the DLL can reference. What I want is when the DLL is used, I need to "switch" the config file that is used to reference...
I'm on Windows XP with Cygwin, and I've compiled a DLL that overrides some pthread functions, e.g. pthread_create. LD_PRELOADing this library into a Cygwin application should make this application use my functions instead of standard ones. (See [1].) However it does not happen.
I know that the library is loaded, because I've put printf ...
Hello everyone,
I am presently designing a message queue system that will be used by various applications and am having a difficult time trying to decide whether to use WCF to provide the services or use a shared class library (DLL) and deploy the DLL with the clients.
For some additional information:
• The queue is stored in a SQL ...
Is there any free native Windows DLL export functions viewer, which shows the function name, and a list of their parameters?
Thanks.
...
Hi, I have a dynamic library compiled with visual studio.
(so 4 files: Library.dll, Library.lib, Library.def and Library.exp)
This dll contains exported classes and functions.
Is there a way to obtain C/C++ header files (.h) with these files?
...
I am having some trouble getting a program to link on Windows with VC2008 SP1.
I am explicitly specialising a template member function in a DLL, which appears correctly as an exported symbol in dependency walker, for the correct type, and with the correct arguments.
When I try to call the symbol from an .exe, the linker complains that i...
I have a Silverlight Class Library that is being used by both Silverlight application and a regular C# WCF Service.
The Silverlight application calls the WCF service to read/write some data. They both use the common library to manipulate the data being passed.
Everything compiles fine, but when we run the application, the webservice t...
I need to call a DLL function from Access using VBA. The prototype for the DLL function is
int __stdcall myFunction(const char* data,
int rows, int cols, int sl, int fullsize,
double aspect_ratio,
double y,
void** ppResult);
The one I declared in Access:
Private Declare Function DllImport_myFunction _
Lib...
This seems to be a common error, but most people online choose to just ignore the warning and move on. I do not wish to ignore the warning.
Basically, when using __declspec(dllexport) to convert a project to use dlls, the compiler has trouble dealing with templates and stl objects. An explanation of the problem, and suggested solution...
We include a 3rd Party lib+DLL that recently causes a lot of trouble on installations. Using dependencywalker, we found that the dll itself refers to two different Versions of
MSVCR80.DLL:
Version 8.0.50727.4053 and
Version 8.0.50727.42
In MOST cases installation makes no problems, even if we distribute none of both versions. But i...
I am using C# for this application.
I have a DLL that gets included within my application. From this DLL, I need to find the Assembly Version of the main program in which this DLL is included.
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() does not return what I want. This returns the Assembly version o...
Okay so i am trying to convert some projects into DLL's. These are all visual studio 2008 projects, and are all written in C++.
We have 9 different projects(all under 1 solution in Visual Studio 2008). E.g.:
RasterTools\
RasterDataset.h
RasterDataset.cpp
Point.h
Point.cpp
<... insert like 50 more cpp files ...>
CoreTools\
Image...
(Re-written for clarity)
I have a multi-project solution that I am looking to convert from using .lib to .DLL files. I have created my declspec macros and applied it to **every class except for those in the project that creates the final .exe. The linker is throwing a fit on just about everything, however. I have set up to ignore err...