FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to add your PRGs in Visual Studio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to add your PRGs in Visual Studio
Posted: Mon Jun 16, 2014 06:52 AM
1. Add an existing PRG to the project



2. Right click on it and select properties. Select "Custom Build tool":



3. Right click again on it and configure it this way:

Copy the bold texts from here:

c:\harbour\bin\harbour %(FullPath) /n /ic:\harbour\include /ic:\fwh\include

.\%(Filename).c



4. Right click again on it and compile it, and add the resulting C file to the project too. Set the Harbour include path and not to use Windows runtime extensions:

Copy the bold text from here:

c:\harbour\include;%(AdditionalIncludeDirectories)



Working fine :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion