Click to See Complete Forum and Search --> : fatal: unable to open 'dpimimem.dll'


psicus
March 2nd, 2005, 09:21 AM
hello, i was trying to link a "hello world" program, everything is ok with the compilation but when I input:

tlink nomefile.obj

i get this error message:

fatal: unable to open 'dpimimem.dll'

what could it be? by the way, the compiler is turbo assembler and i've got a pentium II 400 processor, 64M RAM, which I use to try some stuff...

thank you, bye

NigelQ
March 3rd, 2005, 01:22 AM
It sounds like you don't have enough XMS memory available to perform the operation, and it sounds like you may be using an version of DOS?

The older Borland products used XMS memory, so you need to set some up (or set up more).

Check your config.sys file for something like the following line:

device=c:\dos\himem.sys

Hope this helps,

- Nigel

psicus
March 3rd, 2005, 09:04 AM
xms? do you mean extended?

I've got 64 MB RAM...and it asks for 1MB!

i looked the config.sys, but no himem...is that the problem?

thank you

NigelQ
March 3rd, 2005, 12:38 PM
Yes, it is expanded memory. You didn't mention your operating system again.

If it is DOS, then the XMS memory manager (himem.sys) will provide applications that need access to this special type of memory (beyond the base 640K)

Adding the line I suggested (or something very like it) may solve your problem.

Again, I assume you are running something like MSDOS 5.0, no Windows on an older style PC.

If this is a Windows 98 box, the path to himem.sys as described in the line I suggested, may be the path to your windows folder (or some sub-folder of it).

Search for himem.sys on your machine and replace the "C:\dos\" with the correct path for your particular configuration.

Hope this helps,

- Nigel

Hobson
March 12th, 2005, 01:10 PM
A bit late, but maybe still helpful:

When you run Tasm in windows enviroment, you need to have DPMIMEM.DLL on your system path, or better in tasm directory.
When you are running tasm in real mode, you need to have DPMI16BI.OVL or DPMI32VM.OVL, depending on your system, in your Tasm directory.

Hob