VC++ example from iMacros v12 distr / Visual Studio 2017

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

VC++ example from iMacros v12 distr / Visual Studio 2017

by tomotello on Fri Sep 15, 2017 9:08 am

Just sorted out to compile the VC++ examples from the iMacros v12 distribution in Visual Studio 2017 C++ on Windows10 v1703.
Might be others can benefit from the findings. There are two things to consider:

1) The Macro codes doesn't work anymore with the actual iMacros Test site
2) Visual Studio 2010 Platform Tool set has to be installed.

To make it easier, I've attached a fixed version of the iMacrosCppDemo example.

Here the steps:

1) Windows 10: Ensure to have enabled Developer mode (Settings->For developers->Developer mode)
2) Get Vsiualstudio 2010 Express and SP1 (if not yet installed) from
[url]https://www.visualstudio.com/vs/older-downloads//url]
3) Get Visual Studio 2017 Community Edition from https://www.visualstudio.com/ and install at least the C++ DevKit
4) Extract the fixed iMacrosCppDemo example attached below
5) Double click on iMacrosCppDemo.sln to load it directly into Visual Studio 2017
->Important: Do not upgrade to Platform Toolset 2017 v141 when you are asked while loading the example the first time
Just select 'No Upgrade'.
You should now be able to build the example without errors.

--Tom
Attachments
iMacrosCppDemo_for_iMacros_v12_and_VS_2017.zip
(18.89 KIB) Downloaded 27 times
tomotello
 
Posts: 3
Joined: Mon Aug 28, 2017 8:34 am
Location: Switzerland, Basel

Return to Scripting and Command Line Interface

Who is online

Users browsing this forum: No registered users and 3 guests

-->