{"id":392,"date":"2008-05-29T10:29:46","date_gmt":"2008-05-29T08:29:46","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=392"},"modified":"2008-05-29T11:18:40","modified_gmt":"2008-05-29T09:18:40","slug":"nero-api","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/392","title":{"rendered":"Nero API"},"content":{"rendered":"<p>I have recently been working on CD\/DVD burning feature and I was using Ahead Nero API as an option. Frankly, I was of a better opinion of this API. It is more or less well documented and C++ definitions looks fine, however&#8230;<\/p>\n<p>The first problem was it failed to operate on a worker thread. My lord! I have to have burning task running on the application GUI STA thread using crappy poll-style abort callbacks. Anyway it did not work on a worker thread stumbling on a number of memory access violations. It was ludicrous that I already made everything look almost like in their sample application but API kept throwing exceptions. Until I realized it makes difference if it was running on a worker thread or not.<\/p>\n<p>Anyway it keeps throwing <em>int<\/em> exceptions, and when under debugger and you stop on the exception, then chances are high that there will be anyway access violations later after burn is complete.<\/p>\n<blockquote><p>First-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: dummy_exception @ 0x0013a688.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<br \/>\nFirst-chance exception at 0x7c81eb33 in DVRRunDll.exe: Microsoft C++ exception: int @ 0x00139594.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I have recently been working on CD\/DVD burning feature and I was using Ahead Nero API as an option. Frankly, I was of a better opinion of this API. It is more or less well documented and C++ definitions looks fine, however&#8230; The first problem was it failed to operate on a worker thread. My&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/392\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-392","post","type-post","status-publish","format-standard","hentry","category-seriously"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=392"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/392\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}