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++.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
tomotello
Posts: 3
Joined: Mon Aug 28, 2017 3:34 pm
Location: Switzerland, Basel

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

Post by tomotello » Fri Sep 15, 2017 4:08 pm

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
https://www.visualstudio.com/vs/older-d ... tudio.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 288 times
Post Reply