I have a old C\C++ unmanaged dll. we need to call it from C#. So, trying to generate files through SWIG so the I can call it from C# project -
we have 7 headers, 9 .CPP files in c++ Code Base and it is in module structure, functions are directly written in the .CPP files no class is present , they are like -
RESOURCE.H - Version Info for the DLL XTYPE.H - This file contains all type definitions including structs used in the X dll XMSG.H - This file contains the message constants XCONS.H - This file contains all constant definitions used in the X project CX.H - This file contains the function declarations for all functions using C structures which are exported from X.DLL SX.H - This file contains the function declarations for all functions exported from X.DLL for use with SQLWindows applications.These functions use a list of variables as arguments. XGLOB.H - This file contains the global variable declarations used by X. Also all the function signature present in all the respective header/source file.