How can we get type information when doing Windows native mode programming ?

Discussion in 'Windows' started by unmeshjoshi, Jun 1, 2011.

  1. unmeshjoshi

    unmeshjoshi New Member

    Mar 17, 2010
    Likes Received:
    Trophy Points:
    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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice