Hello
Sorry to bother again, but apparently I found something else wrong with the plugin code
In DVP_InitEx()
, apparently the version that's passed to the plugin is wrong.
In DVPINITEXDATA struct (pInitExData
), I'm receiving the numbers, in Directory Opus 12.6:
dwOpusVerMajor == 786438
dwOpusVerMinor == 0
On further inspection, I noticed that the value on dwOpusVerMajor
is 0x000c0006, so I made this union:
union DopusVersion
{
DWORD full;
struct
{
WORD minor;
WORD major;
} splitver;
};
Which extracts Directory Opus version correctly. (Yeah, I know, I was lazy doing this, instead of doing some appropriate bit shifting )
I'm pretty sure there is a bug.
I added the current code to GitHub.
It's possible to see my DVP_InitEx
in this link, with traps only allowing versions from 12.0 to 12.6 to run.
I hope this helps!