473,405 Members | 2,160 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,405 software developers and data experts.

lib file --> dll

RF
Hi All,

I have a project in vc with an output in *.lib. When I compile in lib
format, everything works fine, when I want to convert to dll, but it gives
me an error on "LNK2019" and "LNK2001".

Can anyone help?

Thanks,

RF
Nov 17 '05 #1
1 1007
This means that there are some symbols (variable, function, ...) that your
code refers to, that you have not defined, hence the linker fails to find it
and reports an error. The line following the LNK2001 error should give you
the name of the variable/function that the elinker is not finding.

While creating the lib, only the sources are compiled and combined to create
a single lib and no linking that resolves external symbol names are done. So
creating a lib does not result in a error.

I assume that you had a lib that you linked with some other source and now
you want to convert the lib to a dll. If this is so then locate the
variables/functions in the source that the lib refered to. You would need to
move them to the dll code base and then try building the dll.

"RF" <ra*******@SPAMdialexia.com> wrote in message
news:eT**************@tk2msftngp13.phx.gbl...
Hi All,

I have a project in vc with an output in *.lib. When I compile in lib
format, everything works fine, when I want to convert to dll, but it gives
me an error on "LNK2019" and "LNK2001".

Can anyone help?

Thanks,

RF

Nov 17 '05 #2

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

Similar topics

4
by: Siemel Naran | last post by:
My compiler (Borland C++) fails to compile this code: ifstream file(filename.c_str()); ostringstream out; file >> out.rdbuf(); with the error in the 3rd line above that: realmain.cpp(83):...
0
by: sharpener | last post by:
I'm new to C# and to newsgroups, so please bear with a possibly foolish query. I'll try to be sensible. The results of /// <summary> ... </summary> etc. appear immediately in the Object...
2
by: Joey Lee | last post by:
Hi, Does anyone know how I am able to write a utf-8 encoded binary string into binary file? Currently I am given a UTF-8 string which was read from a gif image. Here are my functions... ...
0
by: G | last post by:
In IE you can File, Send, Page By Email, and I was wondering if there was a way to do this in ASP.NET. I'm creating a number of reports and I would like to replicate what IE does with a link or...
2
by: alan | last post by:
Hi, i want to block the ”file --> New --> Window” option from the internet explorer in the pages from one off my asp.net 1.1 applications. Is it possible to block it by code in the site?...
3
by: Andr | last post by:
Hi, I put that question already, but it's still not very clear to me, so ... Assume following option in web.config= debug="false" but in one aspx page (test.aspx) <%@ debug="true" ..%>
4
by: SammyBar | last post by:
Hi all, I wonder is it possible to upload the content of an <imgfield to a server. The content of the <imgwas downloaded from a web site different from the one it should be uploaded. The image...
0
by: Alfonso Moreno | last post by:
Hi, - First, beofre update to SP1, I cannot create A Web Application Project in C#, only File -New -Web Site. - After update to SP1 the problem with the Web Application project was solved,...
0
by: Michaeli Yair | last post by:
Hi all, I imported a comma seperated data to PyGridTableBase which is a abstract Grid, I parse and display the information. After update i want to save it back to the comma seperated file, eith...
2
by: vincentregent | last post by:
Hi, When I try to create a new website, the web.config file in the solution explorer is missing. Normally, asp.net should create it by default. Can someone help me??? thanx
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.