Runtime Error 216 on Program Shutdown on Delphi 2006 (10)
Moderators: gto, cipto_kh, EgonHugeist
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
SVN is the Subversion protocol. So you'll need a subversion client. That's the version control system we use (like cvs).
If you take the highest version at http://users.telenet.be/mdaems it's exactly the same source. (maybe one or two small commits different, but of no importance to your problem) So you don't have to install this extra software. If you want to follow the zeoslib development closely (updating from version control, writing patches,...) it would be a nice extra, however.
Mark
If you take the highest version at http://users.telenet.be/mdaems it's exactly the same source. (maybe one or two small commits different, but of no importance to your problem) So you don't have to install this extra software. If you want to follow the zeoslib development closely (updating from version control, writing patches,...) it would be a nice extra, however.
Mark
MZmuda,
All subfolders for folder ZeosLib
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\component
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\core
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\dbc
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\parsesql
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\plain
All subfolders for folder ZeosLib
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\component
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\core
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\dbc
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\parsesql
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\plain
Dorin Hongu
Hi, Dorin,
I have added those 5 subfolders:
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\component
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\core
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\dbc
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\parsesql
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\plain
Should I now Open the Project:
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\packages\delphi10\ZComponent.dpk
?
Thanks -
- Mike Z.
I have added those 5 subfolders:
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\component
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\core
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\dbc
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\parsesql
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\src\plain
Should I now Open the Project:
C:\Program Files\Borland\BDS\4.0\Third_Party_Components\ZeosLib\packages\delphi10\ZComponent.dpk
?
Thanks -
- Mike Z.
Hi, Mark,
When I load ZCore, I am presented with a prompt: "Upgrading Project: ZCore.dpk - This proiject must be upgraded before it can be opened. Please select which project type you wish to target."
I am presented with two options: Delphi for Win32, and Delphi for .NET.
For all of my past attempts, I have been trying to convert it to Win32. Is this the correct course of action, or should I be converting to .NET? (Does it matter?)
Also, this should be the same for ALL of the components, correct?
Thanks -
Mike Z.
When I load ZCore, I am presented with a prompt: "Upgrading Project: ZCore.dpk - This proiject must be upgraded before it can be opened. Please select which project type you wish to target."
I am presented with two options: Delphi for Win32, and Delphi for .NET.
For all of my past attempts, I have been trying to convert it to Win32. Is this the correct course of action, or should I be converting to .NET? (Does it matter?)
Also, this should be the same for ALL of the components, correct?
Thanks -
Mike Z.
Hi, Mark,
Well, it looks good so far - the components (ZCore, ZParseSql, ZPlain and ZComponent) all compiled correctly. (I should note that, upon CLOSING the components, it asked to SAVE the components, and I DID. Please let me know if this was a mistake.) Furthermore, I clicked INSTALL for the ZComponent project, and Delphi alerted me that the component was installed.
After that, I restarted Delphi. I should now be "good to go" with creating an application, correct?
- Mike Z.
Well, it looks good so far - the components (ZCore, ZParseSql, ZPlain and ZComponent) all compiled correctly. (I should note that, upon CLOSING the components, it asked to SAVE the components, and I DID. Please let me know if this was a mistake.) Furthermore, I clicked INSTALL for the ZComponent project, and Delphi alerted me that the component was installed.
After that, I restarted Delphi. I should now be "good to go" with creating an application, correct?
- Mike Z.
Hi, Mark, Dorin,
I would like to report that on THIS system (brand new, no other software running on it,) ZeosLib compiled, was installed, and ran properly. While doing the EXACT same things on THREE other computer systems, some component failed. IE: ZComponent would not compile or install; the component WOULD install, but would not compile when needed by a host program; the component WOULD install and compile, but would report an Access Violation 00000000 when terminating...
I have since created the same, simple program (database, table, datasource, grid) set up all of the connections, and successfully run the program.
The only thing that I can see is different between the computers is the OS -
One of my computers contains Windows XP Media Center Edition, two contain Windows XP Home edition. Neither of these OS variants would properly compile / install / run the ZeosLib when so required. Surprisingly, ZeosLib WOULD install on an XP Pro (sp2) box.
Is ZeosLib restricted in that it must be compiled under XP Pro when being used in Delphi 10? (I have spoken with the tech support folks at Borland, and they have told me that Delphi DOES work on XP Home, however, only Win32 programs can be created, but components should not be affected...)
Have you encountered this strangeness at any other times?
Also, thank you for your patience with this. I am VERY happy to have Zeos back in my programming arsenal. (You don't know how hard it was living without it these past few weeks!)
Thanks again!
- Mike Zmuda.
I would like to report that on THIS system (brand new, no other software running on it,) ZeosLib compiled, was installed, and ran properly. While doing the EXACT same things on THREE other computer systems, some component failed. IE: ZComponent would not compile or install; the component WOULD install, but would not compile when needed by a host program; the component WOULD install and compile, but would report an Access Violation 00000000 when terminating...
I have since created the same, simple program (database, table, datasource, grid) set up all of the connections, and successfully run the program.
The only thing that I can see is different between the computers is the OS -
One of my computers contains Windows XP Media Center Edition, two contain Windows XP Home edition. Neither of these OS variants would properly compile / install / run the ZeosLib when so required. Surprisingly, ZeosLib WOULD install on an XP Pro (sp2) box.
Is ZeosLib restricted in that it must be compiled under XP Pro when being used in Delphi 10? (I have spoken with the tech support folks at Borland, and they have told me that Delphi DOES work on XP Home, however, only Win32 programs can be created, but components should not be affected...)
Have you encountered this strangeness at any other times?
Also, thank you for your patience with this. I am VERY happy to have Zeos back in my programming arsenal. (You don't know how hard it was living without it these past few weeks!)
Thanks again!
- Mike Zmuda.
@all: Hi!
Using D2006 - Enterprise Edition (ger.) - Version: 10.0.2288.42451 Update 2 (also applied the Hotfixes) and solved the problem like this (thx to Mark for the hint!).
@Mark: Had diverse probs using your "@"-Version
[syntax="delphi"]destructor TZMySQLNativeLibraryLoader.Destroy;
begin
if (Loaded) and (GetAddress('mysql_server_end') <> nil) then
api_rec.mysql_server_end;
inherited Destroy;
end;[/syntax]
You have to extend this method in all the ZPlainMySqlxx.pas files. Compiles and runs perfectly
Regards!
Using D2006 - Enterprise Edition (ger.) - Version: 10.0.2288.42451 Update 2 (also applied the Hotfixes) and solved the problem like this (thx to Mark for the hint!).
@Mark: Had diverse probs using your "@"-Version
[syntax="delphi"]destructor TZMySQLNativeLibraryLoader.Destroy;
begin
if (Loaded) and (GetAddress('mysql_server_end') <> nil) then
api_rec.mysql_server_end;
inherited Destroy;
end;[/syntax]
You have to extend this method in all the ZPlainMySqlxx.pas files. Compiles and runs perfectly
Regards!