Solved

Python4Delphi for Delphi XE2

Posted on 2012-04-04
2
1,134 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 2 77
When i run adoquery my application freezes 26 188
Breakpoint doesn't stop in my variable 3 36
How to insert .png images to TClientDataSet .cds file? 2 70
Less strange, but still introduction This introduction was added (1st August, 2011) to reflect some reactions.  Firstly, the term basics in the title of the article...  As any other word, it is a symbol with meaning attached to the word by some a…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

756 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