Jump to content

alogrep

Members
  • Content Count

    173
  • Joined

  • Last visited

Everything posted by alogrep

  1. 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"
  2. Hi. Where is the tools->library->search path stored? Is it possible to examine it outside the IDE (mine does not start)?
  3. I guess this is the problem then: mising libary entries in my registry.
  4. 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.
  5. 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?
  6. I ran Dependency Walker and it shows "Cannot find the section that owns the Delay Import DLL Name" for bds.exe. Any help?
  7. Hi. I did something really stuypid. A few months ago I installed this extension. Now I want to remove it but I cannot recall where I wrote the instructions to do it. I remember that one of the installation steps was to back up the original exceptiondiag250.dbg and then rename exceptiondiag250.jdbg to exceptiondiag250.dbg. But I seem to recall there were other steps involved. Does anybody know the name of this extension so I can download it again and read the instructions?
  8. Hi everybody. Happy New Year. Suddenly selecting Call Stack on en error, the window does not show the unit souce lines , but it shows the CPU . I read in a post that to avoid this I should un-check the "Use debug dcu's. I did that but it did not solved the problem. What shoud I do do see the unit line where the error happens? Thanks
  9. alogrep

    Call stack does not show source unit code

    Thanks everybody, but none of the suggestions worked. I noticed I had in project source Vcl.thmes and Vcl.Styles. I eliminated "Vcl" from them and now I can see my unit source line that cause the error.
  10. alogrep

    Call stack does not show source unit code

    Happy New Year. I check debug.dcus. I rebuilt. I checked the library path and also the OS path. No success. I wonder why the call stack stops on the Vcl.Forms unit which is in tokyo\source\vcl directory when this path is not in the delphi library path nor in the OS path, but it does not show my own unit (a database module) that causes the error (this is in a path defined in the Tools->library).
  11. Hi. Delphi Tokyo. I get thie compiler message [dcc32 Error] PngImageList.pas(385): E2010 Incompatible types: 'Vcl.Imaging.pngimage.TPngImage' and 'Vcl.Imaging.pngimage.TPngImage' I can't figure out what it means and how to go about fixing it. Anybody please can help?
  12. alogrep

    Error E2010 incompatile types are same types

    Thanks everybody. I had to re-create the project dpr from scratch. It is not th first time. There are too many things somewhat hidden in too many places . I can't see any difference in the paths now (at least where I can find them defined) from before. Howevber, it works
  13. Hi. I have a program that creates a thread for each request. Some functions in the thread are involving printing to the standard Printer. If I do Printer.Canvas.lock; Printer.BeginDoc .... .... Printer.Enddoc; Printer.Canvas.unlock; Would it be thread safe?
  14. alogrep

    Error E2010 incompatile types are same types

    Unfortunately I had not taken note of that. But know the whole Delphi is gone bananas. I build and install a Package but it does not show in the pallete. I get all kinds of other error. Like "cannot complie used unit printers". I need to keep the source code compatible with XE+ and before XE. So I cannot put Vcl.printers (or otherwoise the non XE compiler would not work)
  15. alogrep

    Error E2010 incompatile types are same types

    No. It's a huge project and I can't compile it. It used to compile fine .
  16. Hi, I have a component with is derived from the Tcomponent class and is basically a table with cells. Each cells contains a text, a Tcolor and a TObject (which is always a TObject(integer). Randomly I an AV error and when I check on the component, the component is NIL. I cannot trace back to where/what overwrote the memory. Madexcept does not catch the AV even with the buffer overrun checked. My endless Google search shows me lots of memory LEAKS but very little on memory overwrite. Anybody knows of a good tool that would help catch the overwrite excacly where and when it happens? Thanks
  17. alogrep

    My custom component becomes NI>

    Thanks Remy. The tables are created, populated and freed dynamically. Te component class is Tslim. Then according to what I need I do table1:=Tslim.Create; table2:=Tslim.create etc. Is it possible to put a databreakpoint on a class as opposed to a variable? How?
  18. alogrep

    My custom component becomes NI>

    Uhm. The error happened, but Fastmm4 tells me all about memory leaks, nothing about memory overwrite. It shows a complete list of allocations for the table cells, and all allocations are shown as memory leaks because the table is somehow overwritten (and becomes NIL), and therefore the Destructor is not called. It gives me no clue as to what function exactly overwrite the table.
  19. alogrep

    My custom component becomes NI>

    Thanks. Waiting for the error to occur, to see if fastmm catches it.
  20. HI. I have searched for 2 days without success. This is what I am experiencing. Say I gave 2 projects c:\projects'\Project1 and c:\projects\Project2. Now if I open Project1 and then i do Reopen and Selected Project2, When I click Open (in the IDE) it shows the files listed in the folder Project1, no the folder of Project2. Inmy search I came across a couple of "weird" (to me) stuff on windows 7 that changed the lpstrInitialDir and related stuff. However, I have D5 and 10.2 installed on Windows 7, and D5 installed in W10. In W10 Open after Reopen works as it always did (shows the files in the folder where the REOPENed Project resides. But in W7 both d5 and D10.2 it always keeps showing the files in the folder where the last file was opened (even if it is not the folder Project1 nor Project 2). There must be a trick for forcing D5 and D10.2 to work as D5 works in W#10. Anybody any idea?
  21. Thanks, Lars. But I did install and re-install many many times in the past for 10.2, for other problems, and nothing changed until I found my own solution. I am sure there must be something simple and fast. The point is that "Reopen" menu item down not work the same as "Open". The latter changes the system "last opened directory" and hence all subsequent Open file operation will show the files in that directory, while Reopen sees to open the file but does not change the directory I can't figure how Reopen opens a file without accessing the directory where it resides.
  22. 10.2is Tokyo. I know neither 102 or even less d5 have changed in the last 2 months. Something Must have changed on my PC, maybe a registry cleaning program , maybe some other stuff. The way it always worked (D5, with 10.2 I could never set it his way) is: Open file yes worksdas you say. But then you do Reopen, and open another PROJECT, and the subsequent open would show the files that reside in the folder where the Project reside. Now it will always show the folder last opened with Open (not Reopen).
  23. Thanks Eivind. But since you named your trick #1, pass me #2, and possibly #3 as well. Jokes aside, that is not a solution for a very simple reason (aside form any compelling reason that, for now at least. forces me to have a w10 PC and a w7 PC): it may not be a solution at all. In w7 all worked ok until 2 months ago, then the weird behaviour. That suggests to me that something changed somewhere, and that may change in W10 a swell. In W7 or in Delphi? I do not know. But I would like to know WHAT causes the behavior so I can reset it to the desired value. Because I am not sure that that inadvertent change will not happen in W10 as well in the future and I would be back to the same undesired situation.
×