|
-
April 6th, 1999, 03:48 AM
#1
using Lib
Hi ALL,
I get a lib and a function syntax list of a programmer.
I want to use its function at my MFC programme. How could i do?
i already add those .lib files at "Project->Setting".
And the syntax of function is like this, e.g. "extern FILE *OpenFile (const char *_filename, const char *_options)"
If i want to use it at one of my command function at XXXView.cpp, what should i do?
thanks.~~~
-
April 7th, 1999, 05:57 PM
#2
Re: using Lib
1). At the top of the file you wish to call this function from, #include the lib's header file.
2). In MSVC, in the Build Settings for the project, on the Link tab, add the name of the lib file (including the .lib part) to the "Object/Library Modules" edit control. Be sure to do this for both Debug and Release mode.
HTH.
LA Leonard - Definitive Solutions, Inc.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|