Exceptions when using ExecuteAssembly to launch WPF application from C++ main app.


i'm having trouble project. runs producing number of "first chance exceptions" in console window not understand, clarifications or suggestions fixing these welcome.

the main application in c++ , links static library contains /clr code. managed c++ code calls c# code runs following function.... 
public void dostartup(string domainname)  {  appdomainsetup currentads = appdomain.currentdomain.setupinformation;  
appdomainsetup ads = new appdomainsetup(); ads.applicationbase = currentads.applicationbase; ads.disallowbindingredirects = false; ads.disallowcodedownload = true; ads.configurationfile = appdomain.currentdomain.setupinformation.configurationfile; evidence baseevidence = appdomain.currentdomain.evidence; evidence childevidence = new evidence(baseevidence); // create domain. _domain = appdomain.createdomain(domainname, childevidence, ads); // start new application in new domain. thread thread = new thread(() => { try { directory.setcurrentdirectory(appdomain.currentdomain.setupinformation.applicationbase); _domain.executeassembly("exetestapp.exe"); } catch (exception ex) { console.writeline("error starting application: (" + "exetestapp.exe" + ")", ex.message); } }); thread.setapartmentstate(apartmentstate.sta); thread.name="presentation thread"; thread.start(); // create object in new domain provides required interop features. string exeassembly = assembly.getassembly(typeof(crossdomaincaller)).fullname; _cdc = (crossdomaincaller)_domain.createinstanceandunwrap(exeassembly, typeof(crossdomaincaller).fullname); // register message handlers across domain boundary. objecthandle childoh = _cdc.registercrossdomain(new objecthandle(parentmessagehandler.instance)); parentmessagehandler.instance.setremotehandler((messagehandlerbase)(childoh.unwrap())); }

this method creates new application domain , thread, launches wpf application in new domain. create couple of singletons in each domain hooked each other passing messages (basically serializable) between domains. ok should use wcf, lacking examples how inter-domain wcf.

the first-chance exceptions generated are:

exception a. clr exception

a first chance exception of type 'system.entrypointnotfoundexception' occurred in presentationcore.dll
additional information: unable find entry point named 'nonexistent_dummy' in dll 'msvcr80.dll'.

i same error if launching separate exe shown above (with main method) or have application in dll custom start method shown below:

// call method via proxy.
public void startapplication()
{
thread thread = new thread(() =>
{
startapp.kickit();
});

thread.setapartmentstate(apartmentstate.sta);
thread.start();
}

public class startapp
{
   public static void kickit()
   {
      app app = new app();
      app.run();
   }
}
exception b. c++ exception related font loading

first-chance exception @ 0x7c812afb in interoptest.exe: microsoft c++ exception: [rethrow] @ memory location 0x00000000..

this 1 may related fonts present on pc, don't see during normal wpf application launch.

the stack looking this
   kernel32.dll!7c812afb()  
  [frames below may incorrect and/or missing, no symbols loaded kernel32.dll] 
  kernel32.dll!7c812afb()  
  msvcr80.dll!78158e89()  
  msvcr80.dll!78158ed7()  
  msvcr80.dll!78158e34()  
  msvcr80.dll!78158047()  
  msvcr80.dll!7815850e()  
  msvcr80.dll!78158872()  
  msvcr80.dll!78158a57()  
  msvcr80.dll!78158b11()  
  ntdll.dll!7c9032a8()  
  ntdll.dll!7c90327a()  
  ntdll.dll!7c92aa0f()  
  ntdll.dll!7c90e48a()  
  kernel32.dll!7c812afb()  
  kernel32.dll!7c812afb()  
> presentationcore.dll!system.windows.media.fontfamily.precreatedefaultfamilycollection() line 464 c#
  presentationcore.dll!system.windows.media.fontfamily.fontfamily() line 71 + 0x6 bytes c#
  presentationframework.dll!system.windows.systemfonts.messagefontfamily.get() + 0x45 bytes 
  presentationframework.dll!system.windows.documents.textelement.textelement() + 0x70 bytes 
  presentationframework.dll!system.windows.frameworkelement.frameworkelement() + 0x20b6 bytes 
  presentationframework.dll!system.windows.window.window() + 0xe1f bytes 
  exetestapp.exe!exetestapp.window1.window1() + 0x2d bytes 
  mscorlib.dll!system.runtimetype.createinstanceslow(bool publiconly, bool fillcache = true) + 0x57 bytes 
  mscorlib.dll!system.activator.createinstance(system.type type, bool nonpublic) + 0x44 bytes 
  mscorlib.dll!system.activator.createinstance(system.type type) + 0x7 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.createinstancefromtype(system.type type = {name = cannot evaluate expression because native frame on top of call stack. fullname = cannot evaluate expression because native frame on top of call stack.}, short typeid = 0, bool throwonfail = false) + 0x2e9 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.getelementandflags(system.windows.markup.bamlelementstartrecord bamlelementstartrecord = {system.windows.markup.bamlelementstartrecord}, out object element = null, out system.windows.markup.readerflags flags = unknown, out system.type delaycreatedtype = null, out short delaycreatedtypeid = 0) + 0xea bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.basereadelementstartrecord(system.windows.markup.bamlelementstartrecord bamlelementrecord = {system.windows.markup.bamlelementstartrecord}) + 0x1a7 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.readelementstartrecord(system.windows.markup.bamlelementstartrecord bamlelementrecord = {system.windows.markup.bamlelementstartrecord}) + 0x252 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.readrecord(system.windows.markup.bamlrecord bamlrecord = {system.windows.markup.bamlelementstartrecord}) + 0x499 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.read(bool singlerecord = false) + 0x40 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.read() + 0x22 bytes 
  presentationframework.dll!system.windows.markup.treebuilderbamltranslator.parsefragment() + 0x252 bytes 
  presentationframework.dll!system.windows.markup.treebuilder.parse() + 0x24 bytes 
  presentationframework.dll!system.windows.markup.xamlreader.loadbaml(system.io.stream stream = {ms.internal.appmodel.bamlstream}, system.windows.markup.parsercontext parsercontext = {system.windows.markup.parsercontext}, object parent = null, bool closestream = true) + 0x193 bytes 
  presentationframework.dll!system.windows.application.loadbamlstreamwithsyncinfo(system.io.stream stream = {ms.internal.appmodel.bamlstream}, system.windows.markup.parsercontext pc = {system.windows.markup.parsercontext}) + 0xe4 bytes 
  presentationframework.dll!system.windows.application.loadcomponent(system.uri resourcelocator = {system.uri}, bool bskipjournaledproperties = false) + 0x105 bytes 
  presentationframework.dll!system.windows.application.dostartup() + 0x157 bytes 
  presentationframework.dll!system.windows.application..ctor.anonymousmethod(object unused = null) + 0x78 bytes 
  windowsbase.dll!system.windows.threading.exceptionwrapper.internalrealcall(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = null, bool issingleparameter = true) line 91 + 0x35 bytes c#
  windowsbase.dll!system.windows.threading.exceptionwrapper.trycatchwhen(object source = {system.windows.threading.dispatcher}, system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = null, bool issingleparameter = true, system.delegate catchhandler = null) line 21 + 0x2d bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wrappedinvoke(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = null, bool issingleparameter = true, system.delegate catchhandler = null) line 2277 + 0x1f bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wrappedinvoke(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = null, bool issingleparameter = true) line 2267 + 0x16 bytes c#
  windowsbase.dll!system.windows.threading.dispatcheroperation.invokeimpl() line 355 + 0x33 bytes c#
  windowsbase.dll!system.windows.threading.dispatcheroperation.invokeinsecuritycontext(object state = {system.windows.threading.dispatcheroperation}) line 337 c#
  mscorlib.dll!system.threading.executioncontext.runtrycode(object userdata) + 0x51 bytes 
  mscorlib.dll!system.threading.executioncontext.runinternal(system.threading.executioncontext executioncontext, system.threading.contextcallback callback, object state) + 0x67 bytes 
  mscorlib.dll!system.threading.executioncontext.run(system.threading.executioncontext executioncontext, system.threading.contextcallback callback, object state) + 0x45 bytes 
  windowsbase.dll!system.windows.threading.dispatcheroperation.invoke() line 293 + 0x1a bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.processqueue() line 1539 + 0xe bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wndprochook(system.intptr hwnd = 2888666, int msg = 49700, system.intptr wparam = 0, system.intptr lparam = 0, ref bool handled = false) line 1757 + 0x9 bytes c#
  windowsbase.dll!ms.win32.hwndwrapper.wndproc(system.intptr hwnd = 2888666, int msg = 49700, system.intptr wparam = 0, system.intptr lparam = 0, ref bool handled = false) line 342 + 0x1a bytes c#
  windowsbase.dll!ms.win32.hwndsubclass.dispatchercallbackoperation(object o = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}) line 496 + 0x39 bytes c#
  windowsbase.dll!system.windows.threading.exceptionwrapper.internalrealcall(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true) line 91 + 0x35 bytes c#
  windowsbase.dll!system.windows.threading.exceptionwrapper.trycatchwhen(object source = {system.windows.threading.dispatcher}, system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true, system.delegate catchhandler = null) line 21 + 0x2d bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wrappedinvoke(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true, system.delegate catchhandler = null) line 2277 + 0x1f bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wrappedinvoke(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true) line 2267 + 0x16 bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.invokeimpl(system.windows.threading.dispatcherpriority priority = send, system.timespan timeout = {system.timespan}, system.delegate method = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true) line 844 + 0x14 bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.invoke(system.windows.threading.dispatcherpriority priority = send, system.delegate method = {method = cannot evaluate expression because native frame on top of call stack.}, object arg = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}) line 599 + 0x43 bytes c#
  windowsbase.dll!ms.win32.hwndsubclass.subclasswndproc(system.intptr hwnd = 2888666, int msg = 49700, system.intptr wparam = 0, system.intptr lparam = 0) line 394 + 0x19 bytes c#
  [native managed transition] 
  user32.dll!7e418734()  
  user32.dll!7e418816()  
  user32.dll!7e4189cd()  
  [managed native transition] 
  windowsbase.dll!system.windows.threading.dispatcher.translateanddispatchmessage(ref system.windows.interop.msg msg = {system.windows.interop.msg}) line 1731 + 0x8 bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.pushframeimpl(system.windows.threading.dispatcherframe frame = {system.windows.threading.dispatcherframe}) line 1592 c#
  windowsbase.dll!system.windows.threading.dispatcher.pushframe(system.windows.threading.dispatcherframe frame = {system.windows.threading.dispatcherframe}) line 335 c#
  windowsbase.dll!system.windows.threading.dispatcher.run() line 294 c#
  presentationframework.dll!system.windows.application.rundispatcher(object ignore = null) + 0x39 bytes 
  presentationframework.dll!system.windows.application.runinternal(system.windows.window window = null) + 0x2dd bytes 
  presentationframework.dll!system.windows.application.run(system.windows.window window = null) + 0x77 bytes 
  presentationframework.dll!system.windows.application.run() + 0x2e bytes 
  exetestapp.exe!exetestapp.app.main() + 0x5f bytes 
  mscorlib.dll!system.appdomain.executeassembly(string assemblyfile, system.security.policy.evidence assemblysecurity, string[] args) + 0x3a bytes 
  mscorlib.dll!system.appdomain.executeassembly(string assemblyfile) + 0x9 bytes 
  [appdomain transition] 
  agt.interdomain.dll!agt.interdomain.remotedomain.dostartup.anonymousmethod() line 63 + 0x17 bytes c#
  mscorlib.dll!system.threading.threadhelper.threadstart_context(object state) + 0x66 bytes 
  mscorlib.dll!system.threading.executioncontext.run(system.threading.executioncontext executioncontext, system.threading.contextcallback callback, object state) + 0x6f bytes 
  mscorlib.dll!system.threading.threadhelper.threadstart() + 0x44 bytes 
  kernel32.dll!7c80b729()  

exception c: c++ exception related hooking solidcolorbrush?

first-chance exception @ 0x7c812afb in interoptest.exe: microsoft c++ exception: [rethrow] @ memory location 0x00000000..

 

stack trace:

  kernel32.dll!7c812afb()  
  [frames below may incorrect and/or missing, no symbols loaded kernel32.dll] 
  kernel32.dll!7c812afb()  
  msvcr80.dll!78158e89()  
  msvcr80.dll!78158ed7()  
  msvcr80.dll!78158e34()  
  msvcr80.dll!78158047()  
  msvcr80.dll!7815850e()  
  msvcr80.dll!78158872()  
  msvcr80.dll!78158a57()  
  msvcr80.dll!78158b11()  
  ntdll.dll!7c9032a8()  
  ntdll.dll!7c90327a()  
  ntdll.dll!7c92aa0f()  
  ntdll.dll!7c90e48a()  
  kernel32.dll!7c812afb()  
  kernel32.dll!7c812afb()  
  kernel32.dll!7c812afb()  
> presentationcore.dll!system.windows.media.animation.animatable.propertychanged(system.windows.dependencyproperty dp = {system.windows.dependencyproperty}) line 100 c#
  presentationcore.dll!system.windows.media.solidcolorbrush.colorpropertychanged(system.windows.dependencyobject d = {system.windows.media.solidcolorbrush}, system.windows.dependencypropertychangedeventargs e = {system.windows.dependencypropertychangedeventargs}) line 96 c#
  windowsbase.dll!system.windows.dependencyobject.onpropertychanged(system.windows.dependencypropertychangedeventargs e = {system.windows.dependencypropertychangedeventargs}) line 1851 c#
  windowsbase.dll!system.windows.freezable.onpropertychanged(system.windows.dependencypropertychangedeventargs e = {system.windows.dependencypropertychangedeventargs}) line 322 c#
  windowsbase.dll!system.windows.dependencyobject.notifypropertychange(system.windows.dependencypropertychangedeventargs args = {system.windows.dependencypropertychangedeventargs}) line 1564 c#
  windowsbase.dll!system.windows.dependencyobject.updateeffectivevalue(system.windows.entryindex entryindex = {system.windows.entryindex}, system.windows.dependencyproperty dp = {system.windows.dependencyproperty}, system.windows.propertymetadata metadata = {system.windows.media.animation.independentlyanimatedpropertymetadata}, system.windows.effectivevalueentry oldentry = {system.windows.effectivevalueentry}, ref system.windows.effectivevalueentry newentry = {system.windows.effectivevalueentry}, bool coercewithdeferredreference = false, system.windows.operationtype operationtype = unknown) line 1442 c#
  windowsbase.dll!system.windows.dependencyobject.setvaluecommon(system.windows.dependencyproperty dp = {system.windows.dependencyproperty}, object value = {system.windows.media.color}, system.windows.propertymetadata metadata = {system.windows.media.animation.independentlyanimatedpropertymetadata}, bool coercewithdeferredreference = false, system.windows.operationtype operationtype = unknown, bool isinternal = true) line 760 + 0x2e bytes c#
  windowsbase.dll!system.windows.dependencyobject.setvalueinternal(system.windows.dependencyproperty dp = {system.windows.dependencyproperty}, object value = {system.windows.media.color}) line 432 c#
  presentationcore.dll!system.windows.media.solidcolorbrush.color.set(system.windows.media.color value = {system.windows.media.color}) line 113 c#
  presentationcore.dll!system.windows.media.solidcolorbrush.solidcolorbrush(system.windows.media.color color = {system.windows.media.color}) line 59 c#
  presentationcore.dll!system.windows.media.knowncolors.solidcolorbrushfromuint(uint argb = 4278190080) line 201 + 0x3c bytes c#
  presentationcore.dll!system.windows.media.brushes.black.get() line 121 + 0xb bytes c#
  presentationframework.dll!system.windows.documents.textelement.textelement() + 0x3ad bytes 
  presentationframework.dll!system.windows.frameworkelement.frameworkelement() + 0x20b6 bytes 
  presentationframework.dll!system.windows.window.window() + 0xe1f bytes 
  exetestapp.exe!exetestapp.window1.window1() + 0x2d bytes 
  mscorlib.dll!system.runtimetype.createinstanceslow(bool publiconly, bool fillcache = true) + 0x57 bytes 
  mscorlib.dll!system.activator.createinstance(system.type type, bool nonpublic) + 0x44 bytes 
  mscorlib.dll!system.activator.createinstance(system.type type) + 0x7 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.createinstancefromtype(system.type type = {name = cannot evaluate expression because native frame on top of call stack. fullname = cannot evaluate expression because native frame on top of call stack.}, short typeid = 0, bool throwonfail = false) + 0x2e9 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.getelementandflags(system.windows.markup.bamlelementstartrecord bamlelementstartrecord = {system.windows.markup.bamlelementstartrecord}, out object element = null, out system.windows.markup.readerflags flags = unknown, out system.type delaycreatedtype = null, out short delaycreatedtypeid = 0) + 0xea bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.basereadelementstartrecord(system.windows.markup.bamlelementstartrecord bamlelementrecord = {system.windows.markup.bamlelementstartrecord}) + 0x1a7 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.readelementstartrecord(system.windows.markup.bamlelementstartrecord bamlelementrecord = {system.windows.markup.bamlelementstartrecord}) + 0x252 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.readrecord(system.windows.markup.bamlrecord bamlrecord = {system.windows.markup.bamlelementstartrecord}) + 0x499 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.read(bool singlerecord = false) + 0x40 bytes 
  presentationframework.dll!system.windows.markup.bamlrecordreader.read() + 0x22 bytes 
  presentationframework.dll!system.windows.markup.treebuilderbamltranslator.parsefragment() + 0x252 bytes 
  presentationframework.dll!system.windows.markup.treebuilder.parse() + 0x24 bytes 
  presentationframework.dll!system.windows.markup.xamlreader.loadbaml(system.io.stream stream = {ms.internal.appmodel.bamlstream}, system.windows.markup.parsercontext parsercontext = {system.windows.markup.parsercontext}, object parent = null, bool closestream = true) + 0x193 bytes 
  presentationframework.dll!system.windows.application.loadbamlstreamwithsyncinfo(system.io.stream stream = {ms.internal.appmodel.bamlstream}, system.windows.markup.parsercontext pc = {system.windows.markup.parsercontext}) + 0xe4 bytes 
  presentationframework.dll!system.windows.application.loadcomponent(system.uri resourcelocator = {system.uri}, bool bskipjournaledproperties = false) + 0x105 bytes 
  presentationframework.dll!system.windows.application.dostartup() + 0x157 bytes 
  presentationframework.dll!system.windows.application..ctor.anonymousmethod(object unused = null) + 0x78 bytes 
  windowsbase.dll!system.windows.threading.exceptionwrapper.internalrealcall(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = null, bool issingleparameter = true) line 91 + 0x35 bytes c#
  windowsbase.dll!system.windows.threading.exceptionwrapper.trycatchwhen(object source = {system.windows.threading.dispatcher}, system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = null, bool issingleparameter = true, system.delegate catchhandler = null) line 21 + 0x2d bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wrappedinvoke(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = null, bool issingleparameter = true, system.delegate catchhandler = null) line 2277 + 0x1f bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wrappedinvoke(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = null, bool issingleparameter = true) line 2267 + 0x16 bytes c#
  windowsbase.dll!system.windows.threading.dispatcheroperation.invokeimpl() line 355 + 0x33 bytes c#
  windowsbase.dll!system.windows.threading.dispatcheroperation.invokeinsecuritycontext(object state = {system.windows.threading.dispatcheroperation}) line 337 c#
  mscorlib.dll!system.threading.executioncontext.runtrycode(object userdata) + 0x51 bytes 
  mscorlib.dll!system.threading.executioncontext.runinternal(system.threading.executioncontext executioncontext, system.threading.contextcallback callback, object state) + 0x67 bytes 
  mscorlib.dll!system.threading.executioncontext.run(system.threading.executioncontext executioncontext, system.threading.contextcallback callback, object state) + 0x45 bytes 
  windowsbase.dll!system.windows.threading.dispatcheroperation.invoke() line 293 + 0x1a bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.processqueue() line 1539 + 0xe bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wndprochook(system.intptr hwnd = 2888666, int msg = 49700, system.intptr wparam = 0, system.intptr lparam = 0, ref bool handled = false) line 1757 + 0x9 bytes c#
  windowsbase.dll!ms.win32.hwndwrapper.wndproc(system.intptr hwnd = 2888666, int msg = 49700, system.intptr wparam = 0, system.intptr lparam = 0, ref bool handled = false) line 342 + 0x1a bytes c#
  windowsbase.dll!ms.win32.hwndsubclass.dispatchercallbackoperation(object o = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}) line 496 + 0x39 bytes c#
  windowsbase.dll!system.windows.threading.exceptionwrapper.internalrealcall(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true) line 91 + 0x35 bytes c#
  windowsbase.dll!system.windows.threading.exceptionwrapper.trycatchwhen(object source = {system.windows.threading.dispatcher}, system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true, system.delegate catchhandler = null) line 21 + 0x2d bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wrappedinvoke(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true, system.delegate catchhandler = null) line 2277 + 0x1f bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.wrappedinvoke(system.delegate callback = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true) line 2267 + 0x16 bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.invokeimpl(system.windows.threading.dispatcherpriority priority = send, system.timespan timeout = {system.timespan}, system.delegate method = {method = cannot evaluate expression because native frame on top of call stack.}, object args = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}, bool issingleparameter = true) line 844 + 0x14 bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.invoke(system.windows.threading.dispatcherpriority priority = send, system.delegate method = {method = cannot evaluate expression because native frame on top of call stack.}, object arg = {ms.win32.hwndsubclass.dispatcheroperationcallbackparameter}) line 599 + 0x43 bytes c#
  windowsbase.dll!ms.win32.hwndsubclass.subclasswndproc(system.intptr hwnd = 2888666, int msg = 49700, system.intptr wparam = 0, system.intptr lparam = 0) line 394 + 0x19 bytes c#
  [native managed transition] 
  user32.dll!7e418734()  
  user32.dll!7e418816()  
  user32.dll!7e4189cd()  
  [managed native transition] 
  windowsbase.dll!system.windows.threading.dispatcher.translateanddispatchmessage(ref system.windows.interop.msg msg = {system.windows.interop.msg}) line 1731 + 0x8 bytes c#
  windowsbase.dll!system.windows.threading.dispatcher.pushframeimpl(system.windows.threading.dispatcherframe frame = {system.windows.threading.dispatcherframe}) line 1592 c#
  windowsbase.dll!system.windows.threading.dispatcher.pushframe(system.windows.threading.dispatcherframe frame = {system.windows.threading.dispatcherframe}) line 335 c#
  windowsbase.dll!system.windows.threading.dispatcher.run() line 294 c#
  presentationframework.dll!system.windows.application.rundispatcher(object ignore = null) + 0x39 bytes 
  presentationframework.dll!system.windows.application.runinternal(system.windows.window window = null) + 0x2dd bytes 
  presentationframework.dll!system.windows.application.run(system.windows.window window = null) + 0x77 bytes 
  presentationframework.dll!system.windows.application.run() + 0x2e bytes 
  exetestapp.exe!exetestapp.app.main() + 0x5f bytes 
  mscorlib.dll!system.appdomain.executeassembly(string assemblyfile, system.security.policy.evidence assemblysecurity, string[] args) + 0x3a bytes 
  mscorlib.dll!system.appdomain.executeassembly(string assemblyfile) + 0x9 bytes 
  [appdomain transition] 
  agt.interdomain.dll!agt.interdomain.remotedomain.dostartup.anonymousmethod() line 63 + 0x17 bytes c#
  mscorlib.dll!system.threading.threadhelper.threadstart_context(object state) + 0x66 bytes 
  mscorlib.dll!system.threading.executioncontext.run(system.threading.executioncontext executioncontext, system.threading.contextcallback callback, object state) + 0x6f bytes 
  mscorlib.dll!system.threading.threadhelper.threadstart() + 0x44 bytes 
  kernel32.dll!7c80b729()  


any help, suggestions fixing problem or "don't worrym supposed happen" welcome.

thanks,
lostdev

ps. sorry formatting, the forum editting interface seems little bit insane. third try... keeps reordering when submit

 

 

first chance exceptions nothing worry about.  "second chance" problem.  first chance notification debugger can stop program.  you'd debug + exceptions, thrown box.  clearly, in case exceptions handled wpf.  it's bit sloppy rely on exceptions, system.xml namespace to.  there isn't can it, let go.

please add post this thread tell posting problem.

hans passant.


.NET Framework  >  Common Language Runtime Internals and Architecture



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'