C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-07-2002, 03:33 PM   #1
Unregistered
Guest
 
Posts: n/a
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
  Reply With Quote
Old 02-07-2002, 03:40 PM   #2
Registered User
 
bljonk's Avatar
 
Join Date: Oct 2001
Posts: 70
that was me!

the files are in the the zip file
Attached Files
File Type: zip _all_about18078482001.zip (7.2 KB, 11 views)
__________________
Ünicode¬>world = 10.0£
bljonk is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with input choice... Somethings wrong... really wrong.... greenferoz C++ Programming 9 07-15-2004 03:30 PM
Debugging-Looking in the wrong places JaWiB A Brief History of Cprogramming.com 1 11-03-2003 10:50 PM
Confused: What is wrong with void?? Machewy C++ Programming 19 04-15-2003 12:40 PM
God datainjector A Brief History of Cprogramming.com 746 12-22-2002 12:01 PM
Whats wrong? Unregistered C Programming 6 07-14-2002 01:04 PM


All times are GMT -6. The time now is 07:23 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22