My SAAS company has two C#.NET products, call them Application Alpha and Application Beta. Both of them reference some libraries that we can call Core.
At the moment, the codebase is monolithic, stored in a single SVN repository with a single .NET solution, and we're trying to make it more modular/componentized. We've split off into s...
I compiled freeimageplus into dll. the dll is used in by my application.
But I found memory leaking problem.
boundary check say: Leaking existing program --> FreeImagePlus.dll!0x0005CD06。
I have pdb with the freeiamgeplus.dll. How can I locate the source code using the information "FreeImagePlus.dll!0x0005CD06"
...
Greetings overflowers.
I am trying to add a GUI to to an existing project. More specifically to a plugin that is loaded as a .so file (or when compiled on win32 a .dll)
The project has its own threading implimentation already to deal with portability. I know that QT has its own cross platform threading model but it would be preferable ...
Hi,
What is the best way to design a C API for dlls which deals with the problem of passing "objects" which are C runtime dependent (FILE*, pointer returned by malloc, etc...). For example, if two dlls are linked with a different version of the runtime, my understanding is that you cannot pass a FILE* from one dll to the other safely.
...
I am working in VS2008. I have a custom class library (CL1) which references another custom class library (CL2). This ends up having CL1 and CL2 in my release folder. Now the consumer of CL1 needs to include two dll's in the project which I think is not appropriate. I have strong feeling that there must be a way to achieve a single DLL s...
I understand that debug=true is a bad thing on any production server.
I am currently using some dll's that are from a third party and were compiled in debug mode and wanted to know - What happens to a DLL in debug mode inside a web application with debug=false?
...
A Java app running under JBoss (using 64 bit JRockit) needs to communicate with a third-party 32 bit C++ dll (doing calls to an external service). Are there more clever ways to solve this than putting a .NET web service between the two?
...
Hello. I have been working with OpenGL (SuperBible) and I just setup my environment (added the additional dependencies, etc.) and built my solution. When I try to execute it it says I am missing a dll. I solved the problem by moving the dll to my folder where the executable resides.
My question is why doesn't it look for it in my Syste...
Normally you have to put all the .dll files your application uses in the same location as the .exe file. I would like to keep the libraries in some other, dedicated folder and just show my app where to look for them (by some path in app.config or something like that). How do I do this?
...
Hello,
I have a .dll from c++ and i want to debug it in Csharp, but i don't know how to do.
When i compiled the c++ project, Visual studio asked me to execute an ".exe"
I supposed that i had to create a project to execute the dll.
But i'm some lost, anyone have suggestions?
( sorry for my english, i'm french )
...
Despite having reasonable experience in C++, I am still pretty useless in setting up projects/workspaces for libraries, linking to libraries from the main project, setting up the project so that I can debug into them, etc.
I mainly use MSDN for development.
Does anybody know of any books which will explain
1. how to set up different ki...
We are two companies who are working on the same project, in the same application. We exchange weekly base only our assemblies (not the code) and making reference on each other dll.We would like to know what is the best practices regarding the specificversion when adding reference to our project. Simply in what case should we use a speci...
We have an installer application.
In that we have one dll related to our application.
We created setup with all respective files.
We used "Install Shield 6.3" and created a setup file.
After created build. The build is working in xp, not working in 2000.
It is showing error message as Couldn't load .dll only in win2000.
What could be ...
Is it possible to make a Flash embedded in a browser access a DLL, by making it signed or whatnot? I know that it's possible with Java Applets.
...
I have been chasing down what appears to be a memory leak in a DLL built in Delphi 2007 for Win32. The memory for the threadvar variables is not freed if the threads still exist when the DLL is unloaded (there are no active calls into the DLL when it is unloaded).
The question: Is there some way to cause Delphi to free memory associat...
Should I redistribute msvcrt.dll with my application and use the private dll if some of the application's libs dynamically depend on msvcrt.dll? I.e. are any incompatibility issues possible with the system's msvcrt.dll (dll hell)? Application is targeted for Windows Server systems.
...
We have an application written in C/C++ which is broken into a single EXE and multiple DLLs. Each of these DLLs makes use of the same static library (utilities.lib).
Any global variable in the utility static library will actually have multiple instances at runtime within the application. There will be one copy of the global variable p...
The Web Service is in C#
From it I call by reflection a method in a dll
All happen right but when I try to replace the dll the OS says that the dll is locked. I have to finish the aspnet_wp.exe process in order to replace it.
How can I do that the Web Service does not lock the dll.
The code where I call the dll is
string dir...
I have a system that runs like this:
main.exe runs sub.exe runs sub2.exe
and etc. and etc...
Well, would it be any faster of more efficient to change sub and sub2 to dlls?
And if it would, could someone point me in the right direction for making them dlls without changing a lot of the code?
...
I've been fighting with the Canon EDSDK for a while now. I can successfully get the library to save a file directly to disk, however, I cannot get a hold of the image byte[] in memory. Whenever I attempt to Marshal.Copy() the EDSDK Stream to byte[], I always get the following error:
AccessViolationException: Attempted to read or write...