Thread: whats wrong with this

  1. #1
    Unregistered
    Guest

    Unhappy whats wrong with this

    i've been trying to run this program for half a day now:
    i type this at the command line to compile(with digital mars)

    C:\dm\bin\sc hsport
    the files are attached and i get this msgbox with the msg:
    ...."this is not an winnt valid app"...

    so i try this

    C:\dm\bin\sc hsport > text.txt

    i get :

    link hsport,,,user32+kernel32/noi;

    OPTLINK (R) for Win32 Release 7.50B1
    Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved

    hsport.obj(hsport)
    Error 42: Symbol Undefined ?print_it@port@@QAEXXZ (void syscall port:rint_it(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?copyright@port@@QAEXXZ (void syscall port::copyright(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?usage@port@@QAEXPAD@Z (void syscall port::usage(char *))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?setecho@port@@QAEXH@Z (void syscall port::setecho(int ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?setistty@port@@QAEXH@Z (void syscall port::setistty(int ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?token@port@@QAEPADPADPAPAD@Z (char *syscall port::token(char *,char **))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?rep_io@port@@QAEXH@Z (void syscall port::rep_io(int ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?setport@port@@QAEXI@Z (void syscall port::setport(unsigned ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?getentrymode@port@@QAEHXZ (int syscall port::getentrymode(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?setbyte@port@@QAEXI@Z (void syscall port::setbyte(unsigned ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?setentrymode@port@@QAEXH@Z (void syscall port::setentrymode(int ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?getport@port@@QAEIXZ (unsigned syscall port::getport(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?toggle_bit@port@@QAEXI@Z (void syscall port::toggle_bit(unsigned ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?getbyte@port@@QAEIXZ (unsigned syscall port::getbyte(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?wrtport@port@@QAEXXZ (void syscall port::wrtport(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?rdport@port@@QAEXXZ (void syscall port::rdport(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?getecho@port@@QAEHXZ (int syscall port::getecho(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?prompt@port@@QAEXXZ (void syscall port:rompt(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?author@port@@QAEXXZ (void syscall port::author(void ))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ?getinput@port@@QAEXHPAPAD@Z (void syscall port::getinput(int ,char **))
    hsport.obj(hsport)
    Error 42: Symbol Undefined ??0port@@QAE@XZ (syscall port:ort(void ))

    --- errorlevel 21

  2. #2
    Registered User bljonk's Avatar
    Join Date
    Oct 2001
    Posts
    70

    that was me!

    the files are in the the zip file
    Ünicode¬>world = 10.0£

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 07-15-2004, 03:30 PM
  2. Debugging-Looking in the wrong places
    By JaWiB in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-03-2003, 10:50 PM
  3. Confused: What is wrong with void??
    By Machewy in forum C++ Programming
    Replies: 19
    Last Post: 04-15-2003, 12:40 PM
  4. God
    By datainjector in forum A Brief History of Cprogramming.com
    Replies: 746
    Last Post: 12-22-2002, 12:01 PM
  5. Whats wrong?
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 07-14-2002, 01:04 PM