473,385 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problem with Borland C++ 5.02

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.

Mar 12 '06 #1
1 2079
em**@hotbox.ru 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) ks***@mib.org <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.
Mar 12 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: jbruno4000 | last post by:
I'm using the Borland 5.5 Standard Edition compiler and recently started having an io problem. When I Run my applications, after compiling and linking, there is no output to the output window! it's...
0
by: Heikki Tuuri | last post by:
Hi! Many people have complained over years that Borland's dbExpress driver does not work with MySQL and transactions, because it disconnects from mysqld after each SQL statement. The postings...
17
by: Ziggi | last post by:
Hi. I want to get a C++ IDE, but I dont know whether to go for Bill Gate's solution or Borland's. Could any kind folks detail the relative strength and weaknesses of both, and also tell me which...
4
by: NathanAllen | last post by:
First of all to let you know I am using the following compiler: Borland C++Builder 5.5.1 with Turbo Incremental Link 5.00 When I tried to make my first GUI drawing following Lawernceville Press's...
3
by: shuusaku | last post by:
Dear all, I'm not sure this is the right place to ask for help, but I cannot find any solution anywhere else, I hope you could help me. I'm using Borland C++ Builder 6 with TeeChart v4.04...
3
by: scott.sara.news | last post by:
I am having major problems accessing some API's and I believe the problem is a 16-bit app. I originally had an application written in Borland Builder C++ 6 (32-bit)that loaded some API's for a...
3
by: thelaery | last post by:
Hi, I'm trying to read the belgium eid card which gives out utf8, i can convert it to ansi but now i have the problem of converting the special chart to oem. utf8 to ansi...
4
by: darrensjunkaccount | last post by:
Hi, I have just inherited some embedded software that was compiled with Borland 4.52. I need to either purchase that compiler, which Borland no longer appear to sell or alternatively source an...
17
by: Fabry | last post by:
Hi All, I'm new of this group and I do not know if this is the correct group for my question. I have a DLL with its export library (.lib) wrote in Borland C++ 6. In borland everything is OK and...
0
by: DevEng | last post by:
Hi all, I am new to Python and trying to embed it into a c/c++ application. I started with examples from the documentation pages and go to the Pure Embedding example...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.