- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay so I'm a little puzzled why we have to include .mod files for every module used in a static .lib file when we want to hand the library over to someone else. Why do we have to do that? Why isn't the .lib file enough?
Darren
Darren
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the procedures are module procedures, then one needs the .mod file for the compiler to see the declaration of the procedure and know what its external name is. The .lib is used by the linker only.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the procedures are module procedures, then one needs the .mod file for the compiler to see the declaration of the procedure and know what its external name is. The .lib is used by the linker only.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page