is there a tool in windows SDK to ckeck what CRT a library uses? for example I have a *.lib file, how do check if it's compiled with /MDd flag or /MT? also how to check the same for dll or exe? can this be done with dumpbin?
check what run-time static library or dll uses
9.2k Views Asked by codekiddy At
1
There are 1 best solutions below
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in WINAPI
- Make screenshot of DirectX window that is hidden and doesn't have focus
- Is it valid to mutilayered a critical section?
- Implementing callback function for dialog-based application
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- Confusion about CTRL_SHUTDOWN_EVENT handling in DLLs and WM_QUERYENDSESSION
- Standard control transparency. Possible?
- Disable all power options from the Start menu
- call Win32 API in flex to set Window Display Affinity
- heap error after changing from new allocation to smartpointer
- Win API - Delete all files except some
- Finding the default application for a particular file name extension (Even when served by a metro app)
- How do I declare OutputDebugStringA without windows.h macros?
- WPF giving maximize,minimize,resize control to child window
- Can a dialog intercept drag'n'drop messages passed to its controls?
- WinApi and work with several domains
Related Questions in MSVCRT
- how use ctypes with msvc*.dll from within matlab on windows
- How to find the dll which causes a memory leak and not directly referenced by application
- msvcrt.getch() returning b'a' instead of 'a'?
- what are the differences among the ways to access msvcrt in python on windows?
- how to deploy both x86 and x64 MSVCR120 to local application folder for C# project?
- How to create IReference<UINT32> windows COM interface
- The program can't start because msvcr90.dll is missing
- Trying to create a Printing Calculator program in Python, program outputs 0 infinitely
- Is it safe to call across CRT boundaries using COM?
- Compiling Microsoft CRT 11 (msvcrt110.dll) - What is the correct order of includes?
- mysql crash when querying with multiple conditions
- wamp server won't run error:(0xc000007b)
- Dependency Walker Error: The Side-by-Side configuration information for "ABC.DLL" contains errors
- How can I distribute msvr71.dll (microsoft visual c++ runtime dll)
- Microsoft vs. GNU C/C++ standard library implementations
Related Questions in CRT
- How feasible is it to virtualise the FILE* interfaces of C?
- Trying to reduce size of memory allocations in debug compilations for C++
- Compiler issue after removing CRT (DLL)
- Compiling Microsoft CRT 11 (msvcrt110.dll) - What is the correct order of includes?
- CRT WinAPI and variadic printf functions
- why is An extra worker thread created during the process startup?
- Structured Exceptions (SE) from standard library calls
- Shell Extensions: Static-Linking vs. Dynamic-Linking of C/C++ Run-Time DLLs
- How to get the LCID from std::locale
- File metadata in Win32 C runtime library
- Minimalistic Visual C++ app which shows a window
- How can I make Keil RealView ARM MDK (for Cortex-M3) work with BOTH retargeting(to USART) and STL?
- Using X.509 certificate with OpenSSL in iPhone App
- enabling MASM32-built apps to support msvcrt.dll
- CRT initialization and DLLMain
Related Questions in DUMPBIN
- Determine if program was built with AnyCPU
- what is the @number in the dumpbin exports output
- How do I parse a DumpBin.exe Output file with Regular Expression or LinqToText
- Why does subprocess.Popen not work
- Dumpbin does not show symbols of Visual Studio C++ static library function
- How do I get source file information with dumpbin /symbols when compiling with VS 2005?
- dumpbin equivalent in unix
- What does notype() and notype mean when seeing the C++ library information using dumpbin?
- Can't run Lightswitch 2012 Program under Windows XP Take 2
- DUMPBIN /EXPORTS: why does it differ between debug and release binaries?
- Finding address of the 'vftable' symbol in an .exe file
- dumpbin command not listing function names in dll
- Is the Windows 2012 "start menu" or "settings" menu accessible by RUNDLL32?
- How can I check the LIB file version?
- How to locate and display symbols when using /GL?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If it is a .lib file, a static link library, then you don't know anything about the CRT yet. It wasn't linked yet. You can find out about the original programmer's intention, use a hex viewer to look the .lib file, Notepad will do fine as well. You'll see the original command line that was used to compile the .obj files that were embedded in the .lib file. Simply search for "cl.exe", you'll have a good idea what compiler version was used from the path to cl.exe. And you can see the command line options so you'll know if /MD or /MT was in effect. And the /O option, important to have an idea whether you've got a Debug or Release build.
If it is a .dll file then dumpbin.exe /imports is your best choice. The dependency on the msvcrxxx.dll file will be visible, with xxx the version number like "120". If you see it then the name tells you if /MD or /MDd was used, "d" is appended for the Debug version of the CRT If it is missing then you know that /MT or /MTd was used, no hint about the build flavor available.
Following the recommendations from the library owner is always best, you can get into a lot of trouble when the CRT version or build settings of the library doesn't match yours. With non-zero odds that you have to ask him for an update, YMMV.