PMFJI, but on a hunch I compared the of_load() function in n_cst_dwsrv_querymode with
a similar function I put together as an extension to w_filtersimple. of_load() uses
the "as_pathname" variable returned by GetOpenFileName().
I remember that I could not get my import function to work until I extracted the path
from the "as_pathname" variable and appended the "as_filename" to it. I had to do
this because there is something odd about the way GetFileOpenName() works...I forget
what, exactly. But I remember that I could not just take the as_pathname argument by
itself, which is how it's done in of_Load().
I suggest you take a look at the of_Load() function in the debugger and check out
those arguments. Maybe
you'll find something unusual about the values returned by GetOpenFileName().
BTW, I notice that of_Load() doesn't return or display any errors returned by
ImportFile(). You might want to trap that value as well.
If you want to do some debugging, but don't want to mess with the pfc-layer code, you
can copy the function into the pfe-layer decendant and override the ancestor. When
you're done debugging, you can either go back to the original pfc code, or fix the
code and use it from the decendant. It's not a perfect solution, but I've got a
couple of pfc fixes that I've had to keep around since 5.0.04 (Not to mention my
filter service extensions!)
Marvin Young
Washington State Department of Fish and Wildlife
[EMAIL PROTECTED]
(360) 902-2508
!
!
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
- Re: PFCSIG: n_cst_dwsrv_querymode Sharon Buntz
- RE: PFCSIG: n_cst_dwsrv_querymode Jill M. Claus
- Re: PFCSIG: n_cst_dwsrv_querymode Sharon Buntz
- RE: PFCSIG: n_cst_dwsrv_querymode Sameer Sharma
- Re: PFCSIG: n_cst_dwsrv_querymode Jill M. Claus
- Re: PFCSIG: n_cst_dwsrv_querymode Sharon Buntz
- Re: PFCSIG: n_cst_dwsrv_querymode Sharon Buntz
- Re: PFCSIG: n_cst_dwsrv_querymode Sharon Buntz
- Re: PFCSIG: n_cst_dwsrv_querymode Jill M. Claus
- Re: PFCSIG: n_cst_dwsrv_querymode Sharon Buntz
- Re: PFCSIG: n_cst_dwsrv_querymode Marvin Young
- Re: PFCSIG: n_cst_dwsrv_querymode Jill M. Claus
- Re: PFCSIG: n_cst_dwsrv_querymode Sharon Buntz
- Re: PFCSIG: n_cst_dwsrv_querymode Jill M. Claus
- Re: PFCSIG: n_cst_dwsrv_querymode Jill M. Claus
- Re: PFCSIG: n_cst_dwsrv_querymode Sharon Buntz
- RE: PFCSIG: n_cst_dwsrv_querymode Daryl Avery
