Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, [NeroCOM] OnFileSelImage problem at International Chat: Software related forum; Nero API 6.3.1.10, SDK 1.05 This event, INeroEvents::OnFileSelImage is fired when the Nero wants a file for the Image Recorder. Ok. I can bring up an OpenFile dialog and say Nero what file the user selected. But what if the user does CANCEL button? What


Reply
 
Thread Tools
Old 18-06-2004   #1 (permalink)
New on Forum
 
Join Date: May 2004
Posts: 3
[NeroCOM] OnFileSelImage problem

Nero API 6.3.1.10, SDK 1.05

This event, INeroEvents::OnFileSelImage is fired when the Nero wants a file for the Image Recorder.

Ok. I can bring up an OpenFile dialog and say Nero what file the user selected.

But what if the user does CANCEL button? What then?
INeroEvents::OnFileSelImage is called again and again regardless of
its return value and value of Filename parameter.
Moreover, call to INero::Abort() inside the INeroEvents::OnFileSelImage has no effect.

How I can stop the burning process if the user has changed his or her mind?
Paul Bludov is offline   Reply With Quote
Old 01-07-2004   #2 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
Yes, this is indeed a problem. Returning an empty path was supposed to do the trick but unfortunatelly it does not.

As a workaround, call Abort in the OnFileSelImage handler and return a valid file path pointing to a dummy zero-length file. It needs to be dummy because it will be deleted when the burning is aborted, so don't use just any file.
alexp is offline   Reply With Quote
 
Reply


If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here



Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OnFileSelImage Doesn't Work In Nero API v7.2.3.2 dcarrith Nero SDK Discussion Forum 0 29-07-2006 19:13
Problem with converting NeroCOM via tlbimp tommazzo Nero SDK Discussion Forum 0 25-08-2005 21:36
VB6/NeroCOM-Problem wkaiser Nero SDK Discussion Forum 4 04-05-2004 07:17
MultiSession DVD Problem with NEROCOM Beatle Nero SDK Discussion Forum 1 26-03-2004 16:45
NeroCom.dll isotrack.rootfolder problem snitch Nero SDK Discussion Forum 1 14-10-2003 16:20


All times are GMT +2. The time now is 07:50.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0