* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
General / Re: CT slope
« Last post by sam707 on Today at 02:02:42 am »
dear @Juha, some of my old soft were never be 'cracked'. "You do not need license(s) were common sense is King" is a good saying, I guess

I am actually trying to make a soft that I will give to the lazarus with no restriction (that is my choice for it), BUT, when I work on commercial products (in cases) I do not want to be copied I think I have some 'weapons' under the bones of my skull (encryption, serial codes, machine BIOS (graphcard or mboard) serials pick, etc etc etc)

That's why, to me, the Jon affair was of no interest = when you want to protect your ass, you always can! now if you give something, dont blame idiots putting their crapy names and appropriate.. it's just not fair, and I wanted to tell that I don't do that! That's not 'moral' to my own common sense
2
General / Re: Help with Property/Component editors
« Last post by PatBayford on Today at 01:37:48 am »
May be simplest to share compilable code that reliably produces the invalid typecast.
Hopefully someone can successfully debug it, post correct code and explain how they went about it. It's hard to give that explanation in the abstract.
Will have to give that some thought howard - fortunately, the need is not urgent
3
Third party / Re: Lazarus apps showcase website
« Last post by taazz on Today at 01:15:10 am »
4
Graphics / Re: Graphics Contest 2017, please vote now!
« Last post by Akira1364 on Today at 12:51:09 am »
This is very strange! Is it possible that the compiler is referring to the Width and Height properties of TRect, and not TBGRABitmap? What version of FPC are you using? Also, when you right-click on the TRect part of the variable declaration "Rect: TRect" (at line 722 of my most recent upload) and choose "find declaration of TRect", which file exactly are you brought to?

Additionally, what happens if you change the variable name "Rect" to "ARect"? (Make sure you change it in all the places it occurs in the overall UpdateButtonImage procedure, obviously.) This is what I would probably have called it from the outset had I originally written the method myself, as there is of course an RTL method also called Rect that returns a TRect. (And in my experience variables that have the same name as methods that are visible to the unit they're declared in are almost always bad news bears.) It's not unlikely that the naming conflict could be at least part of your issue...
5
Graphics / Re: Graphics Contest 2017, please vote now!
« Last post by J-G on Today at 12:41:45 am »
Here's a direct link to my original post:
Thanks - that make life so much easier  -  well so I thought :)

I first deleted all the old files, then extracted the new  -  only to find that the 'new' .zip was only 3 files; frmMain.ifm & .pas plus uniGraphics.pas. The other 4 files were recovered from the [bin] and - - - - -  compile fails again for no identifier idents to member "width" and "height".

At least I no longer have hints about duplicates though!
6
General / Re: An optimisation level better =0 hangs computer.
« Last post by han on Today at 12:39:41 am »
Thanks for the hints. I will try them tomorrow. The 40.000 lines astronomy freeware application has a long history and  uses a lot of complicated math and string & data manipulations. A part of the code is published.  A small part are third party copyrighted routines.

I noticed compiling seems to run out of control at the same phase as visible in the three screenshots. I will investigate if I can tweak sometihing to fix it. I will also try going back to older compilers and code.

The weirdest thing that is seems to behave randomly. Sometimes it compiles sometimes not in Linux. At least the operating system stays now functional in a Linux virtual machine and I386 allowing some experiments and more testing. In win64 is just crashes the operating system.
7
General / Re: Help with Property/Component editors
« Last post by howardpc on Today at 12:31:13 am »
May be simplest to share compilable code that reliably produces the invalid typecast.
Hopefully someone can successfully debug it, post correct code and explain how they went about it. It's hard to give that explanation in the abstract.
8
General / Re: Help with Property/Component editors
« Last post by PatBayford on Today at 12:13:22 am »
So far so good, however, I now have an "Invalid type cast" error when the editors/s are invoked. How do I get to debug the editors? The instructions in the article are so vague as to be useless!
Thanking you all in advance  :)
9
General / Re: JCF problems with BitPacked records..
« Last post by Leledumbo on August 20, 2017, 11:58:30 pm »
JCF parser cannot handle a lot of FPC specific syntax yet, bitpacked is one of them (generics is another). Temporarily use packed record and restore to bitpacked after formatting.
10
Unix / Re: Interactive Tprocess?
« Last post by Leledumbo on August 20, 2017, 11:55:05 pm »
Tprocess seems simple enough; but how do I answer the prompt questions?
The same way you read output from it, only use different property (input) and method (write). Don't forget to append a newline as that's what most prompt expects (Python's `input()` included) before releasing control back to the application.
Pages: [1] 2 3 ... 10

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus