Microsoft Visual C++ Stand Alone Compiler

447 views
Skip to first unread message

Nicanor Martinez Martinez

unread,
Feb 25, 2017, 10:35:33 PM2/25/17
to Harbour Users
Hi,

i want to share this stand alone MSVC Express 2015 C++ Compiler like BCC or MINGW you can use for compiling 32 and 64 Bits only set environment variables in a bat file



For environment variable vccdir you can set your custom path

For 32 Bits

set vccdir=C:\VC2015    
SET LIB=%vccdir%\LIB;%vccdir%\SDK\LIB;%vccdir%\kit\lib\x86;%vccdir%\kit\lib\ucrt\x86
SET INCLUDE=%vccdir%\INCLUDE;%vccdir%\SDK\INCLUDE;%hdir%\mvc\include;%vccdir%\kit\include\ucrt;%vccdir%\kit\include\ucrt\sys;%vccdir%\kit\include\um
SET PATH=%vccdir%\BIN;%vccdir%\SDK\BIN


For 64 Bits

set vccdir=C:\VC2015    
SET LIB=%vccdir%\LIB\AMD64;%vccdir%\SDK\LIB\X64;%vccdir%\kit\lib\ucrt\x64
SET INCLUDE=%vccdir%\INCLUDE;%vccdir%\SDK\INCLUDE;%vccdir%\kit\include\ucrt
SET PATH=%vccdir%\BIN\X86_AMD64;%vccdir%\SDK\BIN\X64;%vccdir%\BIN


Regards

Nicanor

bpd...@apollo.co.in

unread,
Feb 26, 2017, 11:43:19 PM2/26/17
to Harbour Users
Thank you for sharing
Is there installation require or simply copy files to specified folder

Luigi Grella

unread,
Feb 27, 2017, 8:26:40 PM2/27/17
to Harbour Users
Microsoft MSVC 2015 is a completely free software.  You can go to Microsoft site and look at all the details and alternatives.
https://www.visualstudio.com/downloads/

Paul Smith

unread,
Feb 27, 2017, 9:41:59 PM2/27/17
to Harbour Users

Hi Nicanor

It seems quicker than MINGW but i'm not sure I want to build backdoors and spyware into all binaries, have a look at
https://www.reddit.com/r/cpp/comments/4ibauu/visual_studio_adding_telemetry_function_calls_to/

Cheers
Paul

Nicanor Martinez Martinez

unread,
Feb 28, 2017, 8:36:19 AM2/28/17
to Harbour Users
You ca use if you don't want to install Visual Studio and only use Visual C++ simply copy to desired folder Set environment variables and enjoy.

Regards,

Nicanor

Don Lowenstein

unread,
Feb 28, 2017, 11:24:57 AM2/28/17
to harbou...@googlegroups.com
Is there a way to compile a .Net or Visual C# or Java program that can call the Harbour functions via a Harbour.dll or linking the harbor C++ OBJ files into the Visual C# project?
--
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mario H. Sabado

unread,
Feb 28, 2017, 7:30:55 PM2/28/17
to harbou...@googlegroups.com
Hi Nicanor,

Thank you for sharing your standalone tool.  Is there a way ti set the default language?

Regards,
Mario


--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.

Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-users+unsubscribe@googlegroups.com.

Alexandre Cavalcante Alencar

unread,
Mar 1, 2017, 7:37:13 AM3/1/17
to Harbour Users
Hi Don,

Yes, there is. Take a look at doc\windll.txt

Best Regards
Reply all
Reply to author
Forward
0 new messages