vc++ ADO mysql 怎样读取数据库中文件?该怎么解决

vc++ ADO mysql 怎样读取数据库中文件??
 ("DSN=test32;server=192.168.1.10;database=db;","groups","groups")

现已远程连接上数据库
并获取该文件test.bin在该主机上的路径 CString strPath = "E:/aa/test.bin" 


用fopen只能读取本地文件啊,请问怎样读取该远程主机上的test.bin文件?
谢了!

------解决方案--------------------
 刚试了下fopen确实不行,换CreateFile就可以。
 CreateFile(L"\\\\192.168.0.6\\!YLMeida\\qml\\QyApp\\AlertDialog.qml",               // file to open
GENERIC_READ,          // open for reading
FILE_SHARE_READ,       // share for reading
NULL,                  // default security
OPEN_EXISTING,         // existing file only
FILE_ATTRIBUTE_NORMAL, // normal file
NULL);                 // no attr. template