468,257 Members | 1,432 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,257 developers. It's quick & easy.

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:
http://msdn2.microsoft.com/en-us/library/bb384838.aspx
"Sjouke Burry" <bu*************@ppllaanneett.nnlllwrote in message
news:47***********************@text.nova.planet.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:

'__setvieworg' : unresolved external

'__setvideomode': unresolved external

'__getvideoconfig' : 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,graphics+utils+svgacc;

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.

Jun 27 '08 #1
1 1295
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.html>
<http://cfaj.freeshell.org/google/ (taming google)
<http://members.fortunecity.com/nnqweb/ (newusers)
** Posted from http://www.teranews.com **
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Rodolphe | last post: by
1 post views Thread by Aravind | last post: by
5 posts views Thread by cschettle | last post: by
6 posts views Thread by sadegh | last post: by
reply views Thread by Ryan Gaffuri | last post: by
2 posts views Thread by =?Utf-8?B?YmFzaA==?= | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.