I have troubles working with the testviewer sample.
After proper compilling of the dll with VS2005, I placed it in the directory next to the reader executable file.
I run Connect, with the "debug console" open.
When trying to open a ".txt2" file with something like "HEllo world !", inside, nothing happens.
The reader UI doesn't show anything in the viewing windows, not even a blank page.
When I check the console (I commented nearly all the "printf" lines to avoid filling the console windows with junk I don't need at the time), I can see that the application open and dispose the file
2 consecutives times. I don't know if it's the proper behavior.
More, when I check
hostData->pszFileUrl (the name of the file normally passed to the dll file),
Code:
printf("File: %s, \n", hostData->pszFileUrl);
just shows me
And all the others properties of hostData (a
ViewerData kind of variable, if igorsk remembers his code

) are set to null...
I suppose there's a problem when the file is handled to the dll. But I don't know what's wrong (and I imagine that tracing the whole Connect with a debugger will be a real pain...). Does anybody have a hint ?