DumontDLL.h File Reference

#include "version.h"
#include <QObject>
#include <QStringList>
#include <QPointer>
#include <QSettings>
#include <QDate>
#include <QFileDialog>
#include "QCommenceDB.h"
#include "QCosFactory.h"
#include "QOutlook.h"
#include "util.h"
#include "DumXmlDocument.h"

Go to the source code of this file.


class  QCommenceCalendarForm
 Calendar Form Specialization Object. More...
class  QCommenceDocketForm
 Calendar Form Specialization Object. More...
class  QDumontTest
class  QDumontCommenceForms
 Managed list of Open Forms. More...
class  QDumontDLL
 DumontDLL Main Object Interface. More...


#define ORG_DOMAIN   "lorimarksolutions.com"
#define APP_NAME   "DumontDLL"


QDumontDLLdumDLL (void)
QCommenceApplicationcmcApp (void)
 Provide global access to the Commence application object.

Define Documentation

#define APP_NAME   "DumontDLL"

Definition at line 1327 of file DumontDLL.h.

#define ORG_DOMAIN   "lorimarksolutions.com"

Definition at line 1326 of file DumontDLL.h.

Function Documentation

QCommenceApplication* cmcApp ( void   ) 

Provide global access to the Commence application object.

This pointer is the Commence application object. It must be set up with one of the calls to ddll.start Form from scripting so that the start routine can record (for posterity) the application instance of Commence that it's referring to. HOWEVER, you MUST manually delete the database() pointer that you fetch from this application object. This is because the application object is persistent, and therefore makes the database object persistent. When that happens, Commence thinks it has an open reference pointer to the database object, even though you may be finished using it (ie; your function has returned). It's a pointer, but it must be freed, which is a real PITA at this point.

Definition at line 80 of file DumontDLL.cpp.

QDumontDLL* dumDLL ( void   ) 

Definition at line 97 of file DumontDLL.cpp.

~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
Commence Database User Support Group Forum
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC