CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Other Programming > Assembly
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Assembly Questions and Answers for Assembly here!

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old March 2nd, 2005, 09:21 AM
    psicus psicus is offline
    Junior Member
     
    Join Date: Mar 2005
    Posts: 2
    psicus is an unknown quantity at this point (<10)
    Exclamation fatal: unable to open 'dpimimem.dll'

    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
    Reply With Quote
      #2    
    Old March 3rd, 2005, 01:22 AM
    NigelQ's Avatar
    NigelQ NigelQ is offline
    Elite Member
     
    Join Date: Sep 2001
    Location: San Diego
    Posts: 2,147
    NigelQ has a spectacular aura about (150+)NigelQ has a spectacular aura about (150+)
    Re: fatal: unable to open 'dpimimem.dll'

    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
    Reply With Quote
      #3    
    Old March 3rd, 2005, 09:04 AM
    psicus psicus is offline
    Junior Member
     
    Join Date: Mar 2005
    Posts: 2
    psicus is an unknown quantity at this point (<10)
    Re: fatal: unable to open 'dpimimem.dll'

    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
    Reply With Quote
      #4    
    Old March 3rd, 2005, 12:38 PM
    NigelQ's Avatar
    NigelQ NigelQ is offline
    Elite Member
     
    Join Date: Sep 2001
    Location: San Diego
    Posts: 2,147
    NigelQ has a spectacular aura about (150+)NigelQ has a spectacular aura about (150+)
    Re: fatal: unable to open 'dpimimem.dll'

    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
    Reply With Quote
      #5    
    Old March 12th, 2005, 01:10 PM
    Hobson's Avatar
    Hobson Hobson is offline
    Senior Member
     
    Join Date: Dec 2004
    Location: Poland
    Posts: 1,163
    Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)Hobson has much to be proud of (1500+)
    Re: fatal: unable to open 'dpimimem.dll'

    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
    __________________
    B+!
    'There is no cat' - A. Einstein

    Use [code] [/code] tags!

    Did YOU share your photo with us at CG Members photo gallery ?
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Other Programming > Assembly


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 08:58 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009