How to Call Webservice through C++ Dynamic Link Library (DLL) in Visual Studio 2019 Using C++ Rest SDK
Introduction DLL is a one of the most useful Windows Components. In UNIX systems known as shared libraries DLL is used to share code and resources It can reduce the size of your applications Requirements Windows 7 or Later (Windows 10 Ideal) Check Desktop Development ith C++ Workload in the Visual Studio Installer Create Python Flask WebService Open Pycharm IDE Create a project with a virtual enviornment pip install flask Implement a webservice (Returns a JSON response) import flask from flask import request , jsonify app = flask.Flask(__name__) app.config[ "DEBUG" ] = True prediction = { "prediction" : { 'id' : 0 , 'title' : 'A Fire Upon the Deep' , 'author' : 'Vernor Vinge' , 'first_sentence' : 'The coldsleep itself was dreamless.' , 'year_published' : '1992' } } # A ...