Hi all
I’ve been asking questions about DrvDocumentPropertySheets acting
strange in my print UI wrapper. Also today, i tried to analyze why
the function DrvDocumentPropertySheets doesn’t operate normally.
I posted that DrvDocumentProperty in my wrapper fails to load library
“unidrvui.dll” in following situation.
- Using Microsoft Word.
- click printer icon(in every app supporting printer).
- choosing File -> Print menu(also in every app supporting printer).
and the error code checked with GetLastError function was 183, which
means “Cannot create a file when that file already exists.”
Today i tried few more things, different trials from yesterday posting.
When DrvDocumentPropertySheets fails to load the library “unidrvui.dll”,
i tried to load the library again, with another variable which will handle
the library. but, it also failed with the error code 183.
Then i felt strange so i tried to load a dll file which doesn’t effect the
UI wrapper. A dll which have no relation with printer, and also not being
used. But! the dll wasn’t being loaded on the situations, and the
errorcode
was also 183. this is really a mystery. i can’t understand it.
DrvDocumentPropertySheets, and other functions worked normally in other
situations. the library was loaded successfully and i could make the
the function act practically by using GetProcAddress.
but why does it fail in these situations?
any idea with the error?
or any other plan to make the function work?
I wish i could listen for advice.
Please help me with it. I’ll be looking forward to it.
i really want to make this.
-with respect
Souneil