AutoCAD .NET :: APPCRASH Error When Exiting RealDWG WinForms App

May 24, 2013

I have developed a C# winforms app with RealDWG SDK. When I close my form I get the "App has stopped working" error below. I've added in some Dispose methods to see if that was the issue, but I still get the error.

I added a dispose method to my HostApplication class and I called my Winform dispose method. I thought that the error was caused by unfinished RealDWG business at the Form Closing event.I am using RealDWG 2013, Visual Studio 2010 SP1, Windows 7 64-bit. I also have AutoCAD 2012 and 2013 installed.

I know that AutoCAD and RealDWG both use acdb19.dll. My app contains 6 classes with around 1000 lines of code on each class, so to paste in my code would be impossible. Here is my code structure.

I start by implementing a HostApplicationService Class (MyHost.cs)

Then I call my Windows Form. (MainForm.cs)

From my form I collect object data from a SqlDatabase.

Once the data is acquired, I send the data to a Class that handles my AutoCAD classes. (AutoCAD.cs)

In this class I create my RealDWG Database.

Next I pass the database to various IDisposable classes that perform AutoCAD actions.

I.E, CreateTitleBlock() CreateLayers(), DrawShape(); etc..

Everything works great, except when I go to close the app, I get the error. I dispose everything I can think of right before exiting.

I've tried:
this.Close();
Application.Exit();

How to dispose the app or close it cleanly?

Here is the error....
Problem signature:
Problem Event Name: APPCRASH
Application Name: LongBayRD.exe
Application Version: 1.0.0.0
[Code] .....

View 4 Replies


ADVERTISEMENT

Photoshop :: CS4 Error Message :: APPCRASH

Mar 10, 2009

I have tried to get Photoshop CS4 to run but keep getting Photoshop has stopped working. In 64bit the error message is

Problem Event Name: BEX64
Application Name: Photoshop.exe
Application Version: 11.0.0.0
Application Timestamp: 48d38aa7
Fault Module Name: StackHash_a1a9
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 0000000000000000
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 2057
Additional Information 1: a1a9
Additional Information 2: 97adcf723889235ddc4cb6cacaa74283
Additional Information 3: 8a4c
Additional Information 4: 9cfa5bc339a5d29061908def628328bc

in 32bit the error message is

Problem Event Name: APPCRASH
Application Name: Photoshop.exe
Application Version: 11.0.0.0
Application Timestamp: 48d3882e
Fault Module Name: StackHash_fd00
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 00000000
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 2057
Additional Information 1: fd00
Additional Information 2: ea6f5fe8924aaa756324d57f87834160
Additional Information 3: fd00
Additional Information 4: ea6f5fe8924aaa756324d57f87834160

I have uninstalled/reinstalled Photoshop and deleted the preference files to no avail. I have also used Adobe CS4 Clean Script along with Microsoft Windows Installer CleanUp Utility to no avail.

I have installed Photoshop CS3 which seems to work except when I try to access the preference files when it crashes.
My system spec is
OS Vista Ultimate x64 SP1
CPU Intel Core 2 Quad Q660 2.40GHz
Motherboard Asus P5QL-E
Memory 8 Gbt
Graphics Card Asus EAH 4850

View 13 Replies View Related

CorelDRAW Graphics Suite X5 :: Error Message - Event Name APPCRASH

Jun 10, 2013

I have just started getting this message when I am using X-5

The message say's CorelDraw has stopped working and then it has the following,

problem event name APPCRASH

View 1 Replies View Related

Paint Shop Pro :: Error / Detect Language0 Failure Exiting

May 3, 2013

I installed Paint shop pro X2 on windows 7. I get an error message "detect language0 failure exiting".

View 4 Replies View Related

AutoCAD .NET :: Palette Changes Size Of WinForms Controls

Jun 13, 2013

I use AutoCAD 2012 .NET API to add my custom control to palette, but this palette changes size of my control and all its children - they become bigger than in Visual Studio designer.

Why this happens?

Is there any solution?

Will WPF controls be bigger in palettes too?

View 2 Replies View Related

AutoCAD Inventor :: Creating An Addin That Uses WPF (instead Of WinForms)

Jan 27, 2010

creating an Inventor addin that uses WPF (instead of WinForms). We are trying it with Inventor 2010 and are running into problems.

