<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="generator" content="Adobe RoboHelp 2019" />
<title>Visual C++ (MFC)</title>
<link rel="StyleSheet" href="../../../../ms_help.css" type="text/css" />
 <script type="text/javascript" language="JavaScript">
//<![CDATA[
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//]]>
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute;
left:0px;
top:0px;
z-index:4;
visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style>

<script type="text/javascript" src="../../../../template/scripts/rh.min.js"></script>
<script type="text/javascript" src="../../../../template/scripts/common.min.js"></script>
<script type="text/javascript" src="../../../../template/scripts/topic.min.js"></script>
<script type="text/javascript" src="../../../../template/scripts/constants.js"></script>
<script type="text/javascript" src="../../../../template/scripts/utils.js"></script>
<script type="text/javascript" src="../../../../template/scripts/mhutils.js"></script>
<script type="text/javascript" src="../../../../template/scripts/mhlang.js"></script>
<script type="text/javascript" src="../../../../template/scripts/mhver.js"></script>
<script type="text/javascript" src="../../../../template/scripts/settings.js"></script>
<script type="text/javascript" src="../../../../template/scripts/XmlJsReader.js"></script>
<script type="text/javascript" src="../../../../template/scripts/loadparentdata.js"></script>
<script type="text/javascript" src="../../../../template/scripts/loadscreen.js"></script>
<script type="text/javascript" src="../../../../template/scripts/loadprojdata.js"></script>
<script type="text/javascript" src="../../../../template/scripts/mhtopic.js"></script>
 <link rel="stylesheet" type="text/css" href="../../../../template/styles/widgets.min.css">
 <link rel="stylesheet" type="text/css" href="../../../../template/styles/topic.min.css">
<script type="text/javascript" >
gRootRelPath = "../../../..";
gCommonRootRelPath = "../../../..";
gTopicId = "6.1.1.1.0_5";
</script>
 <meta name="brsprev" value="sdk/windows_api/tutorial/create/visual_c_net_framework.htm">
 <meta name="brsnext" value="sdk/windows_api/tutorial/common/common_processing.htm">
 <meta name="topic-breadcrumbs" content="C-LOGGER SDK > Windows API > Tutorial > Create Project" />
</head>

<body>
<script type="text/javascript" src="../../../../ehlpdhtm.js"></script>

<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P45RPFN" style="width: 0px; 
		 height: 0px; display: none; visibility: hidden;">
 <p>&#160;</p>
</iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->


<div><script type="text/javascript" language="javascript">//<![CDATA[
document.write("<p  style=\"text-align:left;\" class=\"breadcrumbs\">");
AddMasterBreadcrumbs("../../../../c_logger.htm", "breadcrumbs", " &gt; ", "Home", "../../../../welcome/c_logger.htm");
document.write("<a class=\"breadcrumbs\" href=\"../../../welcome/c_logger_sdk.htm\">C-LOGGER SDK<\/a>  &gt;  <a class=\"breadcrumbs\" href=\"../../windows_api.htm\">Windows API<\/a>  &gt;  <a class=\"breadcrumbs\" href=\"../tutorial.htm\">Tutorial<\/a>  &gt;  <a class=\"breadcrumbs\" href=\"create_project.htm\">Create Project<\/a>  &gt;  Visual C++ (MFC)<\/p>");
//]]></script>
</div>

<h1>Visual C++ (MFC)</h1>
<hr align="center" />
<p style="font-weight: bold;"><span style="font-weight: bold;">Create Project</span></p>
<p style="margin-left: 40px;">Launch Visual Studio, select [New]-[Project] 
 from [File] menu.<br />
From the [Templates] of [New Project] dialog box, select [MFC Application] 
 of [Visual C++],<br />
and specify the name and location of the project to be created.<br />
Click the [OK] button to the next dialog.<br />
<br />
[MFC Application Wizard] dialog is displayed.<br />
Select [Application Type], change it to be [Dialog based].<br />
Click the [Finish] button and the project is created.<br />
<br />
* Item names and commands may differ depending on the version of Visual 
 Studio.</p>
<p style="margin-left: 40px;">&#160;</p>
<h2>Include Header File</h2>
<p style="margin-left: 40px;">In order to use the functions of C-LOGGER 
 SDK in Visual C++, clogger_api.h file is required.<br />
Include the header file in the source code.<br />
Specify the include at the beginning of the C++ file that will use the 
 functions.</p>
<p style="margin-left: 80px;">#include &quot;clogger_api.h&quot;</p>
<p style="margin-left: 40px;">Specify clogger_api.h as a relative path 
 from the C++ file.</p>
<p style="margin-left: 40px;">&#160;</p>
<h2>Include Library File</h2>
<p style="margin-left: 40px;">For Visual C++, the library files in addition 
 to the header file is also required.<br />
Add clogger_api.lib from [Project]-[Add Existing Item].</p>
<p style="margin-left: 40px;">&#160;</p>
<p>&#160;</p>
<div style="width: 100%; position: relative;" id="footer">
	<hr style="float: aligncenter; " />
	<p>This website uses cookies. By continuing to browse our site you 
	 agree to our <a href="https://www.contec.com/privacy#anc-01">use of 
	 cookies</a>.</p>
</div>
</body>
</html>
