I have the same problems. Changing the link type fixed it also. This is
strange.
I am using Win XP corp, .NET 1.1, VS C++ 7.1 (2003).
Chris Lomont
> Herfried,
>
> I've made some progress, but first to answer your questions:
> 1) The project uses a few Windows Forms Controls (Button, CheckBox, ComboBox, GroupBox, Label, ProgressBar, RadioButton, and StatusBar). I
don't know if these contain ActiveX/COM technology.
> 2) When the FolderBrowserDialog 'fails', the folder selection tree is not visible.
>
> I found the FolderBrowerDialog component works if the runtime library for linking is changed! Multi-threaded Debug (/MTd) does not work.
Multi-threaded DLL (/MD or /MDd) does work!
> Does this make sense?
>
> Aside: Single-threaded (/ML or /MLd) runtime libraries cause a command line error ('/ML' and 'clr' options incompatible); and, the multi-threaded
runtime library (/MT) causes several link errors.
> Thanks much for your help.
>
[quoted text clipped - 5 lines]
>
> Our newsgroup
engine supports Post Alerts, Ratings, and Searching.
Ken - 30 Dec 2004 00:49 GMT
I experienced the same problem running on Windows 2003 Server Standard.
Explicitly defining the STAThread attribute in the void Main seems to
have solved the problem for me.