DLLInterface - #ifndef DLLINTERFACE_H #define DLLINTERFACE_H

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: #ifndef DLLINTERFACE_H #define DLLINTERFACE_H ////////////////////////////////////////////////////////////// // // Welcome. Are you sure you want to read this? We had in // mind that you wouldn't need to. Start from the sample // derived class implementations (ComponentExample.h/cpp) instead. // ////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Version of the package base class code ////////////////////////////////////////////////////////////////////////// static const char* PACKAGE_BASE_VERSION = "1.0"; /////////////////////////////////////////////////////////////// // Some plumbing required to integrate your component definitions. // Out of paranoia about what compilers might do, we: // 1. actually export only a single DLL function, GetPackageInformation() // 2. call only C routines (i.e., not object methods) across the DLL interface // 3. and so there are a slew of function types to be defined so that SMOK and // this package can exchange function pointers (which can be thought // of as the routine they import/export)....
View Full Document

This note was uploaded on 10/12/2009 for the course CSE 378 taught by Professor Staff during the Spring '08 term at University of Washington.

Page1 / 3

DLLInterface - #ifndef DLLINTERFACE_H #define DLLINTERFACE_H

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online