Dear Support:
We could not locate C++ sample code for the COM library. Can you point me to the examples or send to me directly, in particular using the standard VC++ or even not MFC in MSVS 2013.
For MFC application I tried creating the Dialog based app from the Wizard.
Used Add Class->MFC class from TypeLib, used this type lib
"C:\Program Files (x86)\ceTe Software\DynamicPDF v7.0.3 for COM\bin\DynamicPDF.tlb"
It allowed me to have the set of classes from thie type library,
but then I tried to include the generated header, it gives the errors (in the bottom)
Can I use COM library in MFC and non MFC application.
Could you provide step-by-step instruction for this?
Warning 1 warning C4278: 'LoadImage': identifier in type library 'C:\\Program Files (x86)\\ceTe Software\\DynamicPDF v7.0.3 for COM\\bin\\DynamicPDF.tlb' is already a macro; use the 'rename' qualifier w:\vep\mfcapplication1\mfcapplication1\ccell.h 3 1 MFCApplication1
Error 2 error C3121: cannot change GUID for class 'IRow' w:\vep\mfcapplication1\mfcapplication1\debug\dynamicpdf.tlh 655 1 MFCApplication1
Error 3 error C2872: 'IDocument' : ambiguous symbol w:\vep\mfcapplication1\mfcapplication1\debug\dynamicpdf.tlh 1109 1 MFCApplication1
Error 4 error C2146: syntax error : missing ';' before identifier 'AddPagedTextSchema' w:\vep\mfcapplication1\mfcapplication1\debug\dynamicpdf.tlh 7721 1 MFCApplication1
Error 5 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int w:\vep\mfcapplication1\mfcapplication1\debug\dynamicpdf.tlh 7721 1 MFCApplication1
Using COM Library with C++ (non .NET) in VS2013
Re: Using COM Library with C++ (non .NET) in VS2013
Support · Nov 19, 2014Hello,
Yes, DynamicPDF for COM can be used in VC++/MFC applications. Please send an email to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] so we can send you a working sample project.
Thanks,
ceTe Software Support Team.