Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #10490
| From | Travers Naran <tnaran@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: 64-bit gotcha |
| Date | 2011-12-04 09:17 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <jbg9uo$pgs$1@dont-email.me> (permalink) |
| References | <vvujd71j7k73s1m61bu10eol0ebtn4iem0@4ax.com> <4eda8488$0$287$14726298@news.sunsite.dk> <xbKdnW4-I_26AUfTnZ2dnUVZ_qqdnZ2d@posted.palinacquisition> |
On 03/12/2011 2:01 PM, Peter Duniho wrote: > But as with Java, you cannot call native DLLs using the wrong bitness of > a .NET program. A .NET program running as a 32-bit process can call only > 32-bit DLLs, and a .NET program running as a 64-bit process can call > only 64-bit DLLs. Other than the way that the choice is made for what > kind of bitness the program is running in, it's pretty much the same > situation. That also applies to ADO.Net drivers, as we discovered at work. "I included the Oracle .net driver in the installation package, I don't know what happened!" "Did you remember Oracle's .Net driver will attempt to open DLLs already installed in the system over the ones in the program's directory?" "..." "You're app is compiled & packaged as 32-bit but running on a laptop with 64-bit Windows 7 which already has Oracle drivers installed." ".... Ohhhhh!" So don't forget to ask what OTHER DLL's your DLL is opening.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
64-bit gotcha Roedy Green <see_website@mindprod.com.invalid> - 2011-12-03 02:47 -0800
Re: 64-bit gotcha Arne Vajhøj <arne@vajhoej.dk> - 2011-12-03 15:20 -0500
Re: 64-bit gotcha Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-12-03 14:01 -0800
Re: 64-bit gotcha Roedy Green <see_website@mindprod.com.invalid> - 2011-12-03 18:17 -0800
Re: 64-bit gotcha Martin Gregorie <martin@address-in-sig.invalid> - 2011-12-04 12:06 +0000
Re: 64-bit gotcha Jeff Higgins <jeff@invalid.invalid> - 2011-12-04 08:57 -0500
Re: 64-bit gotcha Jeff Higgins <jeff@invalid.invalid> - 2012-02-25 19:15 -0500
Re: 64-bit gotcha Martin Gregorie <martin@address-in-sig.invalid> - 2012-02-26 00:53 +0000
Re: 64-bit gotcha Jeff Higgins <jeff@invalid.invalid> - 2012-02-25 20:26 -0500
Re: 64-bit gotcha Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-12-04 10:04 -0400
Re: 64-bit gotcha Arne Vajhøj <arne@vajhoej.dk> - 2012-03-12 19:50 -0400
Re: 64-bit gotcha Travers Naran <tnaran@gmail.com> - 2011-12-04 09:17 -0800
Re: 64-bit gotcha Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-12-04 18:33 -0600
Re: 64-bit gotcha Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-12-04 16:56 -0800
Re: 64-bit gotcha Arne Vajhøj <arne@vajhoej.dk> - 2012-03-12 19:53 -0400
Re: 64-bit gotcha Arne Vajhøj <arne@vajhoej.dk> - 2012-03-12 19:49 -0400
csiph-web