This is an example program how to call the calendar functions More details about this example.
- Note
- The example here references two functions defined in dbm_init.cpp file:
- dbm_example_init
- dbm_example_shutdown
#include <windows.h>
#include <iostream>
#include <string>
#include "SFLOG.h"
#include "SFDBM.h"
bool dbm_example_init(void);
void dbm_example_shutdown(void);
int main(){
if(!dbm_example_init()){
std::wcout << L" ERROR - Failed to initialize the sdk. Exit!" << std::endl;
return -1;
}
dbm_example_shutdown();
return 0;
}