Re: '__setvideomode': unresolved external

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Emerald Saint

    Re: '__setvideomode': unresolved external

    Hi. I been away and didn't get here again until now. Thank you for your
    offer to share programs that you have. I studied up and refreshed my memory
    about linkers and compilers. So I have the answer to the question I asked
    here. I found a Microsoft site where they have 'Express' editions for
    VisualC++ and Visual Basic and other stuff. It is all free. I downloaded
    the VC++ Express edition and discovered there are ways to use it for old
    fashioned C programs. It compiles and links files I wrote 15 years ago. So
    I'm going to learn to work with that. I also got up and running with my old
    MS C 7.0 and also Quick C.

    Thanks for your response to my post. You might want to download the Visual
    C++ Express. It does regular C programs too.

    Here is a link to one of the help topics about building C programs:
    Learn how to create a Hello World C program by using a text editor, and then compile it by using the command line compiler.



    "Sjouke Burry" <burrynulnulfou r@ppllaanneett. nnlllwrote in message
    news:47fdcd8f$0 $14781$ba620dc5 @text.nova.plan et.nl...
    Emerald Saint wrote:
    >Hello.
    >>
    >I just started tinkering with my old M$ Quick C version 2.5. Copyright
    >1990. I have all my old programs, notes, and programming tools on a
    >FAT-16 partition stored on CDROM. I just copy everything on to a FAT-16
    >partition on a hard drive and I'm moving down the road again. I haven't
    >touched this stuff in ten years.
    >>
    >One of my old programs won't compile - actually it's a link error that
    >I'm getting. There is some linker option that I used before - I don't
    >know it any more. I have the .EXE program that I made with this source
    >file years ago. The program runs fine. But the source code file causes
    >this error:
    >>
    >'__setviewor g' : unresolved external
    >>
    >'__setvideomod e': unresolved external
    >>
    >'__getvideocon fig' : unresolved external
    >>
    >'__clearscreen ' : unresolved external
    >>
    >and other similar messages
    >>
    >I have a GRAPHICS.LIB file in the LIB directory but I don't know how to
    >link it.
    Below you see the compile and link line from a batch
    file i use to compile/link.
    %1 is the progam(without extension) and %2
    is function/subroutines obj files to add to the link,
    like fun1+fun2+sub3+ su4, etc,names separated by plusses.
    >
    echo compiling......
    cl /FPi87 /AL /W3 /G2 %1.c /c /nologo
    echo linking........
    link/nologo/st:16000/exepack %1+%2,,nul,grap hics+utils+svga cc;
    >
    graphics,utils and svgacc are the libraries I link.
    >
    nologo kills unwanted screen output,
    st:16000 gives a big stack, and exepack compresses the code.
    ,,nul, kills unwanted output of the linker.
    >
    My c package is MS 6.00A compiler and MS linker 5.10.
    If you have a valid email adress for me, I can mail you
    my layout and batchfiles.

  • CBFalconer

    #2
    Re: '__setvideomode ': unresolved external

    Emerald Saint wrote:
    >
    Hi. I been away and didn't get here again until now. Thank you
    for your offer to share programs that you have. I studied up and
    refreshed my memory about linkers and compilers. So I have the
    answer to the question I asked here. I found a Microsoft site
    where they have 'Express' editions for VisualC++ and Visual Basic
    and other stuff. It is all free. I downloaded the VC++ Express
    edition and discovered there are ways to use it for old fashioned
    C programs. It compiles and links files I wrote 15 years ago. So
    I'm going to learn to work with that. I also got up and running
    with my old MS C 7.0 and also Quick C.
    Please do not top-post. Your answer belongs after (or intermixed
    with) the quoted material to which you reply, after snipping all
    irrelevant material. See the following links:

    --
    <http://www.catb.org/~esr/faqs/smart-questions.html>
    <http://www.caliburn.nl/topposting.html >
    <http://www.netmeister. org/news/learn2quote.htm l>
    <http://cfaj.freeshell. org/google/ (taming google)
    <http://members.fortune city.com/nnqweb/ (newusers)


    ** Posted from http://www.teranews.com **

    Comment

    Working...