ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Password protected zip file... which file?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

imageorganizernx

Australia
14 Posts

Posted - Jan 22 2024 :  03:22:09  Show Profile  Reply
As can be seen from the callstack below and it's parameters, when an InputQuery dialog opens to ask for the zip file password, the filename has been thrown away and I don't know what file it's asking about.


Vcl.Dialogs.InputQuery('Specify Password for ZIP File','Specify Password: ','')
Vcl.Dialogs.InputBox(???,???,???)
iesettings.IEPromptForPassword($3FFFFE90C50,'Z:\My Downloads\CS4.zip',8292,'')
iexSevenZip.T7zInArchive.ExtractToStream(0,$FEB77F70,True)
imageenio.TImageEnIO.LoadZIP_SevenZip(nil,'Z:\My Downloads\CS4.zip',0,'',False)
imageenio.TImageEnIO.LoadFromFileZIP('Z:\My Downloads\CS4.zip',-1,'')
imageenio.TImageEnIO.LoadFromFile('Z:\My Downloads\CS4.zip',8292)
iemview.TIECustomMView.SetImageFromStreamOrFile(46,nil,'Z:\My Downloads\CS4.zip',0,8292)
iemview.TIECustomMView.SetImageFromFile(46,'Z:\My Downloads\CS4.zip',0,0)
iemview.TImageEnMView.InsertImage(46,'Z:\My Downloads\CS4.zip')
iemview.TImageEnMView.AppendImage('Z:\My Downloads\CS4.zip')


Image Organizer NX

xequte

38418 Posts

Posted - Jan 22 2024 :  22:03:56  Show Profile  Reply
Hi

You would be better to popup your own custom dialog in the OnPassword event:

https://www.imageen.com/help/TIEGlobalSettings.OnPassword.html


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

imageorganizernx

Australia
14 Posts

Posted - Jan 23 2024 :  01:03:26  Show Profile  Reply
Ok, thanks.

Image Organizer NX
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: