There are 64 bit and 32 bit version for DLL file. For example in mscvcr.dll there are 2 version 32 bit and 64 bit. how can i check if the DLL is running for 64 bit or 32 bit Windows Version with VB.net?
            Asked
            
        
        
            Active
            
        
            Viewed 69 times
        
    0
            
            
        - 
                    If your exe targets 64-bit, then it will use the 64-bit version of the DLL. Likewise for 32-bit. – rory.ap Nov 16 '15 at 15:37
- 
                    Are you referring to the DLL as loaded into the current process, or another process? – Glorin Oakenfoot Nov 16 '15 at 15:37
- 
                    1http://stackoverflow.com/questions/270531/how-to-determine-if-a-net-assembly-was-built-for-x86-or-x64 – Habib Nov 16 '15 at 15:38
- 
                    http://stackoverflow.com/a/3461562/89586 – Matthew Whited Nov 16 '15 at 15:39
- 
                    Referring for another process. – Arief saladdin Nov 16 '15 at 15:39
- 
                    Simplest way is to just try it. Next way is to use Dumpbin.exe /headers on the file and look at the reported machine type. – Hans Passant Nov 16 '15 at 15:39
