duong van yen wrote: > Dear group, > I am using C++ Borland Builder, when I change the > property ACTIVE of ClientDataSet and SQLDataSet > components from false to true, I get this error: > "Unable to load gds32.dll" ! > can any one in this group tell me why and how to > overcome this error? > thanks in advance ! > Best regards, > Duong Van Yen
Duong, A quick Google search turned up: http://info.borland.com/devsupport/bcppbuilder/IBCTRLS.CPP ----- // Attempt to load GDS32.DLL. If this fails then raise an exception. // This will cause the component not to be created LibHandle = (int) LoadLibrary("gds32.dll"); if( LibHandle < 32 ) //then throw( EDLLLoadError("Unable to load gds32.dll") ); ----- The above code is wrong according to the documentation for LoadLibrary(), so throwing the error may also be wrong. In other words, you could be seeing a bug in the software. The other possibility is that gds32.dll on the system can't be located (do you have InterBase components installed?). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
