Can we turn off FWDbg ? No .dll found !

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

Postby nageswaragunupudi » Tue Jul 13, 2010 1: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
User avatar
nageswaragunupudi
 
Posts: 10628
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby Antonio Linares » Tue Jul 13, 2010 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby nageswaragunupudi » Tue Jul 13, 2010 4:09 am

Mr. Antonio

This is the directory listing on my computer ( fwh 10.6 ).
Code: Select all  Expand view
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
User avatar
nageswaragunupudi
 
Posts: 10628
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby nageswaragunupudi » Tue Jul 13, 2010 5: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:

Image

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10628
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby James Bott » Tue Jul 13, 2010 1: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

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

Postby Carles » Tue Jul 13, 2010 2: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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

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

Postby TimStone » Tue Jul 13, 2010 3: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

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

Postby Carles » Tue Jul 13, 2010 8: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: Select all  Expand view
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:

Image


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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Jimmy and 62 guests