Jakub Wójciak
9/16/2003 6:18:00 PM
> I have a .H file with tonnes of #define constants and I want to access
that
> from C# but I dont want to rewrite the header file as a class.
> Is there a way after including that in MC++ to get those values from C#?
Create a simple parser that will do this automatically for you. That way,
when you change the original .h file, you can automatically get a new class
for .NET - you can even integrate it as a custom build step.
Remember the golden rule of programming: DRY - Don''t Repeat Yourself!
--
pozdrawia
qbeuek@zdnet.pl
Anything was possible last night. That was the trouble
with last nights. They were always followed by this mornings.
- Terry Pratchett, "Small Gods"