* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
Options / Re: How to set up project with multiple cross compilers?
« Last post by jshah on Today at 03:24:22 pm »
It is very easy with fpcupdeluxe

https://github.com/newpascal/fpcupdeluxe/releases

I am using it to crosscomplie from Linux -> Win64
2
General / Re: [Solved] How to store data in Helper class
« Last post by jshah on Today at 03:16:51 pm »
Simple class not working for me.

So Now I  extended the existing control and add procedure  etc to it
and follow the @rvk Hack to create clone declaration of control for now it is working.

This give me BOTH the design time help for layout of control and customization also.
3
Third party / Re: Online Package Manager
« Last post by GetMem on Today at 02:51:58 pm »
Unfortunately I'm out of ideas, but I will run a few tests later with Lazarus/FPC trunk. Hopefully the issue is reproducible at my side too.
4
Third party / Re: Online Package Manager
« Last post by mercurhyo on Today at 02:41:41 pm »
well I tried also with FPC and LAZ fixes branches (FPC3.2 and Laz 2.0RC1), I had the same troubles
the video I shared above shows the about box, win32/64 IDE32 bits on Windows 7 64bits, and actually TRUNK versions of both FPK and LAZ

I took a look at @lainz packages organization (_master' packages, fpgui, customdrawn derivatives, all that) I really have no clue why BGRABitmap full install and BGRAControls install are mutually exclusive
5
Third party / Re: Online Package Manager
« Last post by GetMem on Today at 02:31:31 pm »
It's working fine on my system. I installed both package(BGRABitmaps,  BGRAControls) + BGRAControlsFX. Perhaps the author of BGRAControlsFX(@lainz) has a better idea why the component fails to install at your side. Maybe is related to FPC 3.1.1?
6
Mac OS X / FileManager
« Last post by Gilles on Today at 02:30:48 pm »
Hello

Je n'y arrive pas. It is so difficult to learn a new langage (objective P) and new routines …
I need a model.

This is a simple program I use to read a string from a file, starting at L_beg and having x_cnt characters.
It would be marvellous if somebody could translate it in a new form of langage. Just a model to understand how it works (just a procedure doing the same thing) :

Code: Pascal  [Select]
  1. function f_ReadStringFromACloseFile (xx_ref: FSRef;
  2.                                      L_beg: SInt64; x_cnt: SInt16; var S: string): OSErr;
  3.     var
  4.         xx_dfn: HFSUniStr255;
  5.         xx_fkp: FSForkIOParam;
  6.         xErr, yErr: OSErr;
  7.         x_rfn: FSIORefNum;
  8. begin
  9.     S := '';
  10.  
  11.     xErr := FSGetDataForkName(xx_dfn);
  12.  
  13.      if xErr = noErr then
  14.         xErr := FSOpenFork(xx_ref, xx_dfn.length, @xx_dfn.unicode, fsRdPerm, x_rfn);
  15.  
  16.     if xErr = noErr then
  17.     begin
  18.         xx_fkp.forkRefNum := x_rfn;
  19.         xx_fkp.buffer := @S;
  20.         xx_fkp.requestCount := x_cnt + 1;
  21.         xx_fkp.positionMode := noCacheMask + fsFromStart;
  22.         xx_fkp.positionOffset := L_beg;
  23.  
  24.         xErr := PBReadForkSync(xx_fkp);
  25.         yErr := FSCloseFork(x_rfn);
  26.  
  27.         if xErr = noErr then
  28.             xErr := yErr
  29.     end;
  30.  
  31.     f_ReadStringFromACloseFile := xErr
  32. end;
  33.  
7
Third party / Re: Online Package Manager
« Last post by mercurhyo on Today at 02:25:10 pm »
SO at the moment, either you use BGRAbitmaps, either BGRAControls, you can't use both
8
Third party / Re: Online Package Manager
« Last post by mercurhyo on Today at 02:23:42 pm »
It is for now useless to me, as I said... I just wanted to point out this problem I randomly found out, in case it bothers other users
Regards
9
Third party / Re: Online Package Manager
« Last post by mercurhyo on Today at 02:22:14 pm »
Quote
no sorry, this summons around 25 FATALS
1st fatal is "unable to find file fxbutton.pas" something
What about uninstalling BGRAControlsFX? At least temporarily.
I did already try that =>
installing bgracontrols ONLY (no FX) requires a partial insall of bgrabitmaps
THEN if you install totally bgrabitmaps the problem is the same, IT HANGS
10
Third party / Re: Online Package Manager
« Last post by mercurhyo on Today at 02:20:19 pm »
At the moment I do not need BGRA inside my projects...
I just found out the problem randomly, and wanted to point it here
1) If you intsall bgrabitmaps, it works
2) if you inslall bgracontrols, it works (installing partially bgrabitmaps)

BUT
IF you then install totally, it HANGS
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