image not accepted as a personal class name in 7.4

Discussions related to Visual Prolog
dominique f pannier
VIP Member
Posts: 98
Joined: 23 Sep 2002 23:01

image not accepted as a personal class name in 7.4

Unread post by dominique f pannier » 15 Feb 2013 17:04

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
Regards
Dominique Pannier

User avatar
Thomas Linder Puls
VIP Member
Posts: 1625
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 15 Feb 2013 23:03

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.
Regards Thomas Linder Puls
PDC

dominique f pannier
VIP Member
Posts: 98
Joined: 23 Sep 2002 23:01

Unread post by dominique f pannier » 16 Feb 2013 14:21

Thank you Thomas, I should have thought about it... :?
Regards
Dominique Pannier

Post Reply