
08-03-2004, 09:14 AM
|
 |
Obsessive OPtimizer
Administrator * Guru *
|
|
Join Date: Jun 2002
Location: Debug Window
Posts: 13,688
|
|
|
I accidentally omitted marshalling for one of the IShellLinkA methods:
This line:
Sub GetWorkingDirectory(ByVal pszDir As StringBuilder, ByVal cch As Integer)
should actually be:
Sub GetWorkingDirectory(<Out(), MarshalAs(UnmanagedType.LPStr)> ByVal pszDir As StringBuilder, ByVal cch As Integer)
Thanks to forum user name: nighty for pointing that out.
|
__________________
Quis custodiet ipsos custodues.
|