And since this is the first project ever posted on the internet, 
I checked what's inside its '.hbi' file:

---
[ PROPERTIES ]
Type              = Executable
Title             = debugmemory
Location          = C:/harbour/contrib/hbide/projects
WorkingFolder     = C:/harbour/contrib/hbide/projects
DestinationFolder = C:/harbour/contrib/hbide/projects
Output            = debugmemory
LaunchParams      = 
LaunchProgram     = 
BackupFolder      = 
 
[ FLAGS ]
-nohbcppmm

c:/harbour/contrib/hbxbp/hbxbp.hbc
-inc
-w3 -es2 -gc3
-Lc:\qt\2009.03\qt\lib
 
[ SOURCES ]
C:/harbour/contrib/hbide/projects/debugmemory.prg
C:/harbour/contrib/hbide/projects/debugstub.cpp
 
[ METADATA ]
---

Now, this won't work on most ppl's computer, especially 
not on non-Windows ones, since it contains hard-coded 
paths for all things. I don't understand why 'workingfolder' 
should be included at all, and why include 'location' 
which is supposed to be the directory where this file is 
_saved_ (and the dir pulled from the filename when opening 
it). DestinationFolder should be also a relative path to 
'location', in this case simple left empty. Output is 
-o option. etc.

This was one reason I insisted on .hbp files, which 
doesn't suffer of this problem. Also, instead of 
-Lc:\qt\2009.03\qt\lib, HB_WITH_QT should be set on 
users' PC and call it a day, but I keep saying it, and 
it keeps being ignored :(

Brgds,
Viktor


On 2010 Jan 31, at 21:57, Pritpal Bedi wrote:

> 
> Hi All
> 
> Here are the source and .hbi to investigate in deep
> what actually is causing increased memory scenario.
> 
> http://n2.nabble.com/file/n4491053/debugmemory.zip debugmemory.zip 
> 
> Download this .zip and unzip it in hbide/projects.
> Load it in hbIDE and rebuild. You must have Qt environment set.
> You may need to change Qt lib location in .hbi.
> 
> To have more traces, change HB_TR_DEBUG calls in QMessageBox.cpp
> to HB_TR_ALWAYS and build Qt.
> 
> Then Launch.
> 
> Kepp a watch on memory usage with every invocation of msg box.
> 
> -----
>                 enjoy hbIDEing...
>                    Pritpal Bedi 
> _a_student_of_software_analysis_&_design_
> -- 
> View this message in context: 
> http://n2.nabble.com/hbQT-c-stub-GC-Some-food-for-thoughts-tp4483724p4491053.html
> Sent from the harbour-devel mailing list archive at Nabble.com.
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to