None of that surprises me. Wysota said something in an earlier post that indicated it wasn't too great.
I exchanged emails with the author and he said he really only provided the pre-built dll for Windows developers using Visual Basic and I know there are several Windows programs out there that are successfully using that approach.
When I built the library on Windows using Mingw, I used the current versions of openssl, expat, and zlib and it built ok.
I have gotten the tqsl_init() function to return success as follows:
tqsllib2.setFileName("c:/cpp/qt_projects/lib_test2/debug/tqsllib2.dll");
tqsllib2.load();
qDebug() << "is tqsllib2 loaded ? " << tqsllib2.isLoaded();
qDebug() << "lib load error is " << tqsllib2.errorString();
int ret;
typedef int (*MyPrototype) ();
MyPrototype tqsl_init = (MyPrototype) tqsllib2.resolve("tqsl_init");
if (tqsl_init)
{
ret = tqsl_init();
}
qDebug() << "ret is now " << ret;
QLibrary tqsllib2;
tqsllib2.setFileName("c:/cpp/qt_projects/lib_test2/debug/tqsllib2.dll");
tqsllib2.load();
qDebug() << "is tqsllib2 loaded ? " << tqsllib2.isLoaded();
qDebug() << "lib load error is " << tqsllib2.errorString();
int ret;
typedef int (*MyPrototype) ();
MyPrototype tqsl_init = (MyPrototype) tqsllib2.resolve("tqsl_init");
if (tqsl_init)
{
ret = tqsl_init();
}
qDebug() << "ret is now " << ret;
To copy to clipboard, switch view to plain text mode
Now I am working on getting the tqsl_getStationLocation function to work.
However, I want to be able to offer my application on Linux and Mac as well as Windows and if I'm not going to be able to compile the library for the other O/S and won't be able to use the library I built on Windows, then I think I am going to give up on adding the features to my application that the library offers.
Am I correct in assuming I won't be able to use the dll I built under Windows to create versions of my application for Linux and Mac? If that is the case, then I'm giving up on it unless they re-write the library.
Thanks again for all of your help, you have gone above and beyond what one would expect on the forum and I truly appreciate it. I'm sorry it turned out to be a waste of your time.
Bookmarks