Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incorporating DLL File in VFP program
Message
From
19/12/2013 14:16:31
 
 
To
19/12/2013 13:16:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01590624
Message ID:
01590654
Views:
76
I believe the correction is these two lines:
   apSetFunc(id, AP_Set_Input , 0, 0, '&iFilename' , 0)  &&input file.
   apSetFunc(id, AP_Set_Output, 0, 0, '&oFilename', 0) &&output format and file.
This probably should be:
   apSetFunc(id, AP_Set_Input , 0, 0, iFilename , 0)  &&input file.
   apSetFunc(id, AP_Set_Output, 0, 0, oFilename, 0) &&output format and file.
You were passing a string value instead of the variable value.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform