FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 16.03 32 BIT
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 06:59 AM

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 & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 07:15 AM

Antonio,

PostQuitMessage(0) function is generated GPF.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 07:55 AM

Hakan,

Are you calling PostQuitMessage(0) ?

You should never do that as FWH controls the app ending

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 07:59 AM

Antonio,

I dont. After giving error errordialog call.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 08:01 AM

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
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 08:16 AM

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 & MSVC 2022 & FWH 23.06
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 10:37 AM

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
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 11:05 AM
Antonio,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 11:22 AM

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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 11:26 AM

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
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 12:06 PM

Antonio,

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

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 05:03 PM

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
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 05:38 PM

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 & MSVC 2022 & FWH 23.06
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 16.03 32 BIT
Posted: Wed May 11, 2016 05:50 PM

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

Continue the discussion