So after I pull an image out of DLL and put it into an image control it is a BitmapImage. To package it back into the dll it has to be converted back to an image. How can I convert it back to image and how can i repackage it back into the dll? This is all in wpf written in c#.
private void compileDLL_Click(object sender, RoutedEventArgs...
I already looked at this topic, but I need the answer flipped around. How would I set the assembly information attributes* in a Win32 DLL?
...
Hi,
I am building an Class Library application which contains some reference dlls like Skype4COM which is obviously not native object so I just wanna learn how to embed this dll into my dll showing up after building the solution.
I just don't wanna see people which dll I used when developing this application and also I don't want them ...
Hello,
I am creating a C++ Win32 dll with some global data. There is a std::map defined globally and there are exported functions in the dll that write data into the map (after acquiring a write lock, ofcourse).
My problem is, when I call the write function from inside the dll DllMain, it works without any problems. But when I load the...
I am using the VMWare Tasks library to try and automate some VMs for testing. However when my C# program (32-bit) tries to load vix.dll it seems to fail. Running vmrun.exe from the VixCOM directory works.
vmrun.exe
In procmon I can see vmrun.exe try to load winmm.dll, oleacc.dll, mpr.dll, msasn1.dll, winspool.drv in C:\Program Files ...
Have anyone done this? I'm putting the membershiplogic in a C# .dll, and the connection info in an app.config.
When I try to use the C# .dll with another Windows C# console debug project I put the App.config in the consoles application directory, and calling the C# .dll-methods and it suceeds, I get a connection and it validates my user...
Until now I have seen only tools and some information for the creation of Delphi code for a given C header file.
However, in the 'Delphi first' case, there is a Delphi interface declaration and a generated DLL, and no C header. Are there tools which can extract the necessary information and build a C header file for a DLL?
Such a tool ...
I'm building a DLL class library - I want to make it usable by as many people as possible. Which version of the .NET Framework and which C# version should I use? Is it possible to produce a backwards-compatible DLL or different DLLs for different versions? Or does Windows automatically update the .NET framework so I should just use th...
First off , I'm referring to a Windows environment and VC++ compiler.
What I want to be able to do is rebuild a Vc++ dll and maintain compatability with an exe that has already been linked to the lib without having to rebuild the exe or load the dll dynamically using LoadLibrary. In other words, is there a way to add classes and methods...
When creating a DLL with Visual C++ 2008 I have a couple of choices. I can create a "Class Library", which I understand will actually give me a .Net Library that uses the CLI (managed) extenstion of C++.
Since I don't want that, and I assumed that I need a static .LIB file to link into another Visual C++ windows executable project, I c...
I want to know the exact difference between the dll and exe file.
...
I have an application that loads "aaa.dll". "aaa.dll" loads two other dlls "bbb.dll" and "ccc.dll".
aaa.dll is a third party dll not written by myself. But bbb.dll and ccc.dll are written by me.
Is there any way for bbb.dll and ccc.dll to communicate with each other? Pointing to any resource will be very helpful.
Type of communication...
Hi all,
I need to provide 32 and 64 bits version of my .dll for a customer. Do I need to generate 2 files? Or can a single one contain code for both architectures?
And for extra brownie points: does the same question apply for Mac libraries? Or the Universal Binary approach solve that issue?
Thanks in advance
Alex
...
I created a console application using C# that references external DLLs. When I run it on my dev machine, everything works fine. On the production machine, I get a "type initiatization" error. Looking into this, it seems it may because the app can't find the referenced DLLs.
On my dev box, the referenced DLLs are in the GAC, but not on t...
Background
My solution consists of two projects:
A standard Windows application
A DLL which my application does not use directly, but instead injects it into a target process
Basically, from my application's perspective, the only requirement that the DLL must meet is to be present in the working directory of my application. In short...
I have a weird problem when running an application that uses GNOME's libxml2 under Visual Studio 2008 (VS2008-SP1) and Windows XP.
I have two C++ projects:
Project A (a library)
Project B (an application that depends on Project A)
Both under one VS solution.
Project A is statically compiled with libxml2.lib. I've added dependencie...
Is there a tool to extract/generate .h headers for DLL exports given only the DLL? Manually typing them is proving a pain in the backside...
...
Hi I am trying to create a reusable XAML Window in a DLL.
I have placed in the Themes folder a new ResourceDictionary (I even merged it in the Generic.xaml), but when I try to use its styles in the window, I get an error message that the style doesn't exist:
<Window Style="{StaticResource ModalWindowStyle}" >
<!-- I have also the f...
I have 3 build machines. One running on windows 2000, one with XP SP3 and one with 64bit Windows Server 2008.
And I have a native C++ project to build (I'm building with visual studio 2005 SP1).
My goal is to build "exactly" the same dll's using these build machines.
By exactly I mean bit by bit (except build timestamp of course).
With...
How do you develop UI in MFC?
do you use any free libray, or usually develop from scratch?
There are always so many DLL files in a C++ developed software, what are them used for ?
What's the difference between MFC ActiveX Control and MFC DLL ?
...