Book a Demo

Author Topic: Generating both C++ and C#  (Read 3752 times)

doojoo

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Generating both C++ and C#
« on: February 20, 2009, 11:29:13 pm »
I have made a model containing a class with an attribute of type 'unsigned short'. I have generated C++ code from it and this look ok. But when I generate C# code from the same model the class also contains an attribute of type 'unsigned short'. In C# the should however be Ushort. I have been looking to change the Code Templates but was not able to create this type mapping.
How must I change my model and/or code generation to be able to generate both C++ and C# code.

Nice regards.