Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Help regarding RTTI

Help regarding RTTI

Scheduled Pinned Locked Moved C / C++ / MFC
csharphelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Taimoor Mirza
    wrote on last edited by
    #1

    I pray that this finds you well, and in the best of health and spirits. I am currently working on a project and want to know how can we obtain RTTI from a C file ( in .Net)? Reflection namespace is used for RTTI of classes and assemblies. but what about C files??? Day by Day Everyone is moving towards graveyard

    R 1 Reply Last reply
    0
    • T Taimoor Mirza

      I pray that this finds you well, and in the best of health and spirits. I am currently working on a project and want to know how can we obtain RTTI from a C file ( in .Net)? Reflection namespace is used for RTTI of classes and assemblies. but what about C files??? Day by Day Everyone is moving towards graveyard

      R Offline
      R Offline
      Ryan Binns
      wrote on last edited by
      #2

      You can only use reflection on managed types. Is you C file compiled with the /clr switch? (I'm not sure you can even do this)

      Ryan

      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

      T 1 Reply Last reply
      0
      • R Ryan Binns

        You can only use reflection on managed types. Is you C file compiled with the /clr switch? (I'm not sure you can even do this)

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

        T Offline
        T Offline
        Taimoor Mirza
        wrote on last edited by
        #3

        Thanx for replying Ryan. I've compiled C files, but their Compiler is different i.e Microtech PPC. Is there any way to get method info from noncompiled files? Looking for ur response. Day by Day Everyone is moving towards graveyard

        R 1 Reply Last reply
        0
        • T Taimoor Mirza

          Thanx for replying Ryan. I've compiled C files, but their Compiler is different i.e Microtech PPC. Is there any way to get method info from noncompiled files? Looking for ur response. Day by Day Everyone is moving towards graveyard

          R Offline
          R Offline
          Ryan Binns
          wrote on last edited by
          #4

          mooni wrote:

          I've compiled C files, but their Compiler is different i.e Microtech PPC

          You can only get the information from managed types compiled with the Visual C++ compiler, so no, you can't get the information you need.

          Ryan

          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups