Re: C string array problems (again)
- From: "mayayana" <mayayana1a@xxxxxxxxxxxxxx>
- Date: Fri, 09 Feb 2007 14:53:18 GMT
This is ringing bells, I wonder whether the author of the DLL is
expecting the first entry to contain the full path and file name and
subsequent entries to consist of just the pathless file name
I guess that's possible. The cabinet.dll
operation expects a full path, but the code
is adapted from an MS command line sample.
In that case, the command line comes through
as:
testprogram.exe
file1.txt
file2.txt
.....etc...
And the MS sample code starts reading at array(1).
It may be that the sample program is just
setting current directory and sending file
names. That's odd, though, because the
cabinet.dll docs specifically say that the
FCIAddFile parameter should be a full path.
That would also mean that all of the CAB files
have to be in the same folder.
And that still doesn't explain why my path
is actually coming through chopped, before
it even gets to the cabinet.dll ops.
Anyway, thanks. Maybe I'll experiment with
building the path on the DLL side.
.
- References:
- C string array problems (again)
- From: mayayana
- Re: C string array problems (again)
- From: J French
- C string array problems (again)
- Prev by Date: Re: vb6 kill file in Vista
- Next by Date: Re: C string array problems (again)
- Previous by thread: Re: C string array problems (again)
- Next by thread: Re: C string array problems (again)
- Index(es):
Relevant Pages
|