How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313260] |
Fri, 11 April 2008 04:53  |
czhtony2008
Messages: 13 Registered: April 2008
|
Junior Member |
|
|
window api FindFirstFile
Declare Function FindFirstFile Lib "kernel32" Alias "FindFirstFileA" (ByVal lpFileName As String, lpFindFileData As WIN32_FIND_DATA) As Long
when we use ora_ffi.register_parameter send variable is only basic type
C_CHAR Means char
C_CHAR_PTR Means char *
C_DOUBLE Means double
C_DOUBLE_PTR Means double *
C_FLOAT Means float
C_FLOAT_PTR Means float *
C_INT Means int
C_INT_PTR Means int *
C_LONG Means long
C_LONG_PTR Means long *
C_SHORT Means short
C_SHORT_PTR Means short *
C_VOID_PTR Means void *
so how to solve the data type like WIN32_FIND_DATA is record type
|
|
|
|
|
|
|
|
|
|
|
|
|
|