Why In Delphi 5 showing Dsgnintf.dcu not found error [duplicate] - delphi

This question already has answers here:
Designintf.dcu not found in custom component
(3 answers)
Closed 8 years ago.
hi I tried one component code in Delphi 5. and got Error DsgnIntf.Dcu not found.
Actually I was transferring my Code from Delphi 5 to Delphi XE5. In Delphi XE5
while running I got error DesignIntf.dcu not found .
I tried all way replace DesignIntF, Design Editor and all.
I got response that 'Delphi after Delphi 6 not redistributed this Designtime code'.
then at last I Tried it on Delphi 5 for testing . in that version Dsgnintf.dcu
should not come.
I think Not Redistribution but another problem in it. can get direction regards this ?
thanks
abhishek mestri

DsgnIntf.Dcu is a part of ToolsAPI. Now in newer versions of Delphi this file has been replaced by DesignIntf.pas.
Based on information on site below replacing references from DsgnIntf to DesignIntf solves the problem most of the times. But I would not count on this as there were lots of changes from Delphi 5 to Delphi XE5. Here is the link to the site:
http://www.delphifaq.com/faq/delphi/vcl/f266.shtml
EDIT: ToolsAPI by default wasn't available in Personal editions of Delphi. This unfortunately mean that for those of you who own Personal edition of Delphi my answer won't help.
Newer versions of Delphi use Open Tools API which are available in all Delphi editions so there is no more restriction for you to own athleast Proffesional Edition to use it. I'm not sure in which Delphi version was this change made.

Related

TeeChart ActiveX 7 issue

I have got an issue in a legacy project that uses TeeChart 7 ActiveX.
Unfortunatelay this project is stuck to this old version.
Is there a real chance to get a fix to be able to run at least the most recent V 7 ocx ?
The issue is: Exporting data from one application as native and importing from another application will cause the importing application to crash. It works once or twice, then this effect happens.
The problem came with version > 7.0.0.6. That means in 7.0.0.6 it works perfect, with higher versions it doesn't.
I have received your project.
We have sent you an email where we have explained that problem you’re experiencing doesn’t appear in TeeChart Activex v7.0.1.6 published 4 years ago, and neither in TeeChart Activex v2016.0.0.2. Therefore, the problem is fixed for latest Teechart Activex releases and we would like suggest you, update your version to fix it.

NMUUE library for Delphi 7

I' m trying to run a project on Delphi 7 and getting file not found error 'NMUUE.dcu'. It is needed to create TNMUUProcessor object. Reinstalling doesn't help . So where can I find this library for my project?
I assume you've migrated this project from a lower version of Delphi. If I remember correctly, NMUUE is the UUE encoding unit for the Fastnet internet components. These didn't ship with Delphi 7 (I think Delphi 5 was the last version that supported them). I'm not sure if there's a download available for it still as NetMasters have gone out of business. Your best bet would be to migrate the project to use something like Indy.
That component is part of FastNet. It is not distributed with Delphi 7: http://edn.embarcadero.com/article/29766
The Fastnet components are no longer bundled with Delphi. It appears Netmasters does have a version compatible with Delphi 7 which can be purchased at: http://www.netmastersllc.com/
You probably will need to upgrade to a paid version of FastNet that supports Delphi 7, if such a thing can still be obtained, or switch to Indy.
On the other hand, if you are not actually doing anything more than uuencoding you could easily find a Delphi uuencode function with a websearch.
You probably ought to try to understand your program and what its requirements are before you proceed much further. Blindly solving missing dependencies without understanding why your program needs them is usually a recipe for future pain.

Firemonkey designide.dcp 64 bit [duplicate]

This question already has an answer here:
How add Delphi XE2 64bit support to a simple Delphi XE2 32bit VCL component?
(1 answer)
Closed 9 years ago.
Has anyone successfully build a custom component in Firemonkey using designide.dcp for a 64 bit OS?
I am trying to add a design editor to a custom component. I followed the tutorial on http://docwiki.embarcadero.com/RADStudio/XE3/en/Creating_a_Component_Editor_and_a_Property_Editor_for_FireMonkey_Components.
This works just fine when compiling to 32 bit, but I get the following error for 64 bit :
[dcc64 Fatal Error] ComponentEditor.pas(10): E2213 Bad packaged unit format: c:\program files (x86)\embarcadero\rad studio\11.0\lib\win32\release\designide.dcp.DesignEditors - Expected version: 25.0, Windows Unicode(x64) Found version: 25.0, Windows Unicode(x86)
Looking at the path this makes sense as the file refer to lib\win32. However, under lib\win64 there is no such file.
I've been trying to find a solution on the internet without any luck. It does not look like many people have tried this yet.
There is no designide.dcp for 64 bit. The IDE (and therefore all of the design time code) is 32-bit. It can compile 64-bit targets, but the IDE itself (and any components and packages) are 32-bit only.

