Solved

Python4Delphi for Delphi XE2

Posted on 2012-04-04
2
1,142 Views
Last Modified: 2012-04-05
I am trying to install Delphi4Python. When I try to install the PythonVCL_XE2.dpk. I get a error. The errors that are generated is.

[DCC Error] pyDB.pas(183): E2037 Declaration of 'SqLength' differs from previous declaration
[DCC Error] pyDB.pas(184): E2037 Declaration of 'SqItem' differs from previous declaration

Anybody know a solution?
0
Comment
Question by:codecaine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
rinfo earned 500 total points
ID: 37810391
This error message occurs when the declaration of a procedure, function, method, constructor or destructor differs from its previous (forward) declaration.

This error message also occurs when you try to override a virtual method, but the overriding method has a different parameter list, calling convention etc.

Try removing  'Override'  on line 183 and 184.
0
 
LVL 1

Author Closing Comment

by:codecaine
ID: 37810552
Thanks you. That was the problem
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sequence is something that used to store data in it in very simple words. Let us just create a list first. To create a list first of all we need to give a name to our list which I have taken as “COURSE” followed by equals sign and finally enclosed …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question