Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualachild

Posted 02 October 2012 - 12:27 PM

Supposedly, that is an undocumented function - so it was at your own risk to use it.

You can emulate it using DllGetVersion from Comctl32.dll.
See http://msdn.microsoft.com/en-us/library/windows/desktop/bb776404(v=vs.85).aspx

Better question - do you really even need it for what you're trying to do? If you're using an application manifest, you will know your common control version anyway...

[edit] This is how wtl implements it - look at the end of the file. http://wpack.googlec...ty/wtl/atlapp.h
[edit2] Fixed.

#2achild

Posted 02 October 2012 - 12:06 PM

Supposedly, that is an undocumented function - so it was at your own risk to use it.

You can emulate it using DllGetVersion from Comctl32.dll.
See http://msdn.microsof...b776404(v=vs.85).aspx.

Better question - do you really even need it for what you're trying to do? If you're using an application manifest, you will know your common control version anyway...

[edit] This is how wtl implements it - look at the end of the file. http://wpack.googlecode.com/svn-history/r3/trunk/thirdparty/wtl/atlapp.h

#1achild

Posted 02 October 2012 - 12:04 PM

Supposedly, that is an undocumented function - so it was at your own risk to use it.

You can emulate it using DllGetVersion from Comctl32.dll.
See http://msdn.microsoft.com/en-us/library/windows/desktop/bb776404(v=vs.85).aspx.

Better question - do you really even need it for what you're trying to do? If you're using an application manifest, you will know your common control version anyway...

PARTNERS