> Hi,
>
[quoted text clipped - 3 lines]
>
> This is the code (excerpt)
... snipped ...
> Using the sysinternal tool "filemon" I realized, that obviously all
> the
[quoted text clipped - 4 lines]
> Line of the filemon-log:
> 12270 12:17:02 spoolsv.exe:476 OPEN
C:\WINDOWS\System32\spool\DRIVERS\W32X86\unires.dllstdnames.gpdmiprndr
v.inimiprndrv.dllmiprnhlp.dll
> NOT
> FOUND Options: Open Sequential Access: Read
vbNullString is literally nothing, a null pointer typed as a string.
What you want is vbNullChar, which is a chr$(0) character.

Signature
Jim Mack
Twisted tees at http://www.cafepress.com/2050inc
"We sew confusion"
Monika Huk - 01 Jul 2009 16:00 GMT
Hi Jim,
thanks,
that worked :-)

Signature
Monika
> > Hi,
> >
[quoted text clipped - 22 lines]
> vbNullString is literally nothing, a null pointer typed as a string.
> What you want is vbNullChar, which is a chr$(0) character.
Dee Earley - 01 Jul 2009 16:23 GMT
>> Using the sysinternal tool "filemon" I realized, that obviously
>> all the filenames given in di.pDependentFiles are concatenated and
[quoted text clipped - 3 lines]
> vbNullString is literally nothing, a null pointer typed as a string.
> What you want is vbNullChar, which is a chr$(0) character.
You may want to check out this page that explains Null and its variations:
http://hashvb.earlsoft.co.uk/Null

Signature
Dee Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
iCode Systems
> .pConfigFile =
> "c:\\WINDOWS\\system32\\spool\\drivers\\w32x86\\unidrvui.dll"
You need to remove all extra "\". It's an escape character in C++, so it has
to be doubled when a path is hard coded into the source file(in C++), but
not in VB.