I have a number of DLLs from a 3rd party company and most of them reference MSVCR80.DLL 8.0.5068.0 in their manifests.
I installed VS.NET 2005 with no service packs and no OS updates and it installs MSVCR80.DLL 8.0.50727.42.
So which version of VS.NET (or possibly another tool) was used to build these DLLs?
My real problem is that I w...
I am working on a Windows application (EXE) that uses multiple DLLs. Development is in VCExpress 2005 (VC 8.0), using C only.
Some of these DLLs are plug-ins/add-ons/extensions that are dynamically loaded using [LoadLibrary](http://msdn.microsoft.com/en-us/library/ms684175(VS.85).aspx) according to a configuration file read by the EXE....
It seems that all my adult life I've been tormented by the VC++ linker complaining or balking because various libraries do not agree on which version of the Runtime library to use. I'm never in the mood to master that dismal subject. So I just try to mess with it until it works. The error messages are never useful. Neither is the Mic...
Hi everyone,
I have a friend who's taking over a Visual C++ project from me and is having trouble running it. It's a graphics application and it uses the Qt GUI library. The reason I mention this is because of the error below.
He can build and link the program using Visual Studio 2010, but when he runs it this message comes up in the ...
Why Static variable initialization internally tries to acquire _lock(_EXIT_LOCK1)?
Here is the calls stack when the initialization of a local static variable happens.
*MSVCR80!_lock+0x2e
MyDLL32.dll!_onexit(int (void)* func=0x0864ae10) Line 103 C
MyDLL32.dll!atexit(void (void)* func=0x0864ae10) Line 127 + 0x9 bytes C*
Can you p...
I know there are a few similar questions, but I don't think they really have the same requirements as mine.
Our DLL is compiled with Visual Studio 2005 and must link with a specific version of the CRT, due to installation constraints. This is absolute, recompiling it with the latest version is not a solution.
We recently updated our Bo...
I am trying to use kbhit() in msvcrt. I have Python 2.6, on WinXP SP3.
It always returns 0. Also msvcrt.getch() returns '\xff'
...
I am building a project in Visual C++ 2008, which is an example MFC-based app for a static C++ class library I will be using in my own project soon. While building the Debug configuration, I get the following:
warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
After using the recommende...
Same question for Windows Server 2003.
Do I need to direct people to install the VC 2008 sp1 runtime?
Is the answer dependent upon whether the Server runs an x64 or x86 build?
Does the VC Runtime get pushed out with Microsoft Update, or Windows Update?
...
Do we still need to bother with vcredist.exe when distributing windows native applications ? Does any of these come bundled with Win-7 ?
If not, are there any technical reasons these are not shipped to people via e.g. windows update - insteadof letting us burden the customers with yet-another-thing-that.must-work ? (Ok, that might sound...
#include <gtk/gtk.h>
int main( int argc, char *argv[] )
{
GtkWidget *window;
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_show (window);
gtk_main ();
return 0;
}
I tried putting various versions of MSVCR80.dll under the same directory as the generated executable(via cm...
I was using the strlen function from msvcrt.dll in a .Net 3.5 project. More specifically:
private unsafe static extern int strlen( byte *pByte );
After migrating to .NET 4.0, if I use this function it throws a PInvokeStackImbalance exception.
How can I import the .NET 3.5 msvcrt.dll or fix this exception?
...
Occasionally you meet bugs that are reproducible only in release builds and/or only on some machines. A common (but by no means only) reason is uninitialized variables, that are subject to random behaviour. E.g, an uninitialized BOOL can be TRUE most of the time, on most machines, but randomly be initialized as FALSE.
What I wish I wou...
I have a C++ code compiled with Intel compiler, 32bit, in MS VC6 mode, so using either msvcrt.dll or msvcrtd.dll. The process makes heavy memory allocation and deallocation. I monitor the memory usage with WMI and look at VirtualSize and WorkingSetSize.
with debug runtime (msvcrtd.dll): virtual constant 1.7GB, working constant 1.2GB
w...
Sorry if this has been asked.
Just like I can select in C# project that I want it to build for .NET 2.0 runtime, is it possible for native c++ project to be built against older CRT, let's say one from visual studio 2005?
I would like this because I have external SDK that was build with VS2005, but I'd like to use newer IDE.
...
When finding the inverse square root of a double, is it better to clamp invalid non-positive inputs at 0.0 or MIN_DBL? (In my example below double b may end up being negative due to floating point rounding errors and because the laws of physics are slightly slightly fudged in the game.)
Both division by 0.0 and MIN_DBL produce the same...
This warning:
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts
with use of other libs; use /NODEFAULTLIB:library
is a fairly common warning in Visual Studio> I'd like to understand the exact reason for it and the right way (if at all) to handle it.
This comes up in a debug build, compiled with \MDd. The project is linked to th...
Not quite sure how the question should be asked, but essentially our project has been plagued with incompatability difficulties with the VC runtime since 2005. Aside from the coding aspect of handling the compatability issues, can someone point me at an article that might identify the source of each VC runtime package?
For instance, so...
I have some code that is crashing in a large system.
However, the code essentially boils down to the following pseudo-code.
I've removed much of the detail, as I have tried to boil this down to the bare bones;
I don't think this misses anything crucial though.
// in a DLL:
#ifdef _DLL
#define DLLEXP __declspec(dllexport)
#else
#define ...
I have a large body of code, compiled with /MT (i.e. expecting to statically link against the CRT). I need to combine this with a static third-party library, which has been built with /MD (i.e. expecting to link the CRT dynamically).
Is it theoretically possible to link the two into one executable without recompiling either?
If I link ...