Solved

Python4Delphi for Delphi XE2

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction On September 29, 2012, the Python 3.3.0 was released; nothing extremely unexpected,  yet another, better version of Python. But, if you work in Microsoft Windows, you should notice that the Python Launcher for Windows was introduced wi…
Strings in Python are the set of characters that, once defined, cannot be changed by any other method like replace. Even if we use the replace method it still does not modify the original string that we use, but just copies the string and then modif…
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 …
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…

759 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

19 Experts available now in Live!

Get 1:1 Help Now