* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
Third party / Re: Online Package Manager
« Last post by Rayvenhaus on Today at 02:47:24 pm »
Ok, just upgraded to latest version, Lazarus 1.5.4 and FPC 3.0.2 and I still get the same error when compiling OpMan.  Where do I find the missing package needed to compile OpMan?
2
General / Re: Constant codepage problems
« Last post by Mr.Madguy on Today at 02:37:37 pm »
Code: Pascal  [Select]
  1. {$mode delphiunicode}
That's needed because the string default then changes to unicodestring, which is not the case in {$mode objfpc}
Alternatively you can declare all current strings as unicodestring instead of string.

Your code does not rely on Lazarus libraries and it works as you expect with either of these changes.
Nothing has changed. Still hieroglyphs without UTF8Decode and ???????? with it. I had similar problem in another project (reading data from registry) and I solved it via using WinCPToUTF8/UTF8ToWinCP there, but, as I understand, these routines require LazUTF8 and I can't include it - compiler doesn't find it (I guess, cuz it's non-LCL application).
3
Graphics / Re: Fast hardware image blur
« Last post by simin_sh on Today at 02:35:42 pm »
Thank you so much Circular, yes its now okay when I use version 130 for GLSL.
I did not use GLSL 120 because it gave me the following error in the SS attached.

Now I need to try implement horizontal and vertical shaders in one shader, and then need to test other blurs like fast blur in GLSL, to have the blurs in lazpaint, which are a bit more soft and beautiful, I need to check them out.

Regards
4
Linux / Re: Writing desktop-enviroinment in Lazarus
« Last post by tr_escape on Today at 02:19:32 pm »
Actually this thread is an old but I never heard about window manager created by fpc.

Also I tried this project with Xnest and Xephyr with my linux expert colleuge , it is worked but only created empty windows.

Note: This experiment worked with Linux Mint in Virtual Box.
5
General / Re: Vote for FPC in the SF.NET project of the month!.
« Last post by dogriz on Today at 02:17:46 pm »
Voted :)
6
General / Re: My New Project Lazarus REST/JSON Server/Client
« Last post by XyberX on Today at 02:17:41 pm »
 Created request send and receive class that will be used for REST Dataware, thus removing idHTTP from the sample Form and using the new class for Returns.
  In SVN it is already updated ...
7
General / Re: Constant codepage problems
« Last post by Thaddy on Today at 02:16:32 pm »
Code: Pascal  [Select]
  1. {$mode delphiunicode}
That's needed because the string default then changes to unicodestring, which is not the case in {$mode objfpc}
Alternatively you can declare all current strings as unicodestring instead of string.

Your code does not rely on Lazarus libraries and it works as you expect with either of these changes.
8
Third party / Re: Online Package Manager
« Last post by Thaddy on Today at 02:14:35 pm »
You are using unsupported versions: Laz is at 1.6.4 and fpc is at 3.0.2.
9
FPC development / Re: Strange Bug: Restoring minimized Progs closes them
« Last post by Pascal on Today at 01:57:32 pm »
This is the stack trace at OnClose:

