Created project in visual studio 2008.Now we want to split the project into many library files(DLL) but the problem is we have global variables which are in separate globals.h file using this file we are accessing global variables across project using extern keyword which are declare in externals.h.
How to share these global variables information across different library files ???
globals.h externs.h
int a=0; extern int a;
int b=0; extern int b;
... ...
... ...
NOTE:globals.h is included only once in project.