This is a showcase for integrating the Acrolinx Sidebar into a Windows C++ application.
See: Build With Acrolinx
Acrolinx Sidebar Web Live Demo
The Acrolinx Sidebar is designed to show up beside the window where you edit your content. You use it for checking, reviewing, and correcting your content. To get an impression what the Sidebar looks like in existing integrations, have a look at Sidebar Quick Start.
Please contact Acrolinx SDK support for consulting and getting your integration certified. This sample works with a test license on an internal Acrolinx URL. This license is only meant for demonstration and developing purposes. Once you finished your integration, you'll have to get a license for your integration from Acrolinx.
Acrolinx offers different other SDKs, and examples for developing integrations.
Before you start developing your own integration, you might benefit from looking into:
- Build With Acrolinx,
- the Guidance for the Development of Acrolinx Integrations,
- the Acrolinx SDKs, and
- the Acrolinx Demo Projects.
- Make sure that you have installed Microsoft Visual Studio 2017 with C++ support (MSVC anf MFC)
- Open
Acrolinx.Demo.Sidebar.Cpp.sln
in Visual Studio. - Build and run the solution (F5).
-
Open the solution file
Acrolinx.Demo.Sidebar.Cpp.sln
with Visual Studio. -
Add C++ SDK as dependency from Nuget
-
Register the Acrolinx.Sidebar.SDK.dll from
packages\Acrolinx.Sidebar.SDK.CPP.<version>\lib\<architecture>
-
Use
/scripts/RegisterAcrolinx.bat
orregsvr32 Acrolinx.Sidebar.SDK.dll
ro register the Dll. -
After you register Acrolinx.Sidebar.SDK.dll, you can start using it in your project. In the Designer View of your dialog, insert Acrolinx Sidebar Control from ActiveX Control list.
-
You should be able to see Acrolinx Sidebar on your dialog.
-
Usually you dock the Acrolinx Sidebar to the right side of your dialog:
-
Set the test signature:
SW50ZWdyYXRpb25EZXZlbG9wbWVudERlbW9Pbmx5
. -
Somewhere in your initialization code, tell the Sidebar to start:
m_sidebar.Start();
-
Run the application. If you see the Acrolinx Sidebar, then everything went well.
-
The next step is to implement the extraction and the events of the Sidebar.
-
Have a look at the sample source code provided in the sample project.
- Provides lookup functionality.
- Start page: Provides interactive way to sign in to Acrolinx with built-in error handling.
- Provides logging using Plog v1.1.4.
- Acrolinx Storage: Applications using the Internet Explorer web browser control may be denied to access LocalStorage.
The SDK uses its own storage mechanism using the Windows registry.
- Registry path:
HKCU\Software\Acrolinx\Plugins\Storage\AcrolinxStorage\[KEY]
- Fallback path:
HKLM\Software\Acrolinx\Plugins\Storage\AcrolinxStorage\[KEY]
- Registry path:
- Acrolinx Adapter: Provides reusable functionality for all integrations.
- This DEMO is built on the Sidebar SDK C++.
- The Sidebar SDKs are based on the Acrolinx Sidebar Interface.
Copyright 2018-present Acrolinx GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
For more information visit: https://www.acrolinx.com