digitalmars.D - updating libraries
- rudy (4/4) Jun 17 2004 odbc32.lib is from 1995 and seems to lack odbc 3.x functions. Is there s...
- =?ISO-8859-1?Q?Julio_C=E9sar_Carrascal_Urquijo?= (6/11) Jun 17 2004 implib -s odbc32.dll
- rudy (3/14) Jun 20 2004 Great - thanks!
- rudy (7/26) Jun 20 2004 hmmm. I tried implib, Borland's implib, using odbc32.def instead of odbc...
-
Carlos Santander B.
(19/19)
Jun 20 2004
"rudy"
escribió en el mensaje - rudy (2/21) Jun 20 2004
- J C Calvarese (10/39) Jun 20 2004 You probably need to use a .def file with implib (such as the attached
-
Carlos Santander B.
(12/12)
Jun 17 2004
"rudy"
escribió en el mensaje
odbc32.lib is from 1995 and seems to lack odbc 3.x functions. Is there some way I can update this library, either a download or creating it from a newer odbc32 library? Thanks!
Jun 17 2004
rudy wrote:odbc32.lib is from 1995 and seems to lack odbc 3.x functions. Is there some way I can update this library, either a download or creating it from a newer odbc32 library? Thanks!implib -s odbc32.dll Usually does the trick. -- Julio César Carrascal Urquijo http://jcesar.f2o.org/
Jun 17 2004
Great - thanks! In article <cat4l8$2buq$1 digitaldaemon.com>, =?ISO-8859-1?Q?Julio_C=E9sar_Carrascal_Urquijo?= says...rudy wrote:odbc32.lib is from 1995 and seems to lack odbc 3.x functions. Is there some way I can update this library, either a download or creating it from a newer odbc32 library? Thanks!implib -s odbc32.dll Usually does the trick. -- Julio César Carrascal Urquijo http://jcesar.f2o.org/
Jun 20 2004
hmmm. I tried implib, Borland's implib, using odbc32.def instead of odbc32.dll, but haven't been able to create anything the linker likes. I keep getting "Error 42: Symbol Undefined _SQLAllocHandle 12". I can get "_SQLAllocHandle" to appear in my new odbc32.lib, but not "_SQLAllocHandle 12". Also, "implib -s" doesn't work for me, I have to type "implib /s" - maybe I have the wrong version (7.6B1n)? In article <cb4hcj$tbo$1 digitaldaemon.com>, rudy says...Great - thanks! In article <cat4l8$2buq$1 digitaldaemon.com>, =?ISO-8859-1?Q?Julio_C=E9sar_Carrascal_Urquijo?= says...rudy wrote:odbc32.lib is from 1995 and seems to lack odbc 3.x functions. Is there some way I can update this library, either a download or creating it from a newer odbc32 library? Thanks!implib -s odbc32.dll Usually does the trick. -- Julio César Carrascal Urquijo http://jcesar.f2o.org/
Jun 20 2004
"rudy" <rudy_member pathlink.com> escribió en el mensaje news:cb523i$1lnm$1 digitaldaemon.com | hmmm. I tried implib, Borland's implib, using odbc32.def instead of odbc32.dll, | but haven't been able to create anything the linker likes. I keep getting "Error | 42: Symbol Undefined _SQLAllocHandle 12". I can get "_SQLAllocHandle" to appear | in my new odbc32.lib, but not "_SQLAllocHandle 12". Also, "implib -s" doesn't | work for me, I have to type "implib /s" - maybe I have the wrong version | (7.6B1n)? | | Use dmd's: the formats are different. And, yes, switches are done with "/". About the symbols, odbc32.dll defines functions with C linkage, so use extern(C) instead of extern(Windows). ----------------------- Carlos Santander Bernal
Jun 20 2004
Cool - it works. Thanks much! In article <cb59fe$201n$1 digitaldaemon.com>, Carlos Santander B. says..."rudy" <rudy_member pathlink.com> escribió en el mensaje news:cb523i$1lnm$1 digitaldaemon.com | hmmm. I tried implib, Borland's implib, using odbc32.def instead of odbc32.dll, | but haven't been able to create anything the linker likes. I keep getting "Error | 42: Symbol Undefined _SQLAllocHandle 12". I can get "_SQLAllocHandle" to appear | in my new odbc32.lib, but not "_SQLAllocHandle 12". Also, "implib -s" doesn't | work for me, I have to type "implib /s" - maybe I have the wrong version | (7.6B1n)? | | Use dmd's: the formats are different. And, yes, switches are done with "/". About the symbols, odbc32.dll defines functions with C linkage, so use extern(C) instead of extern(Windows). ----------------------- Carlos Santander Bernal
Jun 20 2004
rudy wrote:hmmm. I tried implib, Borland's implib, using odbc32.def instead of odbc32.dll, but haven't been able to create anything the linker likes. I keep getting "Error 42: Symbol Undefined _SQLAllocHandle 12". I can get "_SQLAllocHandle" to appear in my new odbc32.lib, but not "_SQLAllocHandle 12". Also, "implib -s" doesn't work for me, I have to type "implib /s" - maybe I have the wrong version (7.6B1n)?You probably need to use a .def file with implib (such as the attached one). Often when I create a .def file, it's a trial-and-error approach, so you'll likely need to add some definitions for functions that you're using that I didn't use, but the linker hints at what they should be. I think this is the proper syntax with DM's implib: implib odbc32.lib odbc32.defIn article <cb4hcj$tbo$1 digitaldaemon.com>, rudy says...-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/Great - thanks! In article <cat4l8$2buq$1 digitaldaemon.com>, =?ISO-8859-1?Q?Julio_C=E9sar_Carrascal_Urquijo?= says...rudy wrote:odbc32.lib is from 1995 and seems to lack odbc 3.x functions. Is there some way I can update this library, either a download or creating it from a newer odbc32 library? Thanks!implib -s odbc32.dll Usually does the trick. -- Julio César Carrascal Urquijo http://jcesar.f2o.org/
Jun 20 2004
"rudy" <rudy_member pathlink.com> escribió en el mensaje news:cat19v$26up$1 digitaldaemon.com | odbc32.lib is from 1995 and seems to lack odbc 3.x functions. Is there some way | I can update this library, either a download or creating it from a newer odbc32 | library? | | Thanks! Use implib on odbc32.dll ----------------------- Carlos Santander Bernal
Jun 17 2004