Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Kako se kreira .lib fajl u VC++ ?

[es] :: C/C++ programiranje :: Kako se kreira .lib fajl u VC++ ?

[ Pregleda: 3314 | Odgovora: 6 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Predrag Damnjanovic
Predrag Damnjanovic
Nis, Srbija

Član broj: 141
Poruke: 1305
*.45.EUnet.yu

Sajt: www.mycity.rs


+1 Profil

icon Kako se kreira .lib fajl u VC++ ?09.03.2002. u 18:46 - pre 269 meseci
Pisem jedan FAQ, pa me interesuje kako da kreiram u VC++u .lib fajl, preuzimajuci imena funkcija iz nekod DLL-a?
Ja koristim borland, a kod njega se to radi ovako:
implib [ime].lib [ime].dll

Interesuje me kako se to radi kod VC++a.
 
Odgovor na temu

Dragi Tata
Malo ispod Kanade

Član broj: 1958
Poruke: 3906
..g-c5300-1.dialup.nethere.net



+6 Profil

icon Re: Kako se kreira .lib fajl u VC++ ?09.03.2002. u 22:13 - pre 269 meseci
http://www.geocities.com/SiliconValley/5806/implib32.htm
 
Odgovor na temu

Predrag Damnjanovic
Predrag Damnjanovic
Nis, Srbija

Član broj: 141
Poruke: 1305
*.50.EUnet.yu

Sajt: www.mycity.rs


+1 Profil

icon Re: Kako se kreira .lib fajl u VC++ ?09.03.2002. u 22:27 - pre 269 meseci

Zanimljivo je to da sam tu stranicu posetio pre otvaranja ovog threada, ali nisam bio zadovoljan onim sto sam procitao na njoj.
Naime, tamo pise "for Visual C++ 2.x/4.x/5.x", a sta je sa 6.x i 7.0?
Zar VC++ nema svoj prirodan implib, kao borland ?
 
Odgovor na temu

Ivan Dimkovic

Administrator
Član broj: 13
Poruke: 16687
*.verat.net



+7177 Profil

icon Re: Kako se kreira .lib fajl u VC++ ?09.03.2002. u 22:31 - pre 269 meseci
link.exe /implib

DigiCortex (ex. SpikeFun) - Cortical Neural Network Simulator:
http://www.digicortex.net/node/1 Videos: http://www.digicortex.net/node/17 Gallery: http://www.digicortex.net/node/25
PowerMonkey - Redyce CPU Power Waste and gain performance! - https://github.com/psyq321/PowerMonkey
 
Odgovor na temu

Predrag Damnjanovic
Predrag Damnjanovic
Nis, Srbija

Član broj: 141
Poruke: 1305
*.50.EUnet.yu

Sajt: www.mycity.rs


+1 Profil

icon Re: Kako se kreira .lib fajl u VC++ ?09.03.2002. u 22:38 - pre 269 meseci
Citat:
Ivan Dimkovic:
link.exe /implib

I koji su mu parametri?
 
Odgovor na temu

Predrag Damnjanovic
Predrag Damnjanovic
Nis, Srbija

Član broj: 141
Poruke: 1305
*.50.EUnet.yu

Sajt: www.mycity.rs


+1 Profil

icon Re: Kako se kreira .lib fajl u VC++ ?09.03.2002. u 22:59 - pre 269 meseci
Tata, pazi sta na onoj strani (http://msdn.microsoft.com/libr...en-us/dnopen/html/msdn_gl1.asp) pise:
------
Link with the following libraries:
OPENGL32.LIB
GLU32.LIB
GLAUX.LIB (optional)

-----
Da li to znaci da VC++ vec ima ove LIB-ove?
Heh, a ja celo vece trazim po netu kako se kreiraju LIB fajlovi u VC++u.
 
Odgovor na temu

Ivan Dimkovic

Administrator
Član broj: 13
Poruke: 16687
*.verat.net



+7177 Profil

icon Re: Kako se kreira .lib fajl u VC++ ?09.03.2002. u 23:33 - pre 269 meseci
Naravno da ima - nalaze se u /MSVC/LIB/ direktorijumu - jos od verzije Visual C++ 2.0

I, pogledaj malo MSDN

Citat:

You can use LIB with the /DEF option to create an import library and an export file. LINK uses the export file to build a program that contains exports (usually a dynamic-link library (DLL)), and it uses the import library to resolve references to those exports in other programs.

In most situations, you do not need to use LIB to create your import library. When you link a program (either an executable file or a DLL) that contains exports, LINK automatically creates an import library that describes the exports. Later, when you link a program that references those exports, you specify the import library.

However, when a DLL exports to a program that it also imports from, whether directly or indirectly, you must use LIB to create one of the import libraries. When LIB creates an import library, it also creates an export file. You must use the export file when linking one of the DLLs.

DigiCortex (ex. SpikeFun) - Cortical Neural Network Simulator:
http://www.digicortex.net/node/1 Videos: http://www.digicortex.net/node/17 Gallery: http://www.digicortex.net/node/25
PowerMonkey - Redyce CPU Power Waste and gain performance! - https://github.com/psyq321/PowerMonkey
 
Odgovor na temu

[es] :: C/C++ programiranje :: Kako se kreira .lib fajl u VC++ ?

[ Pregleda: 3314 | Odgovora: 6 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.