I've a problem (with PBWin 8.0.4 ??) I never noticed before reading from a simple text file within a simple DLL. Following code is part of a function called within the 'process attach' event of LibMain:
'...
local sTemp as string
Open "TEXTFILE.TXT" For Input As #1
Line Input #1, sTemp
Close #1
'...
Executing "Line Input #1, sTemp" leads to error 477.
Syntax error - Something is incorrect on the line; however, the compiler could not determine a proper error message or decode the line further.
A common cause is mixing two statement keywords together, using a reserved keyword for a variable name, or attempting to use an undefined COM INTERFACE member (in an OBJECT statement) when using early-binding, etc.
It seems I'm currently not able to figure that out.
'...
local sTemp as string
Open "TEXTFILE.TXT" For Input As #1
Line Input #1, sTemp
Close #1
'...
Executing "Line Input #1, sTemp" leads to error 477.
Syntax error - Something is incorrect on the line; however, the compiler could not determine a proper error message or decode the line further.
A common cause is mixing two statement keywords together, using a reserved keyword for a variable name, or attempting to use an undefined COM INTERFACE member (in an OBJECT statement) when using early-binding, etc.
It seems I'm currently not able to figure that out.
Comment