>
>I believe David Frankenbach is correct in this case. You might want to try to pass by refference and filled in the variable to pass with chr(0) or space with the same length as it construct in VB. One more thing is that the filename must be zero terminated and put in the INI file: "FileNamesTerminated=1" without quotes. That's what the Doc's said
>
I'm confused. What do you think I should change in the following:
THIS.nscan_opt=5
THIS.cfront_fn = "F.TIF"
THIS.cback_fn = " "
temp_cfront_len = SPACE(255)
temp_cback_len = SPACE(255)
temp_cmicr_text = SPACE(255)
temp_cmicr_len = SPACE(255)
m.nretval=buicscan(THIS.nscan_opt,;
THIS.cfront_fn, ;
@temp_cfront_len, ;
THIS.cback_fn, ;
@temp_cback_len, ;
@temp_cmicr_text, ;
@temp_cmicr_len)