>
> The only one interesting thing I discover so far. If I copy
> the icons2bmpfile method from the new class to the old one than
> there'c no error accessing loLarge.Handle.
>
Hmmpf... Actually the old one has a bug in DestroyIcon. The first line says something like
thHandle = iif(vartype(thHandle)="H", thHandle, 0)
As we do not have vartype "H", this method *never* destroyed any Icon properly. However in the new one I made sure they do not get destroyed when I don't want to. I stepped through the debugger and DestroyIcon does not get called.
Another also changed a minor thing in Long2String Maybe there is something faulty.
With the new class, when calling TEST_SAVE2. Do You also get the the handle shown called via the Helper-Class and "Nope" when called directly?