The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ERNI on October 14, 2005, 07:45:56 PM

Title: 16 bit libs in 32 bit programs
Post by: ERNI on October 14, 2005, 07:45:56 PM
Can i use 16 lib in 32 bit program

If your answer is YES so sey me how can i do it ?
f.e : my 16 bit  lib name  is c:\q\irvine lib
THANKS :eek
Title: Re: 16 bit libs in 32 bit programs
Post by: hutch-- on October 15, 2005, 12:07:50 AM
No you cannot use 16 bit libs in 32 bit.
Title: Re: 16 bit libs in 32 bit programs
Post by: Farabi on October 15, 2005, 02:54:27 AM
Quote from: ERNI on October 14, 2005, 07:45:56 PM
Can i use 16 lib in 32 bit program

If your answer is YES so sey me how can i do it ?
f.e : my 16 bitĀ  lib nameĀ  is c:\q\irvine lib
THANKS :eek

The opcode is different.
If on your libs you wrote mov ax,ax if use it on 32 bit program it will become mov eax, eax.
Also your libs will made windows reject the style of your libs use the memory.
Title: Re: 16 bit libs in 32 bit programs
Post by: MichaelW on October 15, 2005, 07:42:08 AM
ERNI,

Are you aware that there is an Irvine32 library?

http://www.cs.fit.edu/~mmahoney/cse3101/examples/Lib32/