// P4API.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "P4APITest.h" // This is an example of an exported variable P4APITEST_API int nP4APITest=0; // This is an example of an exported function. P4APITEST_API int fnP4APITEST(void) { return 42; } // This is the constructor of a class that has been exported. // see P4API.h for the class definition CP4APITest::CP4APITest() { return; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 7502 | Robert Cowham |
- Updated for 2009.1 API - use static version (/MT rather than /MD) - Fixed SetProg/SetVersion calls - ensures they are called at correct moment. - Add SetProtocol - Added some more tests/examples |
||
#1 | 6468 | Robert Cowham | Draft version. |