FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Can we turn off FWDbg ? No .dll found !
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: Can we turn off FWDbg ? No .dll found !

Posted: Tue Jul 13, 2010 01:06 AM
Apart from the question how to turn on or off debug, one important point raised by Mr. Tim is to be answered.
I don't understand why it would even call a file that doesn't exist in the current build ( FWDbg.dll ).

I am using FWH borland. I do not have FWHDBG.DLL.
Then why should FWH libraries call a DLL which is not distributed? Or the distribution should include that DLL.
Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Can we turn off FWDbg ? No .dll found !

Posted: Tue Jul 13, 2010 02:56 AM

Rao,

The FWDBG.DLL is located in FWH\DLL folder. It contains the resources used by the FWH debugger.

If the DLL is getting loaded (or tried to be loaded) then it means that a linked OBJ has been compiled used /B.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: Can we turn off FWDbg ? No .dll found !

Posted: Tue Jul 13, 2010 04:09 AM
Mr. Antonio

This is the directory listing on my computer ( fwh 10.6 ).
Code (fw): Select all Collapse
 Volume in drive C has no label.
 Volume Serial Number is 82B7-57D9

 Directory of C:\FWH\dll

13-07-2010  09:34 AM    <DIR>          .
13-07-2010  09:34 AM    <DIR>          ..
13-07-2010  09:34 AM                 0 dir.txt
11-06-2010  07:54 AM             1,245 files.txt
11-06-2010  07:54 AM         2,084,864 freeimage.dll
11-06-2010  07:54 AM            61,440 prev32.dll
11-06-2010  07:54 AM            61,440 prev32sp.dll
11-06-2010  07:54 AM               365 rc2dll32.bat
11-06-2010  07:54 AM               340 screen32.c
11-06-2010  07:54 AM            46,080 screen32.dll
11-06-2010  07:54 AM             1,701 screens.txt
               9 File(s)      2,257,475 bytes

Possible that the installation could be incomplete. I shall reinstall again and confirm.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: Can we turn off FWDbg ? No .dll found !

Posted: Tue Jul 13, 2010 05:58 AM
I installed fwh 10.6 once again after deleting c:\fwh folder. Still the \fwh\dll folder does not contain fwdbg.dll.

But I observed a peculiar thing while installing FWH.EXE on my Windows-7 (32 bit ) computer. After installing, this message appeared on the screen:



I clicked "Reinstall using recommended options". It reinstalled once again, this time with no complaints.
Regards



G. N. Rao.

Hyderabad, India
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Re: Can we turn off FWDbg ? No .dll found !

Posted: Tue Jul 13, 2010 01:56 PM
it means that a linked OBJ has been compiled used /B.


I suppose it could be that one of the FWH source files was linked with the /B parameter. And perhaps is it only rarely used so it doesn't always generate the error.

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM

Re: Can we turn off FWDbg ? No .dll found !

Posted: Tue Jul 13, 2010 02:34 PM

Hi friends,

If the program is trying to load the fwdbg.dll, is there any prg module that was compiled with the flag /b. When it is executed generates an internal entry in the debugger module. It's true, we could solve this type of errors simply blocking the message, but this does not mean that every time the system enters the debugger and go out again without our notice, but this process would produce internally. I think it is not the right solution. The correct solution is re-compiled all modules without /b (i think...)

Nageswaragunupudi, fwdbg.dll exist in .\samples folder. Maybe the most correct is that it shouldd be in the folder .\dll

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: Can we turn off FWDbg ? No .dll found !

Posted: Tue Jul 13, 2010 03:33 PM

It might be a 3rd party library. When I reported the problem, the person who gave me the files does not use the /B on any files and was also not using FWH. It may have been a FWH newer version that became sensitive to this problem. I don't use /B and I also have very little in the way of 3rd party files that I don't rebuild myself.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM

Re: Can we turn off FWDbg ? No .dll found !

Posted: Tue Jul 13, 2010 08:09 PM
Tim,

I'm sorry but I don't agree with this assertion. I think that FWDbg is part of FWH, but anyway this is not my decision. Anyway, we must find a solution. You can easily add this line of code and we can see the message which module has the call from the debugger and rebuild it again here if needed.

FWDbg.prg -> line 205
Code (fw): Select all Collapse
MsgStop( ::cResFile + " not found, imposible to continue" + CRLF + CRLF + ;
         "Entry Point: " + ProcFile(2) + ' -> '          + ;
                           ProcName(2) + '('             + ;
                           Ltrim(Str(ProcLine(2))) + ')' , ;
         "FWH Debugger Error" )


I tried to execute without FWdbg.dll and the result is:




I insist that we must find the right solution. So far I have found only users who have encountered problems using UE, and is simply a compilation error flags. You can try this solution to see if it can help fix this?
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix

Continue the discussion