Dear Antonio,
Is it possible to compile and link FWH/Harbour applications with MSVS 2012? I have purchased MSVS 2012 Professional and would like to port an application over.
Sincerely,
Dear Antonio,
Is it possible to compile and link FWH/Harbour applications with MSVS 2012? I have purchased MSVS 2012 Professional and would like to port an application over.
Sincerely,
Right now I'm doing it with 2010 but will work on using 2012 soon. I tried earlier this week but had problems ... but that led to other issues that needed to be resolved. I've now done that and will work on 2012, likely on Monday. I'm sure its just a matter of libraries that need to be updated.
Tim
Darrell,
I have not tried to build Harbour and FWH with VS2012 yet, but today I will try it.
There should be no problems, and will comment the results here asap.
unresolved external symbol __libm_sse2_...
The default architecture for x86 builds is changed to SSE2; therefore, the compiler may emit SSE instructions, and will use the XMM registers to perform floating-point calculations. If you want to revert to previous behavior, then use the /arch:IA32 compiler flag to specify the architecture as IA32.
I installed MSVS 2012 Express and noticed it broke my 2010 installation. I could not build anymore any of my apps. The error message was:
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
The workaroud was to copy cvtres.exe from 2012 \VC\bin to 2010 bin directory.
Thank you Antonio, I will start converting to MSVS 2012
Darrell
Antonio's advice is the good one
I have converted all my legacy application from xharbour/bcc 5.82 to harbour/msvc 2010 , wasn't easy but Antonio's help made it possible.
it has gone into production 10 days ago, and so far so good.
MSVC 2010 is ok , we are using it.
As far as i know no one in this forum has real experience in 2012, so let us make it step by step.
I plan to try msvc 2012 in the future, but it is not a priority for the moment. Msvc 2010 makes the job.
Hth
Richard
Richard,
I will be curious if your calendar is stable. I got mine working, but now it throws an error and does some damage to my database which requires I replace it with a backup. Its not just on my machine ... it happened on a test machine.
Sometimes it works, and sometimes it starts throwing errors.
Tim
Tim
I had errors on my calendar especially on exit
Now it is ok
No dammage on the database however
Richard
Richard, Tim,
I think we could go one step further and build our apps from the Visual Studio IDE, in fact I already do that on my FiveWin for WinRT development (in my case it works fine as I build Harbour myself, with my own makefile).
The main advantage of this, is that we can use the Visual Studio Debugger which it is very good ![]()
Antonio
It is a good idea moving to the ide.
One imortant thing to mention, all problems i had were more related to Harbour than Msvc. I had exactly the same problems with Harbour/Bcc than Harbour/Msvc. probably Xharbour is more permissive in different ways, it is a fact , my application was rock solid. I faced strange problems going to Harbour.
As per Tim's problems with Database crashing in the component , better check if odbf is Ok with Harbour or if some extra syntax or parameter is needed. The problem here is neither codejock or Msvc but Harbour. I use dbfcdx and fully tested this part with customers, OK. Maybe some friends using Harbour and Odbf can comment on this one, it can help Tim.
As a conclusion moving from xharbour to harbour is probably the way to go but we need to asure 100% compatibility. Lots of tests are needed. Not as simple as we could imagine.
My 2 cents.
Antonio how to build Harbour from the Ide ?
Richard
HI, i have MSVC 2012 Pro/ultimate, can i use to compile my fwh appl? thanks