View 2 Replies View Related

AutoCAD .NET :: Customization Using RealDWG

Nov 13, 2013

We people are doing the Autocad CAD customization using COM & .NET API.

Now I have heard that we can read or write thedwg file using realdwg toolkit without installing AuotCAD on my machine so it is beneficial that we can  do without AutoCAD.

Rather than this advantage, how it can be usefult to our team if our organization will but it ?

View 2 Replies View Related

AutoCAD .NET :: RealDWG Export File To PDF Or DWF?

Jun 24, 2011

Does RealDWG support output DWG file to PDF or DWF format? We can't find those method in the RealDWG toolkits.

View 6 Replies View Related

AutoCAD .NET :: XRef Listing With RealDWG

Aug 29, 2011

Is it possible to get a listing of all of the X-Refs contained in a particular document. I am attempting to do this with the following

db.ReadDwgFile(testFileName, FileOpenMode.OpenForReadAndWriteNoShare, true, null); using (var tx = db.TransactionManager.StartTransaction()) { var xrefGraph = db.GetHostDwgXrefGraph(true); for(int i = 0; i < xrefGraph.NumNodes; i++) { XrefGraphNode xgn = xrefGraph.GetXrefNode(i); Console.WriteLine(xgn.Name); } }

I know that this drawing has 3 attached X-Refs, but none are coming up in the node graph.

View 1 Replies View Related

AutoCAD .NET :: Access AEC Object Properties From RealDWG?

Sep 24, 2013

Is there a way to access AEC object (AEC_WALL etc.) properties from RealDWG? I am able to get the class name AecDbWall. And even the extents of the entity.There are some Aec*.dll files in the RealDWG folder but I am not sure what to use to  get the properties of Wall,window.I'm using visual C++. I have installed the object enablers of Architecture Structure Drawing, MEP, and also of Civil.

View 1 Replies View Related

AutoCAD .NET :: Merge Modules For Installer For RealDWG 2013 Application

Feb 20, 2013

In the process of cretaing an installer for a RealDWG  based web application(VS2010 web setup project). The intended target environments for now will be win server 2003 and win 7. They will be fairly clean in the sense that no other autodesk or realdwg based products are installed or is planned to be installed.

The tips and techniques chapter of the RealDWG documentation have a section of how to create an installer and it says that all merge modules from the Redistrib folder should be added to the installer.

However the Redistribution requirements chapter mentions that for Shapemager functionality either a couple of merge modules should be included (for read/write support) or a couple of other merge modules should be included(read only support).

I've tried to only include the mergemodules that are listed as required but that did not work when I tried to run the deplyed app. (acdbmgd.dll missed several dependencies to other dll's that were not listed as required). When trying to include everything I get errors when doing a validation of the msi in Orca(probably originating from the shapemanager mergemodules).

View 1 Replies View Related

Paint Shop Pro :: Appcrash With X2 And Several Plugins

Jan 28, 2012

I bought the older Version Paint Shop Pro Photo X2 installed it yesterday looked as it were working fine, but crashes with several plugins I usually use. Now I work again with Paint Shop Pro 9.01 since this version works stable and does not crash with the very same plugins. I thought that X2 would be better than XI which I bought a long while ago, since that version always crashed.

Now I would like to know, if there is a chance to work with X2 without crashes or that I have to continue to work with 9.01 and throw the X2 into trash same I did before to the version XI?

View 3 Replies View Related

Photoshop :: CS4 APPCRASH @ Startup Vista...

Feb 25, 2009

I've currently trying to fix photoshop on my company computer and I can't seem to get it to work. I've tried the following:
1. uninstall/delete files/reinstall
2. clear prefetch files
3. scan for viruses and registry errors
4. run as admin, run on different account, run in compatibility mode

My Computer is a Dell XPS1530 with 8600m GT. Photoshop worked fine for quite sometime and now it crashes with the following error after reaching "Building color conversion Tables"

Problem signature:
Problem Event Name: APPCRASH
Application Name: Photoshop.exe
Application Version: 11.0.0.0
Application Timestamp: 48d3882e
Fault Module Name: kernel32.dll
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a76d
Exception Code: c0000005
Exception Offset: 000254d8
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 48a4
Additional Information 2: 25d86d7052aea144c126756ba05fe7f4
Additional Information 3: 33ef
Additional Information 4: cb36b8e1128214d6ae58aa905338119c

