WRAPPER_API const wchar_t *get_CustomFileName() const
The get_CustomFileName method returns the path and name of the custom data source file that is currently loaded into the DataSource. If get_IsLoaded returns false, or if no custom data source was specified during load, then this method will return the empty string.
void DataSource_getCustomFileName(GeoCalcPBW::DataSource & data)
{
AfxMessageBox(CString("Custom data source is ") + CString(_tochar(data.get_CustomFileName()).c_str()));
}