Jump to content

alogrep

Members
  • Content Count

    192
  • Joined

  • Last visited

Everything posted by alogrep

  1. I hope I am not becoming a nuissance, but it works ONLY PARTIALLY. The images are shown. But running an app with an image picture(Tpngoject), as shown the objecti Ispector, and trying to resize the image, the picture.graphic is shown as NIL on inspection. . and the resizing function crashes. I use this with image1 do PngSmoothResizeit(Tpngobject(picture.graphic),width-1,height-1); which works fine in oder delphi. (PngSmoothResizeit is takn from the original functions for tpngobject). Why is picture.graphic = NIL, if the image is shown? What is whown, if there is no graphic?
  2. It works fine , tank you!!
  3. Hello Uwe, I hope I am not abusing your patience. I found this behaviour, perheaps you can give me a clue as to what is wrong or at least a hint for a workaround. Start the IDE, open a unit with old png (tpngobject): the images are not shown. I close this unit. I open a dummy unit that has only this component in it: TPngImageCollection. Then I re-open the unit with the old png's and MAGICALLY the iomages are shown. Any idea? Thanks very much.
  4. Could this be related to Windows 10 Home 64-bit (My OS)?
  5. I re-installed the pngcomponents. I build it and Installed. The old pngs show OK. I close the IDE, re-start it, and they do not show at all. What happens when I cose the IDE? What is that "disappears" at closing th e IDE? It is beyond my comprehension. Hese are the files created when instaling the packages: Directory of C:\hmxe\pngcomp\packagessydney\Win32\Release 25/10/2021 04:36 p. m. <DIR> . 25/10/2021 04:36 p. m. <DIR> .. 25/10/2021 04:36 p. m. 15,739 PngBitBtn.dcu 25/10/2021 04:36 p. m. 2,156 PngButtonFunctions.dcu 25/10/2021 04:36 p. m. 10,046 PngCheckListBox.dcu 25/10/2021 04:36 p. m. 14,954 PngComponentEditors.dcu 25/10/2021 04:36 p. m. 1,990 PngComponentsRegister.dcu 25/10/2021 04:36 p. m. 12,207 PngFunctions.dcu 25/10/2021 04:36 p. m. 42,691 PngImageList.dcu 25/10/2021 04:36 p. m. 40,318 PngImageListEditor.dcu 25/10/2021 04:36 p. m. 8,050 PngSpeedButton.dcu Directory of C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl 25/10/2021 04:36 p. m. 103,424 PngComponents270.bpl 25/10/2021 04:36 p. m. 121,344 PngComponentsDesign270.bpl 2 File(s) 224,768 bytes Directory of C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\Win64 25/10/2021 04:33 p. m. 147,968 PngComponents270.bpl
  6. HelloUwe. Sorry again. But something weird happens: all works fine, UNTIL I exit Delphi Id and re-start it. At restart the images are not shown anymore. I define RegisterOldPngFormat in both runtime and design packages (in the release configuration). I work on a PC win64. For the runtime package (pngcompnents) I put target platform 64bit.. Build the 2 components creates the bpl's whown in the attached image. What's happening? why it workds if i stay in the IDE, but it does not work anylonger when i re-starte it? I appreciate very much your patient help.
  7. Thanks very much again! That was it (although I did not do it myself the first time around, or at least I do not remember doing it).
  8. alogrep

    Use old glyph with tpngobject in 10.4?

    Hello Uwe. I am in trouble again. I left my project for a couple of months, and now again have the same problem: The design components show in insstalled packages, but the unit with tpngobject images do now show the image. I uninstalled the package., I re-installed PngComponentsDesign.dpk from the sydney folder. I also re-named pngcomponents\pngobject to make sure it does not interfere in any way. But the (content of the) images are not not shown.
  9. alogrep

    Use old glyph with tpngobject in 10.4?

    Sorry, it workds fine!. I think the error was that I had put in the library pngcomponents\PngObject\ (the newly installed package). I removed it and all is ok. Thank you very much
  10. alogrep

    Use old glyph with tpngobject in 10.4?

    Thanks Uwe. But still cannot have the glyph png image shown. I built and installed ok PngComponentsDesign.dpk (it shows in install packages. see attached image). I built PngComponents.dpk. But a form with components using a png image does not show the image (in my older delphi they show ok). Any hint as to what else should I do?
  11. alogrep

    Use old glyph with tpngobject in 10.4?

    Than you Uwe. How do I install it? I dowloaded PackagesSydney and trying to build PngComponentsDesign I get a list of errores Tpngimagelist .... not found. If I try to build PngComponents I get the error "...source\PngSpeedButton not found" not found.
  12. Hello. Delphi Sydney. I have a form,created once at application start. The form contains const UM_ACTIVATED = WM_USER+1; (I also tried WM_APP) .... private procedure UMActivated(var Message: TMessage); message UM_ACTIVATED; ... FormActivate(Sender: Tobject); ... postMessage(Handle, UM_ACTIVATED, 0, 0); procedure UMActivated only sets some variables; When the form is shown modal and then hidden (deactivated?) by Modalresult=MrOk, a subsequent showmessaage() call restarts the FormActivate of the form. If I remove the postmessage(), everything works ok. Any sugestion on how to avoid this? In previous versions (non XE) this did not happen. Thanks in advance
  13. I found out why. I had the showmodal of the second form inside Formactivate of the first form. I used a postmessage() in the Formactivate to open the 2nd form and that eliminated the problem. I guess with the XE Delphi if the form activation was not completed, the screen.activeforms list was not restored to the 1st form because it had not been activated completely yet (the postmessage makes the 2nd form opening happen when the 1st form has completed its activation).
  14. alogrep

    BDE for 10.4?

    Hi Is the BDE avaialble for version 10.4? If yes, where could I download it?
  15. alogrep

    10.4 Could not compile dbgrids

    Hi I get the error in 10.4 (I was not getting in 10.2). I put "Vcl.dbgrids" in Unit scope name, but it did not solve the problem. Anybody knows what else am I missing? Thanks
  16. alogrep

    BDE for 10.4?

    Never mind. I only needed it for some error code constants used with the the nexusdb errror codes. I replaced them with their correspondent numeric values.
  17. alogrep

    10.4 Could not compile dbgrids

    emailx45. ref delete .dproj That seems to work. I did it with a package and it fixed it. Thanks. But now I am stuck with the absence of BDE for 10.4.
  18. alogrep

    10.4 Could not compile dbgrids

    David, yes. But I do have "use compiled dcu's" checked. I have no idea why the the bds is trying to compile that unit
  19. alogrep

    10.4 Could not compile dbgrids

    If I start a fresh vcl app, and add a dbgrid to the unit, it compiles fine. I suppose then it cannot besomething in the Tools-Language-Delphi->Library which is common to all projects. What else could it bewrong in this specific project?
  20. alogrep

    10.4 Could not compile dbgrids

    David Hefferman, The error is only one line (above it only hints and a warning) [dcc32 Fatal Error] .. F2063 Could not compile used unit "dbgrids.pas"
  21. Hi. Where is the tools->library->search path stored? Is it possible to examine it outside the IDE (mine does not start)?
  22. I guess this is the problem then: mising libary entries in my registry.
  23. Thanks. But registry (windows 7) does not have the "library" entry. In any case I want to examin the FILE where the library information si stored. The file, not the registry. If at least someone knows the file name, i can look for it.
  24. I have a strange problem (I never heard such thing). Suddenly, clicking bin\dbs.exe does not launch he IDE, instead a short sound like a gentle hammering comes up. Anybody can help with this?
  25. I ran Dependency Walker and it shows "Cannot find the section that owns the Delay Import DLL Name" for bds.exe. Any help?
×