Re: [fpc-pascal]Linking to Windows

2003-02-07 Thread Hans Mårtensson
At 15:28 06-02-2003 +0100, you wrote: >You may use the GetProcAddress (Win32 API function) to retrieve the >procedure's START-ADDRESS, wehre the input parameter is EITHER an index, I >think of limited size, OR a name, that must be SPELLED CORRECTLY. > >If you try both, and look for MATCHING ADDRE

Re: [fpc-pascal]Linking to Windows

2003-02-06 Thread Anton Tichawa
Hello, Hans! You may use the GetProcAddress (Win32 API function) to retrieve the procedure's START-ADDRESS, wehre the input parameter is EITHER an index, I think of limited size, OR a name, that must be SPELLED CORRECTLY. If you try both, and look for MATCHING ADDRESSES, you should be able to g

RE: [fpc-pascal]Linking to Windows

2003-02-05 Thread Matt D. Emson
Behalf Of > Hans Mårtensson > Sent: 05 February 2003 14:58 > To: [EMAIL PROTECTED] > Subject: Re: [fpc-pascal]Linking to Windows > > > At 19:10 04-02-2003 -0500, you wrote: > > > >You can get the SDK help files from Borland: > > > >ftp://ftp.borlan

Re: [fpc-pascal]Linking to Windows

2003-02-05 Thread Hans Mårtensson
At 02:00 05-02-2003 +0100, you wrote: >please post the 'uses' clauses and the function declaration from your source. >that should make it easier. > >anton. > Here is a test program I have used: program x_prog; {$APPTYPE GUI} uses windows; var pPrinter: LPHANDLE; prd: PRINTER_DEFAULTS; Procedu

Re: [fpc-pascal]Linking to Windows

2003-02-05 Thread Hans Mårtensson
At 19:10 04-02-2003 -0500, you wrote: > >You can get the SDK help files from Borland: > >ftp://ftp.borland.com/pub/delphi/techpubs/delphi3/d3ms.zip > >Be warned, this is a 15M download. > >Rolf Grunsky Thank you for the link, but I have allready got these help files allthough in an older version,

Re: [fpc-pascal]Linking to Windows

2003-02-04 Thread Anton Tichawa
On Wednesday 05 February 2003 03:50, you wrote: nothing found yet. may be half an hour work. > anton. > > At 05:46 04-02-2003 +0100, you wrote: > > >Hello, List! > > > > > >On Monday 03 February 2003 21:14, you wrote: > > >> According to the Free Pascal Programmers manual chapter 4.1 it is > > >

Re: [fpc-pascal]Linking to Windows

2003-02-04 Thread Anton Tichawa
wait some minutes .. anton. > At 05:46 04-02-2003 +0100, you wrote: > >Hello, List! > > > >On Monday 03 February 2003 21:14, you wrote: > >> According to the Free Pascal Programmers manual chapter 4.1 it is > >> possible to specify an external Windows function with: > >> Procedure ProcName(Arg

Re: [fpc-pascal]Linking to Windows

2003-02-04 Thread RGrunsky
In <[EMAIL PROTECTED]>, on 02/04/03 at 11:18 PM, Hans Mårtensson <[EMAIL PROTECTED]> said: >>If you really need indices, you might find them in microsoft's (API?) >>documentation. >> >I hoped so, but I cannot find them in Microsoft's home page. >Hans M. You can get the SDK help files from

Re: [fpc-pascal]Linking to Windows

2003-02-04 Thread Anton Tichawa
hello, please post the 'uses' clauses and the function declaration from your source. that should make it easier. anton. -- "Adas Methode war, wie sich zeigen wird, Tagträume in offenbar korrekte Berechnungen einzuweben." Doris Langley Moore: Ada, Countess of Lovelace (London 1977).

Re: [fpc-pascal]Linking to Windows

2003-02-04 Thread Hans Mårtensson
At 05:46 04-02-2003 +0100, you wrote: >Hello, List! > >On Monday 03 February 2003 21:14, you wrote: > >> According to the Free Pascal Programmers manual chapter 4.1 it is possible >> to specify an external Windows function with: >> Procedure ProcName(Args: TProcArgs); external 'Name' index SomeInde

Re: [fpc-pascal]Linking to Windows

2003-02-03 Thread Anton Tichawa
Hello, List! .. and I remember some sort of 'DLL viewer', or 'Quick View', at least in winnt (or Windows Commander?), that showed dll porperties, including procedure names and indices .. it's difficult to work with indices, isn't it? Anton Tichawa. -- "Adas Methode war, wie sich zei

Re: [fpc-pascal]Linking to Windows

2003-02-03 Thread Anton Tichawa
Hello, List! On Monday 03 February 2003 21:14, you wrote: > According to the Free Pascal Programmers manual chapter 4.1 it is possible > to specify an external Windows function with: > Procedure ProcName(Args: TProcArgs); external 'Name' index SomeIndex > > But where can I get information on whic