roettgermann
Member
Hello,
I want to search the CD-ROM with Windows-Api, but I receive an error. The Code as following:
PROCEDURE Getdrivetype EXTERNAL "kernel32.dll".
DEF INPUT PARAMETER drive AS CHAR.
DEFINE RETURN PARAMETER intResult AS LONG.
END.
DEF VAR lngTyp As INT.
DEF VAR strLaufwerk As CHAR.
strLaufwerke = "c:\":U.
RUN GetDriveType (strLaufwerke, OUTPUT lngtyp).
MESSAGE lngtyp VIEW-AS ALERT-BOX.
Error: 3260: Could not find the entrypoint <function>. (3260)
Could not find that function in the DLL.
What ist wrong - oder - is there existing a better solution?
Kind regards
Matthias Röttgermann
I want to search the CD-ROM with Windows-Api, but I receive an error. The Code as following:
PROCEDURE Getdrivetype EXTERNAL "kernel32.dll".
DEF INPUT PARAMETER drive AS CHAR.
DEFINE RETURN PARAMETER intResult AS LONG.
END.
DEF VAR lngTyp As INT.
DEF VAR strLaufwerk As CHAR.
strLaufwerke = "c:\":U.
RUN GetDriveType (strLaufwerke, OUTPUT lngtyp).
MESSAGE lngtyp VIEW-AS ALERT-BOX.
Error: 3260: Could not find the entrypoint <function>. (3260)
Could not find that function in the DLL.
What ist wrong - oder - is there existing a better solution?
Kind regards
Matthias Röttgermann