Hi Satish, I would have expected the /cb/ notation to work, but if you export the individual variables instead, it does get compiled. However, my test program shows that the data in the main program are not the ones in the DLL, even though I applied both DLLEXPORT and DLLIMPORT.
It might be better to use "accessor" functions/routines to get the data from the common blocks in the C layer you are using. Regards, Arjen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple