|
-
Jan 1st, 2003, 04:12 PM
#1
Thread Starter
<?="Moderator"?>
static libraries
im trying to make a *simple* static library with only one function inside it. all it does it multiply two numbers together and thats it. now when i compile the .lib file there are no errrors and theres nothing wrong. When i include the header file with another project (header file has been copyed to the same directory) it gives me these error.
uselibtest error LNK2019: unresolved external symbol "double __stdcall multnum(double,double)" (?multnum@@YGNNN@Z) referenced in function _main
uselibtest fatal error LNK1120: 1 unresolved externals
any ideas whats wrong?
Cheers
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
|