Page 1 of 1

image not accepted as a personal class name in 7.4

Posted: 15 Feb 2013 17:04
by dominique f pannier
Hi,

I wanted to upgrade a 7.3 dll project.
With the automatic update method, I got the following errors :

Code: Select all

e2528   Error 2528: 'Obj\gdiplus.AF8FF855.obj' - symbol '?@create_object@image@@SGQAV1@@XZ' redefinition (see 'Obj\Image.6B91F729.obj') gdiplus.AF8FF855.obj    e2528   Error 2528: 'Obj\gdiplus.AF8FF855.obj' - symbol '?_object_facts_initializer@image@@SGXQAV1@@@Z' redefinition (see 'Obj\Image.6B91F729.obj')     gdiplus.AF8FF855.obj    e2528   Error 2528: 'Obj\gdiplus.AF8FF855.obj' - symbol 'class$image' redefinition (see 'Obj\gdiplus.AF8FF855.obj')     gdiplus.AF8FF855.obj    e2528   Error 2528: 'Obj\gdiplus.AF8FF855.obj' - symbol 'class$image$vtable$' redefinition (see 'Obj\Image.6B91F729.obj')       gdiplus.AF8FF855.obj    e2528   Error 2528: 'Obj\gdiplus.AF8FF855.obj' - symbol 'image?_initObject@@@QAGXQAV1@H@Z' redefinition (see 'Obj\Image.6B91F729.obj')  gdiplus.AF8FF855.obj    e2528   Error 2528: 'Obj\gdiplus.AF8FF855.obj' - symbol 'image?_InternalFinalizer@@@QAGXQAV1@@Z' redefinition (see 'Obj\Image.6B91F729.obj')    gdiplus.AF8FF855.obj   
I rebuit my dll step by step Under 7.4, and these errors reappeared when I tried to add my image package. I renamed the package imageW, its classes and the references in the project. The dll was built.
It did not happened under 7.303

Posted: 15 Feb 2013 23:03
by Thomas Linder Puls
Such things can unfortunately happen.

You have a class named image and with a the new Visual Prolog you get another class named image into your project.

Posted: 16 Feb 2013 14:21
by dominique f pannier
Thank you Thomas, I should have thought about it... :?