I am writing an application which converts an exe file to text and displays it in a TextViewer component (only available when programming under CLX).
(I am aware of No other Delphi component that is able to display the text - the final result of converting exe to string - fully -like notepad)
When I try use a CLX opendialog to open a file say 'C:\Project1.exe' , it works fine, however if I try to open 'C:\Program Files\Project1.exe' it gives me the following error: 'Drive 'C:' does not exist. Please verify the correct drive whas given.'
This happens if I try to open any file 'deeper' than the simplist directory in the specified drive (eg. 'C:\' 'D:\' etc.). I can still browse and see all the files and folders on the disk with the CLX opendialog.
Can anyone please tell me how to successfully use Opendialog under CLX effectively, else an alternative to opendialog would also be appreciated.
Is it possible to gain access to TTextViewer in VCL?
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
(I am aware of No other Delphi component that is able to display the text - the final result of converting exe to string - fully -like notepad)
When I try use a CLX opendialog to open a file say 'C:\Project1.exe' , it works fine, however if I try to open 'C:\Program Files\Project1.exe' it gives me the following error: 'Drive 'C:' does not exist. Please verify the correct drive whas given.'
This happens if I try to open any file 'deeper' than the simplist directory in the specified drive (eg. 'C:\' 'D:\' etc.). I can still browse and see all the files and folders on the disk with the CLX opendialog.
Can anyone please tell me how to successfully use Opendialog under CLX effectively, else an alternative to opendialog would also be appreciated.
Is it possible to gain access to TTextViewer in VCL?