MS Visual FoxPro DECLARE command doesnt work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm a programmer using Microsoft Visual FoxPro for daily work. I'm 
trying to run a self written program on wine. This program uses several 
Windows API functions. An example is:

 DECLARE INTEGER ShellExecute IN z:/usr/lib/wine/shell32.dll.so ;
   INTEGER, STRING, STRING, STRING, STRING, INTEGER

 ShellExecute( 0, "open", "notepad.exe", "", "", 1 )

The DECLARE line itself seems to work but the actual call to 
ShellExecute() raises an error (DLL file is missing or invalid). As the 
DLL file is there I think it's looking invalid to VFP. The same happens 
with any other Win32API function call I tried.

FWIW, the syntax in Visual Basic 6 is nearly the same. Perhaps there's a 
solution for VB6 that works for VFP, too?

Any other ideas?

TIA,

Markus


_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux