Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
ImageList OLE control
I am getting a COM error "0X800a01e1: Unknown COM status code" when trying to add and image to the image list in the init of the control. The control works in a runtime environment, but in the EXE errors. I have tried moving the add to the form init and still receive the error. This is the line of code I am using in the init:
This.ListImages.Add(1,,LoadPicture(lcPath))
This image list later gets added to the ImageList property of a TreeView control. But I cannot even get the BMP added to it before that.
The other thing I have tried as a test is loading the BMP in the ImageList control at design time, but got SERIOUS errors with that - PAGE FAULT in GDI.EXE.
I am using FoxPro v6 sp5. What can I do?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement