Brian, Dirk, Thanks a lot for your prompt reply. GSL works beautifully now. It was indeed extern "C" that I'd missed out (I knew from the start it was a silly question, didn't I) Embarrassed, Marcin