| Anonymous | Login | Signup for a new account | 2013-06-20 06:31 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0021915 | Lazarus | LCL | public | 2012-05-02 09:33 | 2013-04-04 10:13 | ||||
| Reporter | ocean | ||||||||
| Assigned To | Bart Broersma | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | duplicate | ||||||
| Platform | Win32 | OS | OS Version | ||||||
| Product Version | 1.1 (SVN) | Product Build | |||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0021915: Loading icon problem | ||||||||
| Description | Tried Lazarus-1.1-37117-fpc-2.6.1-20120501-win32.exe Image1.Picture.Icon.Handle := LoadIcon(0, IDI_QUESTION); This doesn't work anymore? I get some resource not found exception. | ||||||||
| Tags | No tags attached. | ||||||||
| Fixed in Revision | |||||||||
| LazTarget | - | ||||||||
| Widgetset | Win32/Win64 | ||||||||
| Attached Files | |||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0059181) Reinier Olislagers (developer) 2012-05-02 10:14 |
Perhaps a small test project would help with repeating tests? |
|
(0059182) ocean (reporter) 2012-05-02 10:44 |
Works fine in 0.9.30.4 & 2.6.0. It's easy to test, just add Timage to form, that code and uses Windows; |
|
(0059183) Reinier Olislagers (developer) 2012-05-02 10:56 |
Instead of telling us that... why not just upload the project. It makes it much more repeatable. Attached project works for me. Compile, run, press button. Hope that is what you meant. Lazarus x86 windows, r37131, FPC fixes 2.6 Lazarus x64 windows, r37131, FPC trunk r21191 |
|
(0059184) Anton Kavalenka (reporter) 2012-05-02 11:15 |
Works fine in SVN trunk FPC + SVN trunk Lazarus |
|
(0059185) ocean (reporter) 2012-05-02 11:25 |
Yes and it works here too. Only difference is I had "uses Windows" first. uses Windows, Classes, SysUtils, ... Sample fails here. |
|
(0059290) ocean (reporter) 2012-05-06 07:44 |
Is there something I'm missing? Another similar problem, when I have moved Windows AFTER. This code compiles fine: uses Windows, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; var bmp: TBitmap; begin bmp:=TBitmap.create; end; This fails to compile: uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, Windows; var bmp: TBitmap; begin bmp:=TBitmap.create; end; unit1.pas(35,15) Error: identifier idents no member "create" unit1.pas(35,15) Fatal: Syntax error, ";" expected but "identifier CREATE" found |
|
(0059300) Bart Broersma (developer) 2012-05-06 13:11 |
TBitMap now points to Windows.TBitMap. Please ask questions on the forum or mailinglist. |
|
(0059328) goldenfox (reporter) 2012-05-07 04:26 |
Works fine here too even without modifying the attached source code. Laz IDE SVN 37206 FPC 2.7.1 SVN 21248 Windows 7 Ultimate 32bit |
|
(0059331) ocean (reporter) 2012-05-07 07:29 |
Well it certanly does not work here. Try my attachment. See also attached screenshot of the error. SVN 37117, FPC 2.6.1 |
|
(0066792) Bart Broersma (developer) 2013-04-04 00:46 |
Please continue in 0024222 and close this one. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-05-02 09:33 | ocean | New Issue | |
| 2012-05-02 09:33 | ocean | Widgetset | => Win32/Win64 |
| 2012-05-02 10:14 | Reinier Olislagers | Note Added: 0059181 | |
| 2012-05-02 10:44 | ocean | Note Added: 0059182 | |
| 2012-05-02 10:53 | Reinier Olislagers | File Added: bug21915.zip | |
| 2012-05-02 10:56 | Reinier Olislagers | Note Added: 0059183 | |
| 2012-05-02 11:15 | Anton Kavalenka | Note Added: 0059184 | |
| 2012-05-02 11:25 | ocean | Note Added: 0059185 | |
| 2012-05-06 07:44 | ocean | Note Added: 0059290 | |
| 2012-05-06 13:11 | Bart Broersma | Note Added: 0059300 | |
| 2012-05-07 04:26 | goldenfox | Note Added: 0059328 | |
| 2012-05-07 07:27 | ocean | File Added: Bug21915_2.zip | |
| 2012-05-07 07:28 | ocean | File Added: Errormessage.jpg | |
| 2012-05-07 07:29 | ocean | Note Added: 0059331 | |
| 2013-04-04 00:46 | Bart Broersma | LazTarget | => - |
| 2013-04-04 00:46 | Bart Broersma | Note Added: 0066792 | |
| 2013-04-04 00:46 | Bart Broersma | Relationship added | duplicate of 0024222 |
| 2013-04-04 00:46 | Bart Broersma | Status | new => resolved |
| 2013-04-04 00:46 | Bart Broersma | Resolution | open => duplicate |
| 2013-04-04 00:46 | Bart Broersma | Assigned To | => Bart Broersma |
| 2013-04-04 10:13 | ocean | Status | resolved => closed |
| Main | My View | View Issues | Change Log | Roadmap |



