News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Correct way to LIB

Started by theunknownguy, April 13, 2010, 07:23:40 PM

Previous topic - Next topic

theunknownguy

Hey all i got a question i am making an IOCP library for MASM under (JWASM compiler)

The thing is i read about granularity but in my case i got this procedures:

IOCPCore
IOCPWorkerThreads
IOCPStart
IOCPSetConnection.


etc, they all must be togheter (in theory) but i can put example IOCPCore and IOCPWorkerThreads on differen files and assemble them on different objects, for link them all in the final LIB.

Is this the way to make it?

Or it doesnt matter on this case if i put all procedures in 1 file? (i know it matters, but they are all needed for each other).

Thanks.

hutch--

The general drift is if they will always be used together then put them in one file. The idea is to ensure that you don't call one procedure and get other dead code that is not used.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

theunknownguy

Thanks hutch so ill put them all in one file since you need them all  :cheekygreen: