Re: [BLACKBOX] .lib for .dll files

From: Douglas G. Danforth <"Douglas>
Date: Thu, 3 Sep 2009 17:29:08 -0700

----boundary-LibPST-iamunique-1522852404_-_- Content-type: text/plain Alexander, Thank you. Years ago I looked at XDS and didn't like it. I'll go back and take a peak. -Doug Alexander Iljin wrote: 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 ---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy ----boundary-LibPST-iamunique-1522852404_-_- Content-type: application/rtf Content-transfer-encoding: base64 Content-Disposition: attachment; filename="rtf-body.rtf" e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbWh0bWwxIFxkZWZmMHtcZm9udHRibA0Ke1xmMFxm c3dpc3MgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJcZm5pbFxmY2hh cnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBOZXc7fX0NCntc Y29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7fQ0KXHVjMVxw YXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyNCANCntcKlxodG1sdGFnMjQzIDwhRE9DV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h0bWxydGYge1xmaWVsZHtcKlxmbGRpbnN0e0hZ UEVSTElOSyAibWFpbHRvOkxJU1RTRVJWQExJU1RTLk9CRVJPTi5DSCJ9fXtcZmxkcnNsdFxjZjFc dWwgXGh0bWxydGYwIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSFxodG1scnRmIH1caHRtbHJ0ZjAg XGh0bWxydGYgfVxodG1scnRmMCANCntcKlxodG1sdGFnOTIgPC9hPn1cbGluZQ0KXGxpbmUNCiAg XGh0bWxydGZccGFyfVxodG1scnRmMA0KDQp7XCpcaHRtbHRhZzEzNiA8L3ByZT59XGh0bWxydGYg fVxodG1scnRmMCANCntcKlxodG1sdGFnMCBccGFyIH0NCntcKlxodG1sdGFnMTA0IDwvYmxvY2tx dW90ZT59XGh0bWxydGYgfVxwYXINClxodG1scnRmMCANCntcKlxodG1sdGFnMCBccGFyIH0NCntc KlxodG1sdGFnNTggPC9ib2R5Pn0NCntcKlxodG1sdGFnMiBccGFyIH0NCntcKlxodG1sdGFnMjcg PC9odG1sPn0NCntcKlxodG1sdGFnMyBccGFyIH0NCntcKlxodG1sdGFnNjQgPHA+fVxodG1scnRm IHtcaHRtbHJ0ZjAgDQp7XCpcaHRtbHRhZzQgXHBhciB9LS0tLQ0Ke1wqXGh0bWx0YWc0IFxwYXIg fVxodG1scnRmICBcaHRtbHJ0ZjAgVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGgg Ym9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIDQp7XCpc aHRtbHRhZzQgXHBhciB9XGh0bWxydGYgIFxodG1scnRmMCBcaHRtbHJ0ZlxwYXJ9XGh0bWxydGYw DQp9 ----boundary-LibPST-iamunique-1522852404_-_--- Received on Fri Sep 04 2009 - 02:29:08 UTC

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