FWH 16.03 32 BIT

Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Antonio,

I don't want to use VS2015 IDE and Application does not work in W7.

I want to use commandline compiler.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Antonio,

PostQuitMessage(0) function is generated GPF.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Hakan,

Are you calling PostQuitMessage(0) ?

You should never do that as FWH controls the app ending
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Antonio,

I dont. After giving error errordialog call.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Hakan,

> After giving error errordialog call

What error ?

BTW, have you been able to run the Visual Studio Debugger ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Antonio,

after gpf, I have forwarded to vs debugger. It says.

Unhandled exception at 0x77386C82 (KernelBase.dll) in IcraW.exe: 0xC0000005: Access violation reading location 0x01061E1C.

If there is a handler for this exception, the program may be safely continued.

If you have time timeviewer now?
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Hakan,

Please select In the IDE menu, Debug, Windows, Call stack

and see what you get there

We need to know where the GPF comes from.

Another choice is to set a breakpoint at a certain point near the app end and then execute step by step
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Antonio,

Image
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Hakan,

We need to find which function is calling MultiByteToWideChar as many functions from FWH and Harbour call it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Set a breakpoint there at the beginning and check the calls stack when you reach the breakpoint

Also find the exact place where it GPFs

The Visual Studio debugger is a great tool to solve these problems
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Antonio,

In order to set breakpoint a line, Should I start IDE compiler?
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Hakan,

Yes. Look for a C function defined in #pragma BEGINDUMP ... ENDDUMP section, and place the breakpoint there

Thats a way to do it
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Antonio,

Is it possible to run 16.03 with msvc 2013. I have not given new release to my customer since release 16.03. (I uninstall 2013, because I install 2015)

I have not more time to do.

If not, I should back to 16.02 and 2013.

Thank for all your efforts.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Hakan,

> Is it possible to run 16.03 with msvc 2013

Please try it and lets see how it behaves
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply