Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare dll call caused an exception
Message
 
To
21/01/2005 16:37:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP2
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00979001
Message ID:
00979845
Views:
53
>
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform