by sfwrtr » Wed Mar 24, 2010 2:40 am
A clue, plus a warning, would have been very nice. After a lot of Googling, I discovered I could use #import or place the controls in new project dialog then define a variable. I did this, using the same naming convention you used in the samples. (Yes, you can say "obviously" and I do understand that many C/C++ programmers have used plenty of ActiveX controls, but not everybody has, especially those who never use VB such as myself.)
The unexpected result was that (1) all functions that used Set<function> and Get<function> became put_<function> and get_<function> (2) a very nice set of enumerations showed up that were not in the sample, and (3) the inline functions in the C_imaging and C_GdViewer classes in the header files instead show up in the .cpp files.
I am curious as to why the defines were removed from the generated files in the sample and why you went to the trouble of inlining the functions. I am guessing that distributed classes are internally generated by the developers. I can only hope that the Q/A staff actually use the generated headers for testing.
BTW, the APIs are in the newly generated files.