Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
June 17, 2004 updating libraries | ||||
---|---|---|---|---|
| ||||
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! |
June 17, 2004 Re: updating libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to rudy | 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/ |
June 17, 2004 Re: updating libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to rudy | "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 |
June 20, 2004 Re: updating libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to Julio César Carrascal Urquijo | 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/ |
June 20, 2004 Re: updating libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to rudy | 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/ > > |
June 21, 2004 Re: updating libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to rudy | "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 |
June 21, 2004 Re: updating libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to rudy Attachments: | 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.def > 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/ -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/ |
June 21, 2004 Re: updating libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander B. | 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 > > |
Copyright © 1999-2021 by the D Language Foundation