Re: [BLACKBOX] .lib for .dll files

From: [at]} <Alexander>
Date: Fri, 4 Sep 2009 03:39:24 +0400

----boundary-LibPST-iamunique-658590723_-_-
Content-type: text/plain

Hello!

> I am writing dll files for a customer and they would like to
> have the associated .lib (import library) but BlackBox does
> not specify how to generate them.
> Have any of you done this?
> Do you have any code to generate a .lib file?

  There is a tool "xlib" in the XDS package: http://www.excelsior-usa.com/download/xds25x/xds-x86-251-enduser-win32.exe
  Just use either "xlib /implib libname.lib libname.dll" or create an Import Definition File (IDF) and use "xlib /implib libname.lib libname.idf".

  I'm not an expert at this, but as far as I know, libraries can link the code either statically or dynamically. XDS xlink will only produce the dynamic version, which means the application using the library will require the dll. I don't know of a way to produce a statically linkable library with either XDS or BlackBox (maybe "POW!"?).

  Alternatively, you can try this: http://www.binary-soft.com/dll2lib/dll2lib.htm

  That's all I know.

---=====---
 Alexander


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-658590723_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvIVxwYXINClxwYXINCj4gSSBhbSB3cml0
aW5nIGRsbCBmaWxlcyBmb3IgYSBjdXN0b21lciBhbmQgdGhleSB3b3VsZCBsaWtlIHRvXHBhcg0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NrQm94IChtYXliZSAiUE9XISI/KS5ccGFyDQpccGFyDQogIEFsdGVybmF0aXZlbHksIHlvdSBj
YW4gdHJ5IHRoaXM6IGh0dHA6Ly93d3cuYmluYXJ5LXNvZnQuY29tL2RsbDJsaWIvZGxsMmxpYi5o
dG1ccGFyDQpccGFyDQogIFRoYXQncyBhbGwgSSBrbm93LlxwYXINClxwYXINCi0tLT09PT09LS0t
XHBhcg0KIEFsZXhhbmRlclxwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmli
ZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VS
VkBMSVNUUy5PQkVST04uQ0h9fQB1VDBK
----boundary-LibPST-iamunique-658590723_-_---
Received on Fri Sep 04 2009 - 01:39:24 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:42 UTC