Board index » delphi » IBX Dependancy on gds32.dll
J Hall
![]() Delphi Developer |
Sun, 11 Jul 2004 17:28:08 GMT
|
J Hall
![]() Delphi Developer |
Sun, 11 Jul 2004 17:28:08 GMT
IBX Dependancy on gds32.dll
Hi,
I have a non-database app that shares some classes with an IBX app, If I install this app on a machine without gds32.dll I get access Could this be a problem with IBX or with my code? Currently I am including the IB client install in my installation, but And yes, before any points it out, I should redesign my classes <g> J |
Martijn Tonie
![]() Delphi Developer |
Sun, 11 Jul 2004 18:14:01 GMT
Re:IBX Dependancy on gds32.dllI believe that as soon as one IBX component gets created, it will use gds32.dll ... but, I'm not completely sure on that... -- InterBase Workbench - The Developer Tool for InterBase "Experience is what you get when you didn't get what you wanted" "J Hall" <j...@hall.com> schreef in bericht Quote> Hi, |
Craig Stunt
![]() Delphi Developer |
Sun, 11 Jul 2004 22:48:25 GMT
Re:IBX Dependancy on gds32.dllIn article <MPG.16b89280c6aba289989...@newsgroups.borland.com>, j...@hall.com says... Quote
IBIntf.pas. Check "Use Debug DCUs" in Project->Options->Compiler. Then do a Build on your project. Put a breakpoint on this method and run. When it trips, look at the Call Stack. HTH, -Craig -- |
J Hal
![]() Delphi Developer |
Mon, 12 Jul 2004 06:13:49 GMT
Re:IBX Dependancy on gds32.dllIn article <MPG.16b8974534788460989...@newsgroups.borland.com>, Quotecstuntz@no_spam.vertexsoftware.com wrote... Quote> > Could this be a problem with IBX or with my code? when using the IBX runtime package and not when 'compiled in'. We deploy with packages (so I could not fix the IBX source if that was Cheers j |
Team
![]() Delphi Developer |
Mon, 12 Jul 2004 11:24:50 GMT
Re:IBX Dependancy on gds32.dllThe only things that get the gds32.dll loaded are instantiating TIBDatabase, TIBCustomDataSet, TIBDatabaseInfo, TIBEvents, an IBService, IBSQL or TIBTransaction. Basically the components that make up IBX. No where other than in constructors of the objects does IBX call CheckIBLoaded, TryIBLoad or GetIBClientVersion (the three ways that gds32.dll will get loaded by IBX). Somewhere you must be instantiating an object somewhere you don't know about because just having the IBX units in the uses clause is not enough to force a gds32.dll load. QuoteJ Hall wrote: Jeff Overcash (TeamB) (Please do not email me directly unless asked. Thank You) A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. (RAH) |
J Hal
![]() Delphi Developer |
Tue, 13 Jul 2004 07:33:27 GMT
Re:IBX Dependancy on gds32.dllIn article <3C4F7E82.E9560...@mindspring.com>, Quotejeffoverc...@mindspring.com wrote... Quote> The only things that get the gds32.dll loaded are instantiating TIBDatabase, viewer, only show that the initialization/finalization sections are being called, nothing else. Quote> because just having the IBX units in the uses clause is not enough to force a without runtime packages there is no problem, with or without gds32.dll, but when built with runtime packages I get the AV almost immediately. I have put breakpoints on all the method in IBX that actually loads gds32.dll, and breakpoints on all the initialization/finalization sections, but the AV happens before any of those is reached. What I am going to do now I have 'fixed' my app by re-writing it, is rip as much out of the old version to have a small test case. j |