Code: Text  [Select]
  1. #0 TFORM1__FORMCLOSE(0x28402c8, CAFREE, <error reading variable>) at unit1.pas:33
  2. #1 TCUSTOMFORM__DOCLOSE(CAFREE, <error reading variable>) at .\include\customform.inc:966
  3. #2 TCUSTOMFORM__CLOSE(<error reading variable>) at .\include\customform.inc:2212
  4. #3 TCUSTOMFORM__WMCLOSEQUERY({MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}, <error reading variable>) at .\include\customform.inc:2292
  5. #4 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal at :0
  6. #5 VMT_$FORMS_$$_TCUSTOMFORM at :0
  7. #6 ?? at :0
  8. #7 TWINCONTROL__WNDPROC({MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}, <error reading variable>) at .\include\wincontrol.inc:5395
  9. #8 TCUSTOMFORM__WNDPROC({MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}, <error reading variable>) at .\include\customform.inc:1474
  10. #9 DELIVERMESSAGE(0x28402c8, <error reading variable: Attempt to dereference a generic pointer.>) at lclmessageglue.pas:112
  11. #10 TWINDOWPROCHELPER__DOWINDOWPROC(<error reading variable>) at .\win32\win32callback.inc:2499
  12. #11 WINDOWPROC(4918112, 16, 0, 0) at .\win32\win32callback.inc:2672
  13. #12 CUSTOMFORMWNDPROC(4918112, 16, 0, 0) at .\win32\win32wsforms.pp:386
  14. #13 USER32!SetManipulationInputTarget at :0
  15. #14 USER32!DispatchMessageW at :0
  16. #15 USER32!EndTask at :0
  17. #16 ADJUSTFORMBOUNDS(0x27dd360, <error reading variable: Cannot access memory at address 0x60f1db5b>) at .\win32\win32wsforms.pp:305
  18. #17 USER32!SendMessageA at :0
  19. #18 TWINDOWPROCHELPER__DOWINDOWPROC(<error reading variable>) at .\win32\win32callback.inc:2023
  20. #19 WINDOWPROC(3213574, 19, 0, 0) at .\win32\win32callback.inc:2672
  21. #20 USER32!SetManipulationInputTarget at :0
  22. #21 USER32!DispatchMessageW at :0
  23. #22 USER32!DispatchMessageW at :0
  24. #23 USER32!MsgWaitForMultipleObjectsEx at :0
  25. #24 ntdll!KiUserCallbackDispatcher at :0
  26. #25 ?? at :0
  27. #26 USER32!SetRect at :0
  28. #27 UxTheme!OpenThemeData at :0
  29. #28 UxTheme!GetThemeBool at :0
  30. #29 USER32!DispatchMessageW at :0
  31. #30 TWINDOWPROCHELPER__DOSYSCMDRESTORE(<error reading variable>) at .\win32\win32callback.inc:1007
  32. #31 TWINDOWPROCHELPER__HANDLESYSCOMMAND(<error reading variable>) at .\win32\win32callback.inc:1043
  33. #32 TWINDOWPROCHELPER__DOWINDOWPROC(<error reading variable>) at .\win32\win32callback.inc:2318
  34. #33 WINDOWPROC(3213574, 274, 61728, 0) at .\win32\win32callback.inc:2672
  35. #34 USER32!SetManipulationInputTarget at :0
  36. #35 USER32!DispatchMessageW at :0
  37. #36 USER32!DispatchMessageW at :0
  38. #37 USER32!DispatchMessageW at :0
  39. #38 TWIN32WIDGETSET__APPPROCESSMESSAGES(<error reading variable>) at .\win32\win32object.inc:407
  40. #39 TAPPLICATION__HANDLEMESSAGE(<error reading variable>) at .\include\application.inc:1286
  41. #40 TAPPLICATION__RUNLOOP(<error reading variable>) at .\include\application.inc:1424
  42. #41 TWIDGETSET__APPRUN(0x422f80 <TAPPLICATION__RUNLOOP>, <error reading variable>) at .\include\interfacebase.inc:54
  43. #42 TAPPLICATION__RUN(<error reading variable>) at .\include\application.inc:1412
  44. #43 main at C:\Users\RIEKEN~1\AppData\Local\Temp\X-Lazarus\project1.lpr:19
  45.  

OnClose is fired a second time:
Code: Text  [Select]
  1. #0 TFORM1__FORMCLOSE(0x28402c8, CAFREE, <error reading variable>) at unit1.pas:33
  2. #1 TCUSTOMFORM__DOCLOSE(CAFREE, <error reading variable>) at .\include\customform.inc:966
  3. #2 TCUSTOMFORM__CLOSE(<error reading variable>) at .\include\customform.inc:2212
  4. #3 TCUSTOMFORM__WMCLOSEQUERY({MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}, <error reading variable>) at .\include\customform.inc:2292
  5. #4 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal at :0
  6. #5 VMT_$FORMS_$$_TCUSTOMFORM at :0
  7. #6 ?? at :0
  8. #7 TWINCONTROL__WNDPROC({MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}, <error reading variable>) at .\include\wincontrol.inc:5395
  9. #8 TCUSTOMFORM__WNDPROC({MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}, <error reading variable>) at .\include\customform.inc:1474
  10. #9 DELIVERMESSAGE(0x28402c8, <error reading variable: Attempt to dereference a generic pointer.>) at lclmessageglue.pas:112
  11. #10 TWINDOWPROCHELPER__DOWINDOWPROC(<error reading variable>) at .\win32\win32callback.inc:2499
  12. #11 WINDOWPROC(4918112, 16, 0, 0) at .\win32\win32callback.inc:2672
  13. #12 CUSTOMFORMWNDPROC(4918112, 16, 0, 0) at .\win32\win32wsforms.pp:386
  14. #13 USER32!SetManipulationInputTarget at :0
  15. #14 USER32!DispatchMessageW at :0
  16. #15 USER32!EndTask at :0
  17. #16 ADJUSTFORMBOUNDS(0x27dd480, <error reading variable: Cannot access memory at address 0x60f1d8db>) at .\win32\win32wsforms.pp:305
  18. #17 USER32!SendMessageA at :0
  19. #18 TWINDOWPROCHELPER__DOWINDOWPROC(<error reading variable>) at .\win32\win32callback.inc:2023
  20. #19 WINDOWPROC(3213574, 19, 0, 0) at .\win32\win32callback.inc:2672
  21. #20 USER32!SetManipulationInputTarget at :0
  22. #21 USER32!DispatchMessageW at :0
  23. #22 USER32!DispatchMessageW at :0
  24. #23 USER32!MsgWaitForMultipleObjectsEx at :0
  25. #24 ntdll!KiUserCallbackDispatcher at :0
  26. #25 ?? at :0
  27. #26 TWINDOWPROCHELPER__DOWINDOWPROC(<error reading variable>) at .\win32\win32callback.inc:2308
  28. #27 WINDOWPROC(4918112, 24, 1, 0) at .\win32\win32callback.inc:2672
  29. #28 CUSTOMFORMWNDPROC(4918112, 24, 1, 0) at .\win32\win32wsforms.pp:386
  30. #29 USER32!SetManipulationInputTarget at :0
  31. #30 USER32!DispatchMessageW at :0
  32. #31 USER32!DispatchMessageW at :0
  33. #32 USER32!MsgWaitForMultipleObjectsEx at :0
  34. #33 ntdll!KiUserCallbackDispatcher at :0
  35. #34 ?? at :0
  36. #35 TWINDOWPROCHELPER__HANDLESYSCOMMAND(<error reading variable>) at .\win32\win32callback.inc:1043
  37. #36 TWINDOWPROCHELPER__DOWINDOWPROC(<error reading variable>) at .\win32\win32callback.inc:2318
  38. #37 WINDOWPROC(3213574, 274, 61728, 0) at .\win32\win32callback.inc:2672
  39. #38 USER32!SetManipulationInputTarget at :0
  40. #39 USER32!DispatchMessageW at :0
  41. #40 USER32!DispatchMessageW at :0
  42. #41 USER32!DispatchMessageW at :0
  43. #42 TWIN32WIDGETSET__APPPROCESSMESSAGES(<error reading variable>) at .\win32\win32object.inc:407
  44. #43 TAPPLICATION__HANDLEMESSAGE(<error reading variable>) at .\include\application.inc:1286
  45. #44 TAPPLICATION__RUNLOOP(<error reading variable>) at .\include\application.inc:1424
  46. #45 TWIDGETSET__APPRUN(0x422f80 <TAPPLICATION__RUNLOOP>, <error reading variable>) at .\include\interfacebase.inc:54
  47. #46 TAPPLICATION__RUN(<error reading variable>) at .\include\application.inc:1412
  48. #47 main at C:\Users\RIEKEN~1\AppData\Local\Temp\X-Lazarus\project1.lpr:19
  49.  
10
FPC development / Strange Bug: Restoring minimized Progs closes them
« Last post by Pascal on Today at 01:46:05 pm »
I have a strange bug with lazarus trunk (54473) and FPC trunk (35650).
The IDE and other programs close when they are restored from minimized state.
WM_SHOWWINDOW also does WM_CLOSE.
When switching back to FPC 3.0.2 everything is okay again.
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