FWH 16.03 32 BIT

Re: FWH 16.03 32 BIT

Postby Horizon » Wed May 11, 2016 6: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.04
Horizon
 
Posts: 1291
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Horizon » Wed May 11, 2016 7:15 am

Antonio,

PostQuitMessage(0) function is generated GPF.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1291
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Wed May 11, 2016 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41390
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 16.03 32 BIT

Postby Horizon » Wed May 11, 2016 7:59 am

Antonio,

I dont. After giving error errordialog call.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1291
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Wed May 11, 2016 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41390
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 16.03 32 BIT

Postby Horizon » Wed May 11, 2016 8: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.04
Horizon
 
Posts: 1291
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

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

Re: FWH 16.03 32 BIT

Postby Horizon » Wed May 11, 2016 11:05 am

Antonio,

Image
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1291
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

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

Re: FWH 16.03 32 BIT

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

Re: FWH 16.03 32 BIT

Postby Horizon » 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.04
Horizon
 
Posts: 1291
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Wed May 11, 2016 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41390
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 16.03 32 BIT

Postby Horizon » Wed May 11, 2016 5: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.04
Horizon
 
Posts: 1291
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Wed May 11, 2016 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41390
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 66 guests