Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

16 Bit dll

Status
Not open for further replies.

snt

MIS
Jun 19, 2000
104
US
I have a 16 bit dll which obviously is a problem in a win32 environment. How can I convert this to 32 bit? I have close to zero knowledge of c, so I would need something fairly simple.

Thanks.
 
Well first you need the original C source code to the DLL and (ideally) a 32Bit version of the original compiler.

You then need to remove the LibMain and or WEP from the DLL and add a DllMain.

You will also have to check that there are no 16Bit specific calls made with in the DLL as well. But in a nutshell this is what's needed.

HTH
William
Software Engineer
 
Thanks for the reply.
Is there somewhere that has some sort of a list or reference to 16Bit specific calls. I wouldn't know if there where just by looking at the code.
 
Not as far is I know (but that's nothing), but others might. Once approach would be to go through the source and check each call against the platforms documentation. It's all I can suggest.

Sorry.
William
Software Engineer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top