Page 8 of 8

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 6:59 am
by Horizon
Antonio,

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

I want to use commandline compiler.

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 7:15 am
by Horizon
Antonio,

PostQuitMessage(0) function is generated GPF.

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 7:55 am
by Antonio Linares
Hakan,

Are you calling PostQuitMessage(0) ?

You should never do that as FWH controls the app ending

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 7:59 am
by Horizon
Antonio,

I dont. After giving error errordialog call.

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 8:01 am
by Antonio Linares
Hakan,

> After giving error errordialog call

What error ?

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

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 8:16 am
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?

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 10:37 am
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

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 11:05 am
by Horizon
Antonio,

Image

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 11:22 am
by Antonio Linares
Hakan,

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

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 11:26 am
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

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 12:06 pm
by Horizon
Antonio,

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

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 5:03 pm
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

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 5:38 pm
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.

Re: FWH 16.03 32 BIT

PostPosted: Wed May 11, 2016 5:50 pm
by Antonio Linares
Hakan,

> Is it possible to run 16.03 with msvc 2013

Please try it and lets see how it behaves