@gerard4143 : I can't use dlls, I have a restriction.
@Dave : The first example is working, the structure gets populated with values in the inc file.Thanks for the replies.
Ok, if its not possible then is there any other way to populate this structure using the inc files without using #include?
I'm not really sure what your after...but you could try working with a marco..
Note - Marcos are processed by the preprocessor as well