RickStrahl / wwDotnetBridge

.NET Interop for Visual FoxPro made easy
http://west-wind.com/wwDotnetBridge.aspx
MIT License
74 stars 35 forks source link

Problem with DeleteFile function after initializing #25

Closed tpenninckx closed 2 years ago

tpenninckx commented 2 years ago

Hello, In the source code, there is a call to :
DECLARE INTEGER DeleteFile IN WIN32API STRING

This should be Replace by :
DECLARE INTEGER DeleteFile IN WIN32API AS My_DeleteFile string

As the Deletefile is an internal function of Foxpro. Without this renaming, the Foxpro App crash if it calls DeleteFile

Thierry

RickStrahl commented 2 years ago

DELETEFILE is not a built-in function