Delphi Dll Runtime Error 216
Contents |
Runtime error 216 Pages 1 You must login or register to post a reply Topic RSS feed delphi runtime errors Posts [ 8 ] 1 Topic by qwasa 2013-01-12 09:32:29 qwasa
Runtime Error 216 Delphi
New member Offline Registered: 2012-04-22 Posts: 8 Topic: DLL and Runtime error 216 Is DLL which is caused from the main application and creates forms.At an output from DLL an error: "the Instruction on the address.... Storage cannot be read", "Runtime Error 216".In DLL connection parameters to FireBird are transferred only, at closing DLL in application the data is not transferred.This error appears on FreeLibrary (libTHHandle);if @TehHFormClose <> nil then TehHFormClose;if libTHHandle> 32 then FreeLibrary (libTHHandle);procedure TehHFormClose; stdcall;beginApplication. Handle: = MyHandle;case ch of1: beginfrm_gmain. Close;frm_gmain. Free;frm_gmain: = nil;end;The most interesting, code DLL did not change for a long time. And after compilation this error began to appear. 2 Reply by Feg16 2013-01-12 09:37:30 Feg16 Member Offline Registered: 2012-05-03 Posts: 3,466 Re: DLL and Runtime error 216 C tries to delete not existing not so COM objects. Something means all the same has been changed 3 Reply by qwasa 2013-01-12 10:14:30 qwasa New member Offline Registered: 2012-04-22 Posts: 8 Re: DLL and Runtime error 216 Code changes there were no some years...Where to search? 4 Reply by Feg16 2013-01-12 10:16:30 Feg16 Member Offline Registered: 2012-05-03 Posts: 3,466 Re: DLL and Runtime error 216 qwasa wrote: code changes were not some years...Where to search? Give code DLL 5 Reply by qwasa 2013-01-12 10:29:31 qwasa New member Offline Registered: 2012-04-22 Posts: 8 Re: DLL and Runtime error 216 +[spoiler] uses SysUtils; Classes; Forms; U_DM_gmain in ' U_DM_gmain.pas' {DM_gmain: TDataModule}; U_gmain in ' U_gmain.pas' {frm_gmain}; U_Add_gmain in ' U_Add_gmain.pas' {frm_Add_Tr}; var MyWindowsHandle, MyHandle: THandle; ch: integer; {$R *.res} procedure TehHFormShow (HApplication, H
down your search results by suggesting possible matches as you type. Showing results for Search instead for Do you mean Search the Community Advanced Search Forums | Ideas Browse by product Products 3ds Max A360 Products Advance Steel Alias APIs and Programming ArtCAM AutoCAD AutoCAD 360 AutoCAD Architecture AutoCAD Civil 3D AutoCAD Electrical AutoCAD for Mac AutoCAD Land Desktop AutoCAD LT AutoCAD Map 3D AutoCAD Mechanical AutoCAD MEP AutoCAD P&ID AutoCAD Plant 3D AutoCAD Raster Design AutoCAD Structural Detailing AutoCAD Utility Design Autodesk Media and Entertainment AutoSketch BIM 360 Building Ops Buzzsaw BXD: Synthesis CFD Configurator 360 Constructware http://www.progtown.com/topic945385-dll-and-runtime-error-216.html Design Review DWG TrueView Exchange Apps Fabrication FeatureCAM Flow Design ForceEffect FormIt 360 Fusion 360 Fusion Connect Fusion Lifecycle Fusion Team Game Making Helius Composite Helius PFA Infrastructure Map Server InfraWorks 360 Insight 360 Inventor Inventor HSM & HSMWorks CAM Maya Mechanical Desktop Mockup 360 Moldflow Nastran Nastran In-CAD Navisworks Point Layout PowerInspect PowerMill PowerShape ReCap 360 ReMake Remote Revit https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/error-216-after-delphi-dll/td-p/839320 Robot Structural Analysis Screencast & Project PRAXIS SimStudio Simulation Mechanical Smoke Structural Bridge Design Vault VRED New Users Getting Started with your Autodesk Product Suites Factory Design Utilities Product Design Suite International Forums Deutsch Español Français Português Русский Türkiye 日本語 中文 Other Forums Community Topics Autodesk Labs Archived Forums Close Visual LISP, AutoLISP and General Customization Autodesk Community > AutoCAD > AutoCAD Customization > Visual LISP, AutoLISP and General Customization > Error 216 after Delphi DLL AutoCAD: AutoCAD Customization: Visual LISP, AutoLISP and General Customization: Error 216 after Delphi DLL: Page 1 Visual LISP, AutoLISP and General Customization Reply Topic Options Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the Top Bookmark Subscribe Printer Friendly Page « Message Listing « Previous Topic Next Topic » *Dueñas, P. F.
we will discuss things relating the ZEOSLib 6.6.x stable versions Moderators: gto, EgonHugeist Post Reply Print view Search Advanced search http://zeoslib.sourceforge.net/viewtopic.php?t=2065 2 posts • Page 1 of 1 montroni Fresh Boarder Posts: 2 Joined: 21.10.2008, 13:12 RunTime Error 216 When Programming with DLL´s Quote Postby montroni » 22.10.2008, 11:34 Good Day experts in Delphi + Zeos. I installed the Zeos Stable version 6.6.3 in my Delphi 7 and communication works perfectly in a common format and to use the so-called runtime error Zeus a DLL he also works fine until the moment they leave the program when it generates an exception code Run 216-time error at ????????, looked at all areas of the forum and found a solution that was to put the following lines in the event of Destroy LoadLibrary of each unit being mysql him: destructor TZMySQLNativeLibraryLoader.Destroy; begin if (Loaded) runtime error 216 and (@api_rec.mysql_server_end <> nil) then api_rec.mysql_server_end; inherited Destroy; end; Except that the units are already in version 6.6.3 with the code above, then tried to catch the libmysql of other distributions and nothing worked, does someone have to give a hint? As I said Mysql5.0 use Zeos + + Delphi 7 and the problem only happens if you run Zeos a DLL, so it was seeing it seems that this is because when you call the Zeos it creates an instance of limysql executed for each call and when you close the libmysql the program is no longer in memory and overall generation of the error but how can resolve this situation? PS: I tried to use the following LIBs: * What is the distribution mysql (2076672 bytes) * What comes with the package Zeos version 6.6.0 (1470464 bytes) that already in the 6.6.3 download had not the dlls (sourceforge) * I tried to change the protocol in zconnection for mysql - mysql 5 - mysqld5. * I tried to change the name of the DL