Thank you everyone who helped me with this. I have both the Lazarus version
and the FPC console version both working with a Save-As dialog and message
boxes for errors. Basic functionality is working great with both methods.
Since it's such a simple program, I'll tinker with it with both met
Thank you for this example! It works perfectly and I now have my console
program putting up message boxes and opening a Save-As box as needed.
James
-Original Message-
From: fpc-pascal On Behalf Of
Alexander Grotewohl
Sent: Sunday, November 4, 2018 11:48 AM
To: fpc-pascal@lists.freep
On Sun, Nov 4, 2018 at 5:52 PM Fabio Luis Girardi
wrote:
>
> Hi Marcos!
>
> I use a lot of FPC/Lazarus versions using one FPC.cfg file, but instead of
> using relative paths, I use compiler variables, absolute paths, ext4 symlink
> and directory structure equal to all versions. The unique thing
Hello,
I would like to make a suggestion regarding the generated code of the
pas2jni utility, and report an issue.
This utility generates a java file called system.java. First thing is that
there is a reference to TClass which is a non-existent Java class:
static TClass GetTClass(int index) { TC
Hi Marcos!
I use a lot of FPC/Lazarus versions using one FPC.cfg file, but instead of
using relative paths, I use compiler variables, absolute paths, ext4
symlink and directory structure equal to all versions. The unique thing
that I have to do each time when installing a new FPC version, is the
s
The Lazarus version is mostly working in Lazarus, but instead of everything
happening before the form is loaded, is there a way I could make the form
first, then just start processing everything, so that my messages I send to
memo1 show up as it's processing? I'm guessing I need to move my p
Il 03/11/2018 23:16, James ha scritto:
It’s not a snippet, that’s the entire thing. It’s pretty simple,
just a sequential set of events to fix a file. It would be a great
help if you could get me an example of how to make this work.
The simplest thing you can do is just to transform your app
El 4/11/18 a les 17:29, James ha escrit:
I used System.Assign and now I have my program working in Lazarus, I am
exploring both options of making it a real windows application with Lazarus and
a console program that can launch save-as.
The Lazarus version is mostly working in Lazarus, but ins
On Sun, 4 Nov 2018 11:29:23 -0500, "James"
wrote:
>The Lazarus version is mostly working in Lazarus, but instead of everything
>happening before the form is loaded, is there a way I could make the form
>first, then just start processing everything, so that my messages I send to
> memo1 show up
Is there, any change, to use relative paths inside fpc.cfg?
I have several Lazarus copies, in different paths, and I would like to
use the same fpc.cfg on all of them.
I've tried to use relative paths and macros but it hasn't worked.
best regards,
Marcos Douglas
__
Program TestGetSaveFileNameA;
Uses windows, commdlg;
Var
TFilename : TOpenFileNameA;
ret: array[0..100] of char;
Begin
Writeln('Start');
fillchar(TFileName, sizeof(TFileName), 0);
TFileName.lStructSize:=sizeof(TFileName);
TFileName.hwndOw
I used System.Assign and now I have my program working in Lazarus, I am
exploring both options of making it a real windows application with Lazarus and
a console program that can launch save-as.
The Lazarus version is mostly working in Lazarus, but instead of everything
happening before the fo
This is very interesting, thank you for the code on how to define the
GetSaveFileNameA function. I wrote a sample program to get it to work, but I
think I have some syntax wrong, or maybe I'm not initializing something
correctly. It compiles ok, but it doesn't execute even my writeln's, I jus
On 11/03/2018 09:04 PM, James wrote:
> So my question is, how can I use Ifilesavedialog with just FreePascal in
> a console application?
First off, the IFileSaveDialog is an interface, not a simple function.
So, you'll need to:
- Include the right units from freepascal (ActiveX and comobj
Am Sa., 3. Nov. 2018, 23:56 hat Tomas Hajny geschrieben:
> On Sat, November 3, 2018 23:04, James wrote:
> > Thanks for the suggestion...
> >
> > I put my code in the OnCreate event as you suggested, but when I try to
> > compile it, I get wrong number of parameters specified for call to
> > Assig
15 matches
Mail list logo