VOGONS


Windows 3.1 SDK

Topic actions

First post, by CrazyKickBoxer

User metadata
Rank Newbie
Rank
Newbie

Hello! I have run into a wall with this one. I've read almost every early days MSDN and SDK iso looking for a few SDK librarys. Specifically USER.LIB. It is part of the the CDK? So I purchased a download of Visual C++ 1.52C and still no CDK with user.lib! I can find USER32.LIB. I started development in Win31 for a personal project and require certain libraries. I can't find it anywhere! I am hoping someone has the retail SDK with user.lib or point me in the right direction. Thank you!

Reply 1 of 4, by CrazyKickBoxer

User metadata
Rank Newbie
Rank
Newbie

I'm trying to build a MIDI player for Windows 3.1 using Microsoft Visual C++ 1.52c, and I’ve run into a brick wall: I can’t locate the essential Win16 import libraries (user.lib, gdi.lib, kernel.lib, etc.) required to link against the Windows 3.1 API.

Even though I’ve installed both the Windows 3.1 SDK and Visual C++ 1.52c, those libraries are missing. I’ve checked every version I could find online — including MSDN ISOs, WinWorldPC, and Archive.org — but they all seem to lack these crucial .LIB files for Win16.

These files are needed for basic Windows programming. For example, linking against USER.LIB is required for common functions like CreateWindow, MessageBox, DialogBoxParam, etc.

My MIDI player is a 16-bit GUI program, styled like Winamp, and I’m trying to compile it on original hardware using VC++ 1.52c and Windows for Workgroups 3.11. The program builds fine until link time, when it fails due to missing Windows libraries.

Reply 2 of 4, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Hmmm,
try OpenWatcom and also contact Michal Necasek at os2museum.com since he's done some work with Windows 3.1 fairly recently
https://www.os2museum.com/wp/windows-3-x-vddv … comment-page-1/
https://www.os2museum.com/wp/retro-porting-to-nt-3-1/

How To Ask Questions The Smart Way
Make your games work offline

Reply 3 of 4, by Baron von Riedesel

User metadata
Rank Member
Rank
Member
CrazyKickBoxer wrote on 2025-05-12, 14:46:

I'm trying to build a MIDI player for Windows 3.1 using Microsoft Visual C++ 1.52c, and I’ve run into a brick wall: I can’t locate the essential Win16 import libraries (user.lib, gdi.lib, kernel.lib, etc.) required to link against the Windows 3.1 API.

IIRC the imports for 16-bit kernel, user, gdi and a few other dlls are all included in one import library - LIBW.LIB.

Also, if you don't have that lib, it's just an "import" library, that is, it contains no real code, meaning that it can be created by tool IMPLIB.EXE ( included in MS VC 1.52 ).

Reply 4 of 4, by CrazyKickBoxer

User metadata
Rank Newbie
Rank
Newbie

That worked thank you