Solved

Python4Delphi for Delphi XE2

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ImportError: No module named 'pypyodbc' - python 3.5.2 3 609
Convert GUI app into console app for Win32 Env 5 78
python sqlite question 11 46
wipe a usb using python 5 26
Variable is a place holder or reserved memory locations to store any value. Which means whenever we create a variable, indirectly we are reserving some space in the memory. The interpreter assigns or allocates some space in the memory based on the d…
Article by: Swadhin
Introduction of Lists in Python: There are six built-in types of sequences. Lists and tuples are the most common one. In this article we will see how to use Lists in python and how we can utilize it while doing our own program. In general we can al…
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 lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now