Re: [fpc-pascal] Getting multiple files from GetOpenFileNameA

2019-05-22 Thread Santiago A.
El 21/05/19 a las 23:17, James Richters escribió: I have it defined with the program variables: Here are all my Uses and Vars: Uses ptcgraph,sysutils,Windows,Commdlg,Classes,CRT; Var TFilename : TOpenFileNameA; ret: array[0..100] of char; OpenFileResult

Re: [fpc-pascal] Getting multiple files from GetOpenFileNameA

2019-05-22 Thread James Richters
Thank you for the suggestions. Yes the variables are all global. The TFilename came from some C source that I had as an example. I will take your recommendation and just make it a variable. I guess strpas makes a string of all characters until it reaches a #0 ?I'll give that a try.