View 18 Replies View Related

Photoshop :: Appcrash Stopped Working Message

Nov 19, 2013

A couple of days ago my photoshop will constantly crash with the "appcrash"/stopped working message, usually while i'm minding my own business painting however this problem has rendered photoshop virtually unusable.
 
the report is as follows:
 
Problem signature:
  Problem Event Name:          APPCRASH
  Application Name:          Photoshop.exe
  Application Version:          13.0.0.0
  Application Timestamp:          4f61c045
  Fault Module Name:          Photoshop.exe
 [code]....

I'm running win 7, 8gb ram, i5 3750k and a gtx 560ti..i've tried reinstalling several times, deleting preferences, updating graphic drivers to no avail.

View 2 Replies View Related

Photoshop Elements :: Message Program Has Stopped Working With APPCRASH

Feb 27, 2014

Photoshop elements 11 running windows 7, have been using Photoshop elements 11 for approximately a year, this morning can't get it to launch, get the message program has stopped working with the APPCRASH problem message.  Tried resetting to default preferences and shutting offf the firewall, still the same.

View 1 Replies View Related

AutoCAD 2010 :: Exiting A Unlocked Viewport?

Sep 2, 2009

I am trying to figure out a way to exit a activated viewport that I am in. I am zoomed in on a area in the activated viewport. Well sometimes I forget to lock the viewport before I zoom in. So then I cant zoom back out and deactivate the viewport.

View 9 Replies View Related

AutoCAD 2013 :: Exiting Block Editor

Jun 5, 2012

When I close and save my block from the block editor, AutoCAD send me to 0,0. I then have to zoom extents and then zoom back to where I was working from.

View 2 Replies View Related

AutoCAD 2013 :: Slow After Exiting Block Editor?

Oct 10, 2012

I recently discovered that my AutoCAD would become slow, and selection very choppy, after exiting the block editor. Running a purge, audit or regenall does not solve the problem. I have to quit the program and restart. I've also noticed that this has been happening since 2007. It is not my computer, as I am running Windows 7 x64, with AutoCAD 64 bit.

View 2 Replies View Related

AutoCad :: Exclamation Triangle After Exiting 2011 And 2012

Aug 11, 2011

I open files from many different customers in 'vanilla' Autocad 2012, upon exiting I occasionally get an exclamation mark inside of a triangle that appears on the screen by itself after the program closes...No text associated with the close just an exclamation mark inside of a triangle with an 'OK' to dismiss....Does not appear to be file specific, does not happen after any specific input either...Is there perhaps a log I can enable and/or interrogate to see what is causing this warning?

View 0 Replies View Related

AutoCAD Inventor :: 2012 Silently Exiting After Splash Screen

Sep 20, 2011

I do tech-support work in a school district that is part of the Project Lead the Way program.  As part of this program, we have 2 full labs of machines (25+ each) that are licensed for using Inventor 2012.  Each year, this program supplies an updated version of Inventor, so each year I have to make a new Ghost image for those labs and apply it.  All the machines are identical, and I image them with the same Ghost image file.  This year, I'm having some major difficulty as follows:

On seemingly random machines with seemingly random student-level access accounts, the Inventor splash screen will come up when the kids launch the program…and then it will just immediately dump them back to the desktop with no error message whatsoever.  At first I thought it was a rights issue, but on some machines it does the same thing when I log in with my administrator-level account.

These machines were imaged with Ghost, with Inventor 2012 installed, then activated on standalone licenses when the kids log in the first time (at least in theory).  The machines are running Windows XP SP3, on an AD2008 domain.  Sometimes you can log into a machine with a different user account where a kid has had this problem, and Inventor will open right up.  That would seem to indicate that it's an account/permissions issue, but if you then take that kid and move him to a different (identical) PC in the lab, he'll be able to open Inventor just fine.

I've spent a good 2-3 hours Googling this one, digging into Autodesk's knowledge base and just looking through different forums, but I've had no luck isolating any factor that might cause this behavior so far.  I even went so far as to do a full uninstall using the Autodesk uninstall utility on one affected machine.  When I reinstalled from the disc, the behavior persisted.  I also tried downloading Service Pack 1 for the software, which apparently just came out on August 31st.  Installing the Service Pack didn't fix the issue either.  I see nothing suspicious in the system logs that point out an Autodesk-related error.

