CompuServe Thread

#WIN16 APP TO WIN32 DLL

2 messages in this thread
#50501From: DowellAug 3, 1993 7:52 AM
I am trying to create a DLL under Windows NT so that it can be used by an application created under Visual C++ and run under windows 3.1 using win32s. After reading the WIN32S manual and an article I found on the Network developer CD I understand that it can be done using a universal THUNK to translate 16 to 32 bits and vice-versa. However, I am still a little unsure how do do this as I have not seen an example. The article I read, "Calling a Win32 DLL from a Windows 3.x Application" showed in the diagram three modules that I would have to create in addition to my Win 3.x application and my Win32 DLL; a 16-bit DLL (UT), a Win32 EXE (stub), and a Win32 DLL (UT). What exactly goes into each of these modules? If I do these correctly I shouldn't have to change my Win 3.x application or my Win32 DLL? Please point me to an example or template I can start from for this task as I ma very new to this and have lots to learn. Thank you very much! There is 1 Reply.
#50897From: Lee Hart [Microsoft]Aug 5, 1993 9:08 AM
I believe this is a duplicate of message 50502 which I responded to in message 50559. Lets keep the discussion in that thread. Thanks. Lee