dll

Managing build versions in Visual Studio

Hi, I often build libraries and websites and my versions are naturally always at 1.0.0.0. How do you guys manage the versions to increment automatically? Also, how can you specify a seed for example: I want to start at 0.5.0.0 and increment to 0.5.0.1, 0.5.0.2, 0.5.0.3, etc... Or starting at 1.0.0.0 and increment like 1.0.1.0, 1.0.2...

lucene.net.dll doesn't work on server(?)

hello i have a problem, my application works on my local server, but when i put it on our server the lucene classes throw errors. do i have to install the DLL on the IIS server? i'm using visual studio 08, after publishing my website i put it on the server. does anybody know a solution? greetings, tyzak ...

How to know defination of a struct in dll ?

I need to use a third party DLL which I don't have header , lib or object file of it just DLL alone, I follow this article "Explicitly Linking to Classes in DLL's" in codeguru and able to user function, c++ class from that DLL but there some function call that need to pass or return a struct like this undecorated function I get from PE E...

A way to load DLL from central repository

Hi, We have lot of products and there are some common DLLs across each product's application. Right now we copy each common DLL into each product's bin directory and treat them as private assembly. This unnecessarily increase the msi size of each product and when a problem occurs in a DLL we have to build each product's msi comprising t...

Pygame in Windows: ImportError: DLL load failed

Hi, I just installed PyGame 1.9.1 (onto an existing python 2.6.4). Python and it standard libraries work, however, there is a problem with python even being able to find the pygame modules (correctly). Traceback (most recent call last): File "C:\foo\bar\firstGame.py", line 2, in <module> import pygame File "C:\python264\lib\sit...

How to convert a static library project into a dll project in VS2005

When I create a project in vs2005. I can also create Win32->Win32Project. I can choose "console application" or "dll" or "static library" if I created a static library project. How can I convert it to dll project. I found in setting panel of the created project. General->Configuration Type, I can switch Static Library(.lib) to DLL Howe...

Trying to avoid AppDomains

I have a long running C# server application running on Linux/mono, and I have added the ability to load DLL assemblies on the fly to extend the application. I have discovered updating those DLL assemblies at runtime cant be done without using AppDomains, which by the looks of will just get in the way of what I have already done. Sure t...

How to convert DirectShow Filter to C++\C#?

So we have some filter for DS. It works - uses standard win dll's. We want to convert that filter to some sort of non-using DS program. So we want it to call dlls in write order, do all what DS is doing but not be in any way dependable on DS - only on filter dll's. So... How to convert DirectShow Filter to C++\C#? ...

How to solve a problem in using RAII code and non-RAII code together in C++?

We have 3 different libraries, each developed by a different developer, and each was (presumably) well designed. But since some of the libraries are using RAII and some don't, and some of the libraries are loaded dynamically, and the others aren't - it doesn't work. Each of the developers is saying that what he is doing is right, and ma...

Is global variable in a shared library / dll, shared across process

I am developing a shared library(.so) and dll. I have a global variable which is updated in multiple threads. So I have mutex lock for synchronization. I am not clear whether global data in shared library is shared across process. If it is then I need to use semaphores for synchronization. As I understand global variables are part of da...

Python dll Extension Import

Hi I created extensions for my python and created a abcPython.dll How can I import this dll into my python scripts. I get an error message When I try to import it usin the following command import abcPython Error messgae Traceback (most recent call last): File "", line 1, in Imp...

How to get Visual Studios build system to understand unmanaged dependencies of managed dlls?

When building managed code Visual Studio correctly (and recursively) copies dlls of referenced managed projects to the output folder of the project being build. However, if one the of those references is a managed DLL that depends on unmanaged dlls then these unmanaged DLLs are not copied to the output folder, even though their corresp...

gfortran, DLL, underscore

I want to access some subroutines from a third party DLL. The functions use STDCALL as the calling convention. Running dumpbin /export foo.dll gives me something like: ... 7 6 00004B40 Foo@16 ... I compile my code using: gfortran test.f90 -o test.exe -Wl,foo.dll I get an error: undefined reference to '_f...

Pros and Cons for Embedding Manifests

What are the pros and cons for embedding manifests? I know embedding manifests reduces the number of files you need to copy around, but what other effects are there? ...

Is it possible to specify specific flags/define for DLL/SO build?

Hello, How can I specify some unique flags for DLL only builds. By default libtool adds -DDLL_EXPORT which is fine for most projects that follow GNU conventions, but if I work, for example, with Boost I may need to specify for my library flags: -DDLL_EXPORT -DBOOST_ALL_DYN_LINK for DLL only builds, also sometimes I want conditional buil...

Address space of DLLs called from classic ASP

My application consists of a VB6 DLL that is called from ASP. It needs to manage a pool of connections to a (non-standard) database. I implemented this by using a global variable, but this is being reset every 20 minutes due to an ASP setting causing the application to crash. A previous poster said that DLLs in ASP are all created in th...

Best DLL symbols dump utility

I have several hundreds of DLLs belonging to a huge spagetti-code-project and need to see which calls do they export or import. And it would be also great if I would be able to get a dependency graph between DLLs. Could anyone recommend me free and reliable utilities for that? Thank you. Edit: Dependancy walker seems to be not enough: ...

Oracle Precompiler dll library help

Platform : Windows running Oracle 10g I have to modify some old dll library codes and precompile with Oracle Pro*C/C++ 9.0.1.1.1, now I discovered the codes for(;;) whenever not found do break is no longer working, it just keep looping. I have prepared some codes here showing before and after precompile and also a log. Thanks in advanc...

function pointer lookup in shared object and dll

Hello, basically I would like to look up a funtion in a shared object in a platform independent way: I don't want to deal with LoadLibrary/GetProcAddress or dlopen details is there a library that hides the process of looking up a function pointer in shared objects on various operating systems? I would like simply to provide the share...

Can you bundle dlls together?

I have a class library project that i have made. Let's call it ClassA. In ClassA i need to access some tools that reside in dll (ToolsDLL.dll). In ClassA I have added ToolsDLL.dll to the project and selected the ToolsDLL.dll file to Copy To Output directory ALWAYS. So that library builds and compiles just fine and in the output directo...