DreamEdit component converted to Delphi 2010

I am using the DreamEdit (source code editing) component (of which I have a license and the source).
Sadly, the company behind it (DreamCompany) stopped supporting and upgrading the component some years ago.
Has anyone been using this component too ? And more importantly, has anyone upgraded this component to Delphi 2009 or Delphi 2010 ?
I am willing to pay any reasonable price for this upgrade to Delphi 2010.
Thanks.
I tried to convert it myself but didn't have much luck because of all the Unicode differences, so in the end just decided to convert to SynEdit.
SynEdit is Unicode-enabled and provides much the same functionality as Dream Memo does. It's at http://synedit.sourceforge.net/
Just to give an update on my own question: I looked around some further, found SyntEdit (note the t after Syn, so this is NOT SynEdit), downloaded it, tried it out under Delphi-2010 and bought a license.
It really does seem to fill my needs, is still maintained and is compatible with Delphi-2010 (the main reason why I was looking for another component suite than DreamEdit).
If anyone should be interested: it can be found here:
http://www.econtrol.ru/syntedit.html.
Thanks for all answers ... Erik
LMD SyntaxEdit can be reasonable replacement form DreamEdit - take a look - http://lmd.de/products/vcl/lmdsyntaxedit/
I use TMS AdvMemo

Delphi code formatter

Are there any utilities that reformat Delphi code ?
EDIT
I am using Delphi 2006
Some feedback
Thanks to all that answered this question
I have been using the JCF code formatter - it works well and my code is been formated to Object Pascal Style Guide
You can try the "Jedi code Format". See more information here: http://jedicodeformat.sourceforge.net/
The formatting engine of DelForExp has been integrated into the code base of GExperts. An experimental version of GExperts including a "Code formatter" here:
http://blog.dummzeuch.de/experimental-gexperts-version/
Separate information/downloads for DelForExp here.
Regards.
I have been for some time releasing experimental GExperts versions that include the code formatter formerly known as DelForEx with some improvements and fixes. The latest release is from 2020-10-23 and supports the following Delphi versions:
Delphi 6 to 7
Delphi 2005 to 2010
Delphi XE
Delphi XE2 to XE8
Delphi 10 to 10.4
Delphi 11 (Danger, Alpha version for now 2021-10-24)
Please note, though, that I am using it only with Delphi 2007, so the other versions may have unknown bugs. Also, not all language improvements of later Delphi versions will work, e.g. nested types, generics and anonymous methods.
see gexperts.dummzeuch.de for details.
btw: Any help improving the formatter, especially adding the new language constructs would be appreciated. The source code can be downloaded from the subversion repository linked from my homepage.
I found this: JEDI Code Format
lextudio - Code Beautifier Collection 6 for CodeGear RAD Studio 2007
http://code.google.com/p/lextudio/
Yes,
I always used TWM's experimental version os GExperts which support this feature.
In Delphi 2006 and 2007 it works perfectly (Don't know about older versions though).
The current version is adding support to Delphi 2009, but I don't know in which stage it is, you can find more about it here:
http://www.dummzeuch.de/delphi/gexperts/english.html
BTW: There is an integrated Source Code Formatter since Delphi 2010.
Free Pascal also has a codeformatter, ptop, but it only implements the more basic dialect (say D4-D6 level).
Lazarus recently changed to use the Jedi codeformatter afaik.
The TWM version of GExperts works well and is nicely integrated into the IDE. It enables you to write and modify your code without worrying too much about exact formatting, then just hit the assigned hot-key and it instantly reformats. I have always found it easy to set up to match the style I prefer, and not as complex as JEDI Code Format, which looked like overkill to me.
The Delphi 2009 version is now available from the link posted above, though based on a beta release of GExperts. It is still much the same formatter underneath, though, and is unaware of the syntax of some of the newer Delphi enhancements.
I just made an online pascal code beautifier based on JCF. You may try it at https://pak.lebah.web.id/jcf
HTH.
There is OPEdit II which is free, and works very well.
It's a full text editor, with code refactoring and code browsing.
There is a text formatter, which uses the internal code parser, therefore handle conditional defines just as a real Delphi compiler.
See http://www.codefactor2.com
There is a program PascalFormat

Resources