Re: [fpc-pascal] Signing applications, how?

2024-08-13 Thread Elmar Haneke via fpc-pascal
I had the same problem and still have. Some of my customers require a trusted certificate from a well known CA. I called many Cas, but did not get a certificate. The reason is: I am a single entrepreneur running an engineering office – not a registered company. Certificates are not issued to pr

Re: [fpc-pascal] Signing applications, how?

2024-08-12 Thread Elmar Haneke via fpc-pascal
And now I am getting a request for "signing" the applications (and/or possibly the installers made by InnoSetup) and I have no idea on how to do this. Signing an FPC application can be done completely independent of FPC/Lazarus applying singntool (from Windows SDK) to compiled binary. InnoSet

Re: [fpc-pascal] opening a serial port in a dll called from dot net fails

2024-03-11 Thread Elmar Haneke via fpc-pascal
Presumably the problem is caused by calling your function from a different thread. Perhaps it is a solution to put the SerOpen in a thread created by FPC and signal that thread from your dot-net-called function. Am 09.03.24 um 16:24 schrieb Luca Olivetti via fpc-pascal: I'm writing a dll tha

Re: [fpc-pascal] Pointer question

2023-08-10 Thread Elmar Haneke via fpc-pascal
1) what does "i := x - x;" do and what is it's purpose and why doesn't "x + x" work the same? Subtracting pointers may be useful if they point to consecutive memory. The Result is the number of bytes between both addresses. Adding pointers is useless, you would get a pointer pointing to some

Re: [fpc-pascal] IRC channel for FreePascal support ?

2023-04-18 Thread Elmar Haneke via fpc-pascal
Just my comments on IRC-Channels. I did enter the rooms #fpc #lazarus #lazarus-ide #fpc-alt #fpc-dev just to see whats going on on these channels a few days before. I have been contaced by johanna via direct talk asking some questions i I'm able programming pascal, something like how to bring

Re: [fpc-pascal] bug or feature?

2022-02-14 Thread Elmar Haneke via fpc-pascal
This can't be right, can it? type TBird = class procedure Fly; end; TEagle = TBird; // alias procedure TEagle.Fly; begin end; It does depend on what you expect an Type-Alias to be. If you expect the compiler to generate an compatible class then your example must not be compi

Re: [fpc-pascal] Porting from Turbo Pascal to FPC

2020-04-30 Thread Elmar Haneke
Am 29.04.20 um 10:42 schrieb Francisco Glover via fpc-pascal: > Overt the years I have developed programs  in Turbo Pascal for student > lab use, in which the student can easily send to an attached printer > contents of the text or VGA graphics screens. These no longer work on > Windows 10.  In sh

Re: [fpc-pascal] Firebird vs. SQLite vs. PosgreSQL

2018-11-07 Thread Elmar Haneke
> I've read the Firebird webpage and installed it but I can't seem to > find documentation on how it compares to SQLite and PostgreSQL. My > high level understanding is that it sits somewhere it between but I'm > looking for more in depth comparisons on performance, data integrity > tests and mayb

Re: [fpc-pascal] Re: dll for C#

2011-11-28 Thread Elmar Haneke
And one other thing I forgot, it must support classes. You have to write an procedural wrapper around your class - each method gets an Procedure thar recieves the object as parameter and calls that object's method. These procedures are exported as stdcall as for an regular Windows DLL. In

Re: [fpc-pascal] Problem linking a Windows DLL

2011-09-08 Thread Elmar Haneke
> I have a plain Windows DLL made in Visual Studio C++ > and working with other C applications. Is there in addition an messagebox shown indicating an problem with C runtime? If so you probably need an Manifest file for your FPC application Elmar ___ f