Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Windows (http://www.go4expert.com/forums/windows-forum/)
-   -   How can we get type information when doing Windows native mode programming ? (http://www.go4expert.com/forums/type-information-doing-windows-native-t25960/)

unmeshjoshi 1Jun2011 15:49

How can we get type information when doing Windows native mode programming ?
 
Hello all,
I want to write generic function e.g. compare, which will work in native mode applications. I need to find out the type of parameters passed to this function.
Based on their type I would use memcmp, strcmp or custom function.


when I tried including typeinfo.h and using typeid operator, It did not work out.
Is there any other way out?

thanks in advance
Trojosh


All times are GMT +5.5. The time now is 11:59.