General information
Category:
Windows API functions
Title:
DLL functions without parameters
I have a problem indirectly related to Windows API but might be relevant for function calls without parameters.
DECLARE STRING GetResult IN "XPRConnector.dll"
string = GetResult()
gives an error
"file getresult.prg does not exist"
though two other function calls with parameters for the same DLL didn't result in similar error.
No problem in VB with that
Private Declare Function GetResult Lib "XPRConnector.dll" () As String
Text1.Text = GetResult()
Any clues ?
Thank you.
Michael
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only