C/FRONT - DBL_Exit function

varod
Member Posts: 14
Hi,
I'm using a .Net Wrapper written by Power Roy and i get an exception during exiting my application.
In my code, when i finish my queries, i call DBL_Exit function and i get the following message :
Attempted to read or write protected memory. This is often an indication that other memory is corrupt
I don't know if i really have corrupt memory but if someone get this error and fixed it, please help me
I'm working on Navision 2.60 without remote connexion.
Thanks in advance,
Vince.
I'm using a .Net Wrapper written by Power Roy and i get an exception during exiting my application.
In my code, when i finish my queries, i call DBL_Exit function and i get the following message :
Attempted to read or write protected memory. This is often an indication that other memory is corrupt
I don't know if i really have corrupt memory but if someone get this error and fixed it, please help me

I'm working on Navision 2.60 without remote connexion.
Thanks in advance,
Vince.
0
Comments
-
i know there a lot of errors in my wrapper class :roll:
maybe the errors accor if there's an company/table etc open
had no time to dig into this (only made the wrapper for performance testing)0 -
I don't think there is a problem in your wrapper class ... I verify that everything are closed before exiting CFRONT.
It might have a tips before exiting.
I get a similar problem when i try to access two times in the same thread to navision... Maybe something when disconnecting.
Thanks,
Vince0 -
I find the solution of my previous problem. The database was open by a previous app which had bugged.
Vince.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions