dll

Settings.settings - How do I change from one environment to another?

I have a Web App Project (compiled DLL) along with 3 DLL projects. In my DLL projects I am using the Properties/Setting.settings to extract mutable settings from the DLL. However, when I publish from environment to the next I have not figured how to change the Settings.settings values for the new environment. It appears that the setti...

what does this code mean?

this is some code that SDL requires in visual studios 2005 in order for my simple program to work. what is the code doing? the only reason i have it is because my instructor told me to put it in and never explained it. // what is this code doing? //--------------------------------------------------------- #ifdef WIN32 #pragma comment(li...

Dependency problem in C++ app built with scons msvc option

Hello, I am using scons with option compiler=msvc for building c++ modules. After compilation finishes there is no error, however when I want to start the application I get an error which indicates linking problem with QtCore.dll. However, the problem is a little bit deeper. The application uses a dll file also built using scons compile...

License for components in ASP.NET

I want to create a license system for some components (in DLL format) for ASP.NET , and I have not any ideea of about how to do this thing. I can use the unique series of car (such as HDD's series), so it would be a pretty difficult task. ...

What is it called? I want to process the "events" that a CLR DLL produces

So I am a Visual Basic 6 developer moving over to CLR and need an answer to a real newb question. In Visual Basic 6, if you had an ActiveX control, you could reference that control and then have a statement essentially saying: Public WithEvents YourControl (Emphasis on the "WithEvents" keyword) What happen is that in Visual Basic you...

Creating ActiveX dll in vb6

Hi, We are currently working on creating an ActiveX dll for migrating our existing xlt template file. For this we tried creating an ActiveX dll in VB6. We were successful in creating the Add-Ins but we are facing a serious issue. The AddinInstance_OnConnection is being called indefinitely leading to creation of multiple excel objects. A...

Need a Math Editor to write math formulas

Need a Math Editor to integrate to my application written on C# to be able to write math formulas. Can someone help me with this please? Some open source code will be great! Tell me steps, that integrate your suggested application to my application. ...

How to give permissions so ASP. NET website can open SQLConnection from a DLL added as a reference to the a project?

I am trying to open a SQLConnection and this exception occurs: Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details...

How i can add custom version strings to a Win32 DLL using Visual Studio

I am linking my Win32 DLL in Visual Studio 2008 Team System i find out how to add custom strings by editing the .rc file directly. But how i can add my custom strings by Visual Studio IDE itself? and if i cannot, WHY NOT? Why they omitted this feature?!?! ...

Finding a dll whose CLSID is known

I've downloaded the w3sockets. Primarily using for trying to do telnet via an application. So far we've been experimenting with vbscript. In vbscript we do something like: Set socket = CreateObject("Socket.Tcp") I am trying to use this for a .net application. I need to know the dll it is hosted in. Anyway I can find this? ...

DLL in GAC references a file relatively ... where should I put it?

I have a third party dll that I need to install to the GAC. The dll needs access to a ini file that according to the documentation needs to be in the same location as the dll. If I install the dll into the GAC, what location should I copy the ini file to in order for the dll to find the ini file? ...

Is there a way to package more than one .NET assembly in a dll?

I'd like to keep my components/assemblies clearly separated from a source code point of view but I also need in some circumstances (probably not relevant to expand) to package them in the same dll. Is it possible to package a number of .NET assemblies in a single dll? If so, How? IF possible, do you think it is a good idea? Why? Any ...

BadImageFormatException when attempting to use LuaInterface

I imported LuaInterface into a console project, referenced it, and wrote a small test script. When i run it, i get this: Could not load file or assembly 'LuaInterface, Version=2.0.0.16708, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Forgive me for be...

Could we have 2 DLLs with the same name being loaded in one process

I am talking about win32 dlls, those plain pe files. I am confused after I doing a test compared to what I saw in explorer.exe process. I wrote a test with following modules:(C++) DLLLoader.exe links to A.dll in the same folder. B.dll links to A.dll(2) in another folder. (A.dll(2) is a totally different DLL from A.dll, but with the sam...

Open DOS window and spew debug messages from DLL

I am currently calling a DLL from labview, but I need to be able to debug it realtime (because of it's accessing time sensitive hardware). I would like to just printf() my error assert messages but I am unsure about how to open a DOS window from within the DLL to dump error information to. Has anyone done this before? I know I could do t...

What kind of DLL should I use (or .lib, or class)

So I am new to .net and c++ and am in need of a "library" of functions that can be called and also events that are raised in the main application that is using the library. I have a C++ library (.lib) that I want to add another layer (wrapper) on top of it and only expose a few functions and events for the main application. I don't kno...

Memory allocation and deallocation across dll boundaries

I understand that memory allocations made in one dll then subsequently free'd in another can cause all sort of problems, especially regarding the CRT. These sorts of problems are especially problematic when it comes to exporting STL containers. We've experienced these sorts of problems before (when writing custom Adobe plugins that lin...

when i add a reference to my project, does it bundle it together?

when i add a DLL to my project, and then publish it, does it add the DLL so that i dont have to worry about the reference? ...

Determine if an executable (or library) is 32 -or 64-bits (on Windows)

I am trying to find out if a given executable (or library) is compiled for 32-bits or 64-bits from Python. I am running Vista 64-bits and would like to determine if a certain application in a directory is compiled for 32-bits or 64-bits. Is there a simple way to do this using only the standard Python libraries (currently using 2.5.4)? ...

Best approach for common functionality

Hi, I have built up a number of common modules which I have been hitherto keeping in one directory and referencing from the project directories that need them. I was wondering if there was a better way of doing this ? Both the common modules and the code using them are written in C++. ...