Error when using FolderBrowserDialog

  • Thread starter Thread starter Aniruddha Pai
  • Start date Start date
A

Aniruddha Pai

Hi,

I use a folderbrowserdialog in my application.
When I try to invoke the FolderBrowser for the first time,
I get an error "The procedure entry point
RtlUnhandledExceptionFiler could not be located in the
dynamic link library ntdll.dll "The application works fine
after that.
This has started appearing after I shifted to VS.net 2003.
I was using a wrapped version of the FolderBrowser class (
Since there was no inbuilt Folder Browser dialog) in
VS.net 2002 and it worked fine.
But ever since I have shifted to VS.Net 2003, I have
started getting this error. Has anybody ever faced this
problem before?

Thanks
Aniruddha Pai
 
* "Aniruddha Pai said:
I use a folderbrowserdialog in my application.
When I try to invoke the FolderBrowser for the first time,
I get an error "The procedure entry point
RtlUnhandledExceptionFiler could not be located in the
dynamic link library ntdll.dll "The application works fine
after that.
This has started appearing after I shifted to VS.net 2003.
I was using a wrapped version of the FolderBrowser class (
Since there was no inbuilt Folder Browser dialog) in
VS.net 2002 and it worked fine.
But ever since I have shifted to VS.Net 2003, I have
started getting this error. Has anybody ever faced this
problem before?

A new bug in the FolderBrowserDialog? This dialog seems to be _very_
buggy, there are now at least 3 really ugly bugs with this class. I
would continue using the pinvoke replacement.
 
I am getting the same error even with the wrapped version
of the Folder Browser class!!
What is the pinvoke replacement?
 
* "Aniruddha Pai said:
I am getting the same error even with the wrapped version
of the Folder Browser class!!
What is the pinvoke replacement?

Sorry, the pinvoke replacement is the wrapped version... I don't have
any idea why the error occurs.
 
Do you have an [STAThread] attribute on your application's Main() method?
If not, try adding one.
 
Back
Top