crt

Why does .NET 4.0 give a "CRT not initialized" error when loading an unmanaged DLL?

I have a DLL supplied by a 3rd party along with an accompanying .NET 2.0 assembly that wraps it. If I create a .NET 3.5 project with VS2008 I am able to call into the DLL via the wrapper assembly and it works OK. However, if I create an equivalent .NET 4.0 project with VS2010 then I get a R6030 - CRT not initialized error in a message bo...

Why does Python disables MSCRT assertions when built with debug mode?

Python disables MSCRT assertions for debug mode during the initialization of exceptions module when it is built in debug mode. At least from the source code, I can see Python 2.6.5 doing this for _MSC_VER >= 1400 i.e. Visual C++ 2005. Does anyone know why? ...

How do I get the file HANDLE from the fopen FILE structure?

The fopen function returns a pointer to a FILE structure, which should be considered an opaque value, without dealing with its content or meaning. On Windows, the C runtime is a wrapper of the Windows API, and the fopen function relies on the CreateFile function. The CreateFile function return a HANDLE, which is used by other Windows AP...

JAVA: how to obtain keystore file for a certification (crt) file

HI All, I have a .crt file and I need to get the associated keystore file. How to do so? Is keytool is helpful in that? Thanks. ...

c++/cli mixed mode dll force targeting an older version of CRT

Hello all, As the title says, this question is about targeting an older version of the C run time in my mixed-mode C++ dll. I realize that the proper way to do this would be use an older version of Visual c++ but for whatever reason, this is the correct route for us. The dll is built in Visual Studio 2008. Is there a version of the CR...