I found that you can do work such as assigning a variable and executing a method outside of the main expression of an if statement. For example:
if(hRes = GetApplicationState(), NT_SUCCESS(hRes))
{
// Do something
}
I found that you can do work such as assigning a variable and executing a method outside of the main expression of an if statement. For example:
if(hRes = GetApplicationState(), NT_SUCCESS(hRes))
{
// Do something
}
Previous post: Open Source Projects
Next post: Ninject MessageBroker Update