dll

Setting Library path for win32 console applications

Hi, I am getting "dll not found:restarting the application may fix the problem" error when i try to execute a simple "HelloWorld" win32 console application. I know the location of the .dll. How to specify its location when executing the .exe from command prompt? PS: copying the .dll to the .exe's current dir seems to solve the problem,...

Problem in calling a C++ dll function from C#

Hello, This is my 3rd thread concerning a blowfish problem in C#.Despite the fact I cannot have blowfish implemented in my application, I decided to use it as an external C++ dll. Please note I've tried Blowfish.NET and any other, the problem is that I'm translating code from C++ to C# and the C# code must do exactly the same as the C++...

Use dll win32 in linux platforms.

I want to use a dll library for Win32 in linux. I thinkd can do it if I use a library of wine... Please help it.or http://okyuu.com/en/question/5785 ...

'Cached' behaviour of 'hotfixed' dlls

Sometimes, a customer (or tester) needs a patch on an installation of the product I work on. Sometimes, I brew him a dll containing the fix, so that he can test it. He overwrites the old dll with the new version and restarts the app. Every now and then, it appears that the 'new' dll isn't actually used, although I'm absolutely positiv...

How do I compile a .cpp source file into a .dll?

How do I compile a .cpp source file into a .dll? ...

How to convert/call a c++ project to/from .Net?

Hi, I currently have a huge project that I've recently converted from VC6 to 2005. Now I'd really like to create a new frontend for some of the functionality, However the main logic of the program is based in c++. Also the code base revolves around it's own metatypes and bespoke classes. The best solution I can come up with is to call ...

VS2005, how to set application to use a certain dll in the application's path?

I open my application by WinDebug, and see the following information, But some of dll is using path : C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_3bf8fa05. Does it mean when I deploy this application on other PC, if the path do not contain the dll, the application will failed to initialize? I am writin...

Executable dll loading (x32, x64): pick the right one

I have a large project with several 3rd party libraries. I want to build everything for 32 and for 64 bit architecture. Several libraries create shared libs (dlls). What is the best way to provide those dlls to the compiled executables from my project? I thought off I can put all those dlls into a directory which is added to the PATH var...

Using User Controls from Other Projects in ASP

Hello! I'm trying to re-use my ASP User Controls in other projects, and have hit upon a problem. I've read ScottGu's post on http://weblogs.asp.net/scottgu/archive/2005/08/28/423888.aspx and tried to follow his patterns but run-time the child controls of my controls are not being initialised. My setup: I'm using Visual Studio 2008 I'...

Programmatically determine if a COM library (.DLL) is installed

Is there a programmatic way in C# to determine whether a particular COM DLL has been installed? Or is this a matter of scanning the registry for the classId? ...

When is it the right time to use C# class library (.dll)?

Hi, I'm a programmer who has never really used .dll files. Of cause, when I need 3rd party software, such as a graphics library, a library to help me create graphs etc. I do add the references/ddl files to my program and use them in my code. Also, it seems like you can use .dll for a lot of different things, so I'd like the topic to co...

Lock someone to a particular domain

Hello, We have a dll that is a plug-in for a asp.net shopping cart software that customers can purchase. However, we want to lock that dll to a particular domain for security reasons and we don't want them to be able to read that dll or use that dll in another domain they may have. How can we do this? ...

Is there any open source program that use the inpout.dll ?

Is there any open source program that use the inpout.dll to hook up the parell port and turn LED's on and off ive been looking for almost a whole month and havent found jack. I want to do this without any microcontrollers. ...

VB.NET Invoke DLL method with ByRef Arguments

Using VB.NET, is there a way to pass a reference argument when invoking a function in a dll. Suppose I want to pass arg2 as a reference argument, how would I do that? method.Invoke(obj, New [Object]() {arg1, arg2, arg3}) In other words I want to point arg2 to something else within the invoked function. ...

Is there something wrong with my System.Xml.Linq library?

I'm trying to learn some Linq to XML stuff, and I came across the XPathSelectElement function in XElement. This function seems to do just what I need, but for some reason, I can't use it! Check out my code: XElement rootElement = XElement.Load(dataFile); XElement parentElement = rootElement.XPathSelectElement(xPath); ...

Attach DLL to ASP.NET Site

Hello, How do you attach a dll to a asp.net site? I want to be able to debug and edit the dll without having to keep replacing the reference in my asp.net site. I checked attach to process but didn't see the worker process. I am using asp.net, iis 7. ...

dll copied to output path from wrong folder

all of the projects in my solution have an output path of "..\Release" for Release builds and "..\Debug" for Debug builds. All of the projects works fine except for one. Whenever I build the problematic project in Release the dll that gets copied to "..\Release" comes from "obj\Debug" instead of "obj\Release". This happens both in VS ...

Where can I find a list of windows API constants

Every time I interact with dll's like the user32.dll I need constants like MF_REMOVE. Is there a overview for all that constants or a c# library that constants all these constants? ...

How do I call unmanaged C/C++ code from a C# ASP.NET webpage

I have an ASP.NET website that uses C# and I'd like to call functions from an unmanaged C/C++ DLL. How do I do it? ...

Initialize Critical Section only once for a process

In a multi threaded application, is there a way to ensure that a Critical Section is initialized only once except for putting the code in DLL main() ?? ...