Date and Calendar Analytics
currency.cpp

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(){
// initialize the logging, licesne and then the calendar module here ..
if(!dbm_example_init()){
std::wcout << L" ERROR - Failed to initialize the sdk. Exit!" << std::endl;
return -1;
}
// shutdown the calendar, license and logging module here.
dbm_example_shutdown();
return 0;
}