AmitChaudhary

I am making WMI calls from my .net code in a thread. This code works fine when executed on 32-bit machine.
But when the code is executed on a 64 bit machine, an Exception : System.NullReferenceException is thrown at managementObjectSearcher.Get() statement.

Any pointers...




Re: 64-Bit .NET Framework Development. WMI calls from my .net code in a thread on 64 bit machine.

Feng Chen - MSFT

Hi AmitChaudhary,

To troubleshoot this issue, we really need the source code to reproduce the problem, so that we can investigate the issue in house. It is not necessary that you send out the complete source of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business logic from it.

Thanks for your understanding!






Re: 64-Bit .NET Framework Development. WMI calls from my .net code in a thread on 64 bit machine.

AmitChaudhary

Thanks Feng Chen for response.

Actually there was a mistake in our code. We figured that out.

Thanks Again!