View 4 Replies View Related

AutoCAD Civil 3D :: 2012 - Convert Exiting Blocks To Dynamic

Aug 25, 2013

Taking existing blocks and converting them to dynamic blocks.? This will save a lot of time.

If this is not possible to do then where the instructions are for creating dynamic block in version 2012.

View 6 Replies View Related

AutoCAD Inventor :: Isometric View When Exiting Sketch Mode

Aug 29, 2011

Sometimes when I'm exiting from a sketch, the entire model goes back to isometric view.  Is there a way to STOP this from happening?

View 9 Replies View Related

AutoCAD 2013 :: Detach All Xrefs When Exiting A Base File Instead Of Unloading Them

Nov 15, 2013

We prefer to detach all xrefs when exiting a base file instead of unloading them.  Is there a way to have autocad remember which xrefs were used in the base file so that they can be reloaded all at once next time.

View 4 Replies View Related

Photoshop :: Exiting A Command

Jul 26, 2006

I'm using PS 7.0 and I'm pretty new to it. I'm having trouble exiting some commands when I am in the middle of them and decide not to use it. The Esc key works on some commands, right-clicking and then 'deselecting' works on some commands.

View 4 Replies View Related

Lightroom :: Backup Without Exiting?

Dec 31, 2013

Upon exiting (shutting down) Lightroom 5, we're given a choice to backup the catalog. Is there a way to manually backup it up (without exiting Lightroom 5?

View 2 Replies View Related

Photoshop :: Opening Exiting Image With CS6

Jun 17, 2012

Every time I open an image with my PS extenden edition CS6 the image is not completely shown, I have to or duplicate the layer (backgroud layer)or remove it out of background only than the image is completely displayed. see example

the problem is similar with files in RAW format (NIKON x.nef) see

I already reinstalled PS but dit not solve. Looking for updates on the product, no missing updates (it looks like I have the latest available version.

View 17 Replies View Related

Paint Shop Pro :: Exiting Out Of Tools

Nov 1, 2013

How do we exit out of the tools (such as the background eraser) when finished using it? It stays on the screen until the item is saved.

View 1 Replies View Related

3ds Max :: 2014 - Exiting Isolate Mode?

Jul 4, 2013

Exiting isolate mode with alt+q still doesn´t work on 2014sp1, have to press the bulb icon.....

View 9 Replies View Related

Illustrator :: Freezes When Exiting The Program?

Mar 6, 2013

I have a problem since I upgraded to CS6 for MAC. All the rest of the Design Premium software works fine, but adobe Illustrator seems to have a problem when exiting the app. Always hangs and never closes down so I have to use the Force Quit option of the OS. And it happens ALWAYS.

View 8 Replies View Related

Paint Shop Pro :: DetectLanguage() Failure Exiting

Nov 28, 2010

I purchased PSP X3 yesterday and, after updating and playing around with it with no problems, when I double-clicked a video in the Organizer PSP tried to install additional stuff but failed because the PSP msi (that is momentarily decompressed during installation) was no longer in the TEMP folder.

Since I was installing it on my laptop too anyway, I "captured" the contents of the "Corel PaintShop Photo Pro X31.5.1.001" folder (in the laptop TEMP) during installation to "feed" to my copy of the desktop next time it asked to install additional stuff.

So, next time PSP asked to install something else during execution, I pointed it to the captured folder and it successfully completed.

The problem is, after this, whenever I try to run PSP I get a dialog stating Select allDetectLanguage() Failure.  Exiting.and it just exits. If I re-install it becomes ok again, but I again don't have whatever feature it is trying to install halfway.

View 14 Replies View Related

Photoshop :: Tools Inactive When Exiting From Filter

Apr 24, 2007

using CS2 on Windows XP. sometimes when i apply a filter, when i exit the filter dialogue - either OK or cancel - when i return to the picture, none of the tools work. space won't bring up the hand etc, and clciking on the Layer pallette, picture, anything, doesn't fix it. i manage to get stuff back by pressing every key in sight and swearing venomously at the machine,

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved