Error when using FolderBrowserDialog

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
 
H

Herfried K. Wagner [MVP]

* "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.
 
A

Aniruddha Pai

I am getting the same error even with the wrapped version
of the Folder Browser class!!
What is the pinvoke replacement?
 
H

Herfried K. Wagner [MVP]

* "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.
 
J

Joe White

Do you have an [STAThread] attribute on your application's Main() method?
If not, try adding one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top