I am using a Common Control Dialog box in my code and the complied program works fine in Win 9x. When I try to activate it on a WinNT 4.0 sp6a I get the above error.

The error states that this is usally caused by not having enough memory but I have plenty of memory.

Does anybody know what may be causing the error?

Thanks