New Forum | Previous | Next | (P-PDF) Developers
Topic: Importing/Exporting an HFT properly?
Conf: (P-PDF) Developers, Msg: 91103
Date: 6/30/2003 11:56 PM
After reading through the rather cryptic SDK 5.0 documentation, I am still unclear as to how to properly import/export HFTs and the associated functions. I tried following the tutorial in the SDK, and found the following problems/questions:
1) In the importing example, the myHFT.h file is included, which happens to contain information about the functions that are being exported. Do you have to include this in any import/export system you make? (Would seem to be ludicrous to need the header file for each plugin)
2) In the PIMain.cpp file, under the PIHandshake function, there are several commented lines which indicate you should change them if you want to export/import an HFT. Do you really need to change these? If so, could someone show me some example code? (Adobe included none)
3) When attempting to compile the plugin which imports, I get thrown an 'Undeclared Identifier' error when using the function which has been exported (as I haven't defined it yet) This seems to be a catch 22 as the function is defined in the plugin which isn't available at compile time, so I have to compile the code to get the code to compile the code to get the code .....
Any help on these problems/questions would be greatly appreciated (even a pointer to an FAQ I haven't found)