Board index » delphi » Win32 API definitions in Delphi
Martin Angers
![]() Delphi Developer |
Sun, 28 Feb 1999 03:00:00 GMT
|
Martin Angers
![]() Delphi Developer |
Sun, 28 Feb 1999 03:00:00 GMT
Win32 API definitions in DelphiHi, I would like to know if the record WIN32_FIND_DATA used in FindFirstFile Thanks for the help and please reply by e-mail. |
Martin Larsso
![]() Delphi Developer |
Mon, 01 Mar 1999 03:00:00 GMT
Re:Win32 API definitions in DelphiQuoteMartin Angers wrote: confuse it with TWinControl.Handle. M. PS. Heavy crossposting reduced somewhat. -- |
Ray Lischn
![]() Delphi Developer |
Mon, 01 Mar 1999 03:00:00 GMT
Re:Win32 API definitions in DelphiOn 11 Sep 1996 23:54:54 GMT, "Martin Angers" <m...@mediom.qc.ca> wrote: Quote>I would like to know if the record WIN32_FIND_DATA used in FindFirstFile TWin32FindData. Unfortunately, Borland changed many of the type names when converting from C to Pascal, and the only way to know the true names is to read the source code. Fortunately, you have the source code for the Windows unit, even though you have the Desktop edition. Look in the Source\Rtl\Win directory. The type THandle (note the T) is also declared in Windows. |
Ed Hillma
![]() Delphi Developer |
Wed, 03 Mar 1999 03:00:00 GMT
Re:Win32 API definitions in DelphiI believe that there is a type HWnd, which is used to store Handles. As far as for the Win32_find_data record, it is defined in Delphi as: TWin32FindDataA = record The *A record is for short strings, the *W record is for long strings. BTW, you can buy the source from Borland, if you can't wait for D3. Ed Quote"Martin Angers" <m...@mediom.qc.ca> wrote: |
Ritchie Anna
![]() Delphi Developer |
Wed, 03 Mar 1999 03:00:00 GMT
Re:Win32 API definitions in DelphiIn article <3237C009.4...@delfi-data.msmail.telemax.no>, Quote>Martin Angers wrote: is defined as PWin32FindData and the DBCS version is TWin32FindDataW) A good hint to finding the equivalents of C/C++ Win SDK types in Constants are typically named the same. Quote>All are defined in the Windows unit. HANDLE is called THandle to not |
Martin Cul
![]() Delphi Developer |
Sun, 07 Mar 1999 03:00:00 GMT
Re:Win32 API definitions in DelphiOn 11 Sep 1996 23:54:54 GMT, "Martin Angers" <m...@mediom.qc.ca> wrote: Quote>Hi, In response to your questions. Quote
unit. Members of the structure are as follows : dwFileAttributes: DWORD; ftCreationTime: TFileTime; ftLastAccessTime: TFileTime; ftLastWriteTime: TFileTime; nFileSizeHigh: DWORD; nFileSizeLow: DWORD; dwReserved0: DWORD; dwReserved1: DWORD; cFileName: array[0..MAX_PATH - 1] of AnsiChar; cAlternateFileName: array[0..13] of AnsiChar; Quote> And, while we're at it, is HANDLE a declared type in Delphi, in some THandle Quote>Thanks for the help and please reply by e-mail. Martin Cully Quote>Let's keep knowledge sharing |
1. TPW32: Win32 API units for BPW/Delphi
2. Looking for Tomes of delphi 3 : win32 core api book in UK
3. Delphi & Win32 Security API
4. intro to using Win32 API with Delphi?
6. The Tomes Of Delphi 3: Win32 Graphical API
8. Delphi Win32 API books shipping