لدي ملف DLL عبارة عن ComboBox مطور تستطيع تغيير شكل أيقونة الإسدال .. كما في الصورة
ولكن به مشكلة فحين إظافة الـ ComboBox المطور في VB2005 يظهر إستثناء عند تشغيل البرنامج وهو :
PInvokeStackImbalance was detected Message: A call to PInvoke function 'ColoredFlatComboBox!ColoredFlatComboBox.ColoredFlatComboBox::SendMessage' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
الملفان المرفقان يبينان ذلك....