#include "BIDB.h"
BOOL CALLBACK SaveFileToDatabase(CBiRecordSet* RecSet, LPCTSTR szFileName)
Description
This function saves the file as binary data to the specified position and specified long binary object field.
Parameters
|
CBiRecordSet* |
RecSet |
Pointer the recordset object. |
|
LPCTSTR |
szFileName |
Path and name of the file to save. |
Additional Information
This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.
Return values
Returns TRUE on success, otherwise FALSE. The GetLastDBError returns the error code.
Requirements
Header : Declared in BiDb.h; include BiDb.h.
Library : Use BiDb.lib.
DLLs : BiDb.dll.