Antonio,
I don't want to use VS2015 IDE and Application does not work in W7.
I want to use commandline compiler.
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.06
Antonio,
I don't want to use VS2015 IDE and Application does not work in W7.
I want to use commandline compiler.
Antonio,
PostQuitMessage(0) function is generated GPF.
Hakan,
Are you calling PostQuitMessage(0) ?
You should never do that as FWH controls the app ending
Antonio,
I dont. After giving error errordialog call.
Hakan,
> After giving error errordialog call
What error ?
BTW, have you been able to run the Visual Studio Debugger ?
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?
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

Hakan,
We need to find which function is calling MultiByteToWideChar as many functions from FWH and Harbour call it
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
Antonio,
In order to set breakpoint a line, Should I start IDE compiler?
Hakan,
Yes. Look for a C function defined in #pragma BEGINDUMP ... ENDDUMP section, and place the breakpoint there
Thats a way to do it
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.
Hakan,
> Is it possible to run 16.03 with msvc 2013
Please try it and lets see how it behaves