PDA

View Full Version : btrieve version 6.15 problem reading in path with spaces


gracek
07-16-02, 21:46
Hi-
I am using Microkernel Workstation Engine, Version 6.15
I do a call
BTRV (B_OPEN......) passing in the betrieve file path that contains a space e.g. "C:\Program Files\blah"

It always returns an error code of 0 and the path was truncated after the function call is returned.

Although it returns an error code of 0, when do operation such as
BTRV (11,....) (11 means get less than or equal)
it always return an error code of 9... when in fact the record is there.

I am certain it is because there is a space in the path.
I am not sure if that's a bug in betrieve and if there is some sort of workaround, patch on that.

thanks, grace