📄 readme.htm
字号:
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>CJ60 Version 6.07 Readme</title>
</head>
<body>
<h1><font face="Arial">MFC Extension Library<br>
</font><font face="Arial" size="4">CJ60 Version 6.07 Readme</font></h1>
<h2><font face="Arial" size="3">MFC Extension Library - CJ60Lib ( Updated for Visual C++
6.0)</font></h2>
<font face="arial">
<p>This release is the result of your comments, and suggestions. I received several
suggestions and bug reports, which I believe most have been addressed and fixed with this
release. Please remember there is not a "team" of developers maintaining this
code, only I, and it is done in my spare time, so you can expect some bugs. If you have
comments or suggestions, feel free to drop me a line at <a
href="mailto:kstowell@codejockeys.com">kstowell@codejockeys.com</a></p>
<p><!-- The 'p' starts a paragraph of normal text --> </p>
<p>The original library (MFCXLib) was renamed to CJ60Lib, in order to break any links that
may have been established with any applications using the old library, and to establish a
version control system. The library has the same functionality as the old one, however,
there have been several enhancements for compatibility with Visual C++ 6.0.</p>
<p><!-- The 'p' starts a paragraph of normal text --> </p>
<p><strong>Follow these steps to setup your application to use CJ60Lib MFC extension
library:</strong>
<ul>
<li>In your project settings, select the <strong>General</strong> tab. Make sure that <strong>Microsoft
Foundation Class </strong>is set to <strong>Use MFC in a shared DLL</strong>.</li>
<li>In your project settings, select the <strong>Link</strong> tab. Set the <strong>Category</strong>
to <strong>Input</strong>, and add <strong>../Lib</strong> to <strong>Additional Library
Path</strong>.</li>
<li>While still in the <strong>Link</strong> tab, change <strong>Category</strong> to <strong>General</strong>.
For <strong>Output Name</strong> (All Configurations), build to the <strong>../Lib</strong>
directory. This makes the execution and debugging easier, since both <strong>DLL</strong>
and <strong>EXE</strong> are located in the same directory. An example of this would be: <strong>../Lib/MyDemo.exe</strong>.</li>
<li>Select the C/C++ tab next. Change Category to Preprocessor, and add ../Include to
Additional Include Directories. </li>
<li>The last step would be to add the following two lines of code to your <strong>StdAfx.h</strong>
header file, which will import all exported classes, and grant access to your entire
application:<!-- start a block of source code --></li>
</ul>
<p><em><font color="#808000">#include <CJ60Lib.h></font></em></p>
<p><strong>In order to statically link to CJ60Lib, make the following changes:</strong>
<ul>
<li>In your project settings, select the <strong>General</strong> tab. Make sure that <strong>Microsoft
Foundation Class </strong>is set to <strong>Use MFC in a static library</strong>. </li>
<li>You will need to copy the resources from the CJ60 library to your project. The easiest
way to do this is to open the file CJ60Lib.rc, then drag and drop the resources into your
project<!-- The 'p' starts a paragraph of normal text --></li>
</ul>
<p>This library was written for version 4.71 or later of comctl32.dll. If you have an
older version, you can download the latest version from the Microsoft site. <a
href="http://www.microsoft.com/msdn/downloads/files/40Comupd.htm">Follow this link if you
have an older version of comctl32.dll</a>. It is important to note that the library will
not load if your comctl32.dll version is older than 4.71.</p>
<p><!-- The 'p' starts a paragraph of normal text --> </p>
<p><strong>Build errors, what to do:</strong></p>
<p><!-- The 'p' starts a paragraph of normal text --> </p>
<p>If you receive the following build error <font color="#CC9933"><em>"#error :
CJ60Lib requires a newer version of the SDK than you have!"</em></font>, this means
that you most likely are using Visual C++ 5, and either do not have the platform SDK
installed, or you have an older version. You will need to download the latest version from
Microsoft. <a href="http://msdn.microsoft.com/developer/sdk/default.htm">To get it, follow
this link</a>.</p>
<p>If you receive the following build error <font color="#CC9933"><em>" Error: Can't
find file CJ60Libd.lib."</em></font> This means you haven't built the library yet.
YOU NEED TO BUILD the library first, this will generate the .lib and .dll files needed by
the examples.</p>
<p><!-- The 'p' starts a paragraph of normal text --> </p>
<p><strong>Disclaimer:</strong></p>
<p><!-- The 'p' starts a paragraph of normal text --> </p>
<p>This source code in this library may be used in compiled form in any way you desire,
Source file(s) may be redistributed unmodified by any means <strong>PROVIDING</strong>
they are not sold for profit without the authors expressed written consent, and providing
that this notice and the authors name and all copyright notices remain intact. If the
source code is used in any commercial applications then a statement along the lines of:</p>
<p><!-- The 'p' starts a paragraph of normal text --> </p>
<p>"<strong>Portions Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -