Btw, this works for me:
#include <QtGui>
#include <ActiveQt>
#include "acropdf.h"
int main(int argc, char *argv[])
{
if (file.isNull())
return 0;
AcroPDFLib::AcroPDF pdf;
pdf.LoadFile(file);
pdf.show();
return app.exec();
}
#include <QtGui>
#include <ActiveQt>
#include "acropdf.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QString file = QFileDialog::getOpenFileName();
if (file.isNull())
return 0;
AcroPDFLib::AcroPDF pdf;
pdf.LoadFile(file);
pdf.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Where acropdf.h and acropdf.cpp were generated by dumpcpp. I can see AcroRd32.exe starting up, and I can see it quitting a while after the window is closed.
Bookmarks