can someone give windows 16-bit dll example with *.asm, *.def, *.mak files for MASM?
i had searched eveywhere on the net and on this forum too - found only some posts but no examples.

Posted on 2004-04-04 06:54:47 by deltaOFFSET
Here is one, written an long time ago. The link step may fail because of unresolved externals, but everything else should be there.
Posted on 2004-04-04 13:11:40 by japheth
thank you - but i can't get it to work - something is wrong .... or maybe my nmake.exe
can you make *.mak file into *.bat it will be easier for me to understand...

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

link @C:\WINDOWS\TEMP\nma81915.
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

kernel user,
LINK : fatal error LNK1181: cannot open input file "monoout.obj,"
NMAKE : fatal error U1077: 'LINK' : return code '0x49d'
Posted on 2004-04-04 17:36:29 by deltaOFFSET
I think I should use another version of MS linker.
5.12 is used for 32bit code.
Posted on 2004-04-04 21:47:15 by nhnpresario
I believe on win32asm.cjb.net he has an older MS Linker..heres the link:

Posted on 2004-04-05 01:48:56 by archphase
OK - thanx to all - it seems I'm close now to make it work - someone has old kernel.lib and maybe other 16-bit libraries? I can't find it anywhere:(
Posted on 2004-04-05 04:03:50 by deltaOFFSET
Here is the import library including all the 16-bit API functions.
Posted on 2004-04-05 04:57:45 by Vortex
OK - BIG THANX - I made it to work :alright: - i hope this discussion will help to somebody else too.
Posted on 2004-04-05 05:57:50 by deltaOFFSET