Home » Developer & Programmer » Forms » How to use window api 'Findfirstfile' with ora_ffi in forms6i (forms 6i window2000)
How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313260] Fri, 11 April 2008 04:53 Go to next message
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
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313262 is a reply to message #313260] Fri, 11 April 2008 04:58 Go to previous messageGo to next message
czhtony2008
Messages: 13
Registered: April 2008
Junior Member
In this forum, I find many questions talk about send record type in ora_ffi.register_parameter, but no one can provide the correct answer.
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313421 is a reply to message #313262] Fri, 11 April 2008 19:31 Go to previous messageGo to next message
czhtony2008
Messages: 13
Registered: April 2008
Junior Member
Embarassed


who can help me


please provide some source code ao other information

[Updated on: Fri, 11 April 2008 19:31]

Report message to a moderator

Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313508 is a reply to message #313421] Sun, 13 April 2008 04:34 Go to previous messageGo to next message
czhtony2008
Messages: 13
Registered: April 2008
Junior Member
anyone know it
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313529 is a reply to message #313508] Sun, 13 April 2008 08:31 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I don't.

You have to understand that it is weekend and not many Forum members spend their free time to answer questions.
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313582 is a reply to message #313529] Sun, 13 April 2008 19:15 Go to previous messageGo to next message
czhtony2008
Messages: 13
Registered: April 2008
Junior Member
Thank you for you remind of me
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313666 is a reply to message #313582] Mon, 14 April 2008 01:53 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I am confident that using a type of 'record' is not supported by Forms 6. I don't think it is supported by Forms 9 or 10 either.

Have you looked at using 'd2kwutil'?

David
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #313841 is a reply to message #313666] Mon, 14 April 2008 19:11 Go to previous messageGo to next message
czhtony2008
Messages: 13
Registered: April 2008
Junior Member
yes, I can use ora_ffi package to access some dll
For this moment I want to know
How to deal with record type
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #314481 is a reply to message #313841] Wed, 16 April 2008 20:14 Go to previous messageGo to next message
czhtony2008
Messages: 13
Registered: April 2008
Junior Member
Who can help me
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #314814 is a reply to message #314481] Thu, 17 April 2008 19:11 Go to previous messageGo to next message
czhtony2008
Messages: 13
Registered: April 2008
Junior Member
help me
Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #314815 is a reply to message #314814] Thu, 17 April 2008 20:00 Go to previous messageGo to next message
czhtony2008
Messages: 13
Registered: April 2008
Junior Member
From now ,the one method i can think is
1.use other language to complete the request
then make dll file
2.call the dll file in form 6i

Re: How to use window api 'Findfirstfile' with ora_ffi in forms6i [message #315550 is a reply to message #314815] Mon, 21 April 2008 21:08 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Can you do it from the database via a procedure stored there? You would have to pass the components as separate parameters between the Forms and the database procedure.

David
Previous Topic: order of trigger firing .
Next Topic: TEMPLATE.FMB
Goto Forum:
  


Current Time: Tue Mar 11 12:00:29 CDT 2025