Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Problem with Borland C++ 5.02

Reply
Thread Tools

Problem with Borland C++ 5.02

 
 
emer@hotbox.ru
Guest
Posts: n/a
 
      03-12-2006
Greetings to everybody. I am tired of correcting the following error,
probably
you can help me.
I am writing a 16-bit application for Windows 3.1 using Borland C++
5.02.
I am developing an application for ISA DLL driver for some equipment
and I have this DLL from the manufacturer with no source. I obtained
the LIB static library from it using
IMPLIB, but as soon as I try to use functions from it I get the
message: 'Unresolved external ...'. I have tried all means: I put the
LIB into the LIB path and directory of compiler, used make file and so
on, but the compiler does not see the library derived from DLL. I cant
make it work!
I write the following code (simplified):
#include <windows.h>
#include "inc\8112.h"

void main (void)
{
W_8112_Initial(1,0x220);
return;


}

My header file (8112.h) is the following (truncated):
#ifdef __cplusplus
extern "C" {
#endif
....
int FAR PASCAL W_8112_Initial( int card_number , int base_address );
....
#ifdef __cplusplus

}

#endif
#ifdef __cplusplus
Do you have any ideas? How to force the compiler use the library? Or
may be modify the library? I have NO ideas, because I have tried
everything.

 
Reply With Quote
 
 
 
 
Keith Thompson
Guest
Posts: n/a
 
      03-12-2006
http://www.velocityreviews.com/forums/(E-Mail Removed) writes:
> Greetings to everybody. I am tired of correcting the following error,
> probably
> you can help me.
> I am writing a 16-bit application for Windows 3.1 using Borland C++
> 5.02.


You posted the same article twice, with different subject headers, 8
minutes apart.

See my response to your other article.

--
Keith Thompson (The_Other_Keith) (E-Mail Removed) <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
QUERY: Borland C++ 4.5 vs Borland Turbo C++ 1.01 dhruba.bandopadhyay@hotmail.com C++ 1 10-02-2006 10:57 AM
Where to ask about Borland C++ Builder Socket/Threading problem? J. W. McCall C++ 1 02-06-2004 09:20 AM
template problem with ostream operator (Borland compiler) Ryan M. Keith C++ 0 10-16-2003 12:39 AM
template problem with ostream operator (Borland compiler) Ryan M. Keith C++ 0 10-16-2003 12:20 AM
Problem with linking in Borland Builder C++ 5 Dariusz Plygawko C++ 3 07-11-2003 12:37 PM



Advertisments