![]() |
IInteger class
Hallo
Weiß jemand, wo man die IInteger class für Delphi findet? Die DEC Mathebibliothek oder, was es benannt wird? |
Re: IInteger class
Die DP-Suche bringt dazu 'ne ganze Menge an Beiträgen zum Vorschein :roll:
z.B. ![]() |
Re: IInteger class
Wenn ich versuche, das Bplpaket anzubringen, fällt es aus, da es ist nicht ein Entwerferpaket... Wenn ich die Maßeinheiten in meinem Quellenprogramm hinzufüge, beschwert sich es viel über fehlendes end und andere Störungen
|
Re: IInteger class
Also, zu einigen Problemen beim Einbinden/Verwenden des DECs gibt es in verschiedenen Threads schon Lösungen.
An sonsten wäre es gut, wenn du genau sagts welche Probleme du hast und womit. - die Delphi-Version - die Fehlermeldungen - und eventuell einige Beispielcodes, wie du versuchst es in deinem Programm zu machen (also die Stellen deines eigenen Quellcodes, bei/nach welchen die Fehler auftreten) Dann können dir eventuell sogar einige unserer User helfen und eventuell schaut sogar mal der Schöpfer dieses Meisterwerks vorbei ^^ |
Re: IInteger class
Build
[Error] ConsoleForm.pas(96): 'IMPLEMENTATION' expected but '.' found [Error] ConsoleForm.pas(98): Declaration expected but end of file found [Error] ConsoleForm.pas(42): Unsatisfied forward or external declaration: 'AssignConsole' [Fatal Error] Test.dpr(8): Could not compile used unit 'ConsoleForm.pas' Es ist Delphi 7 und diese Störung occures, wenn ich versuche, das Testprojekt zu kompilieren. Als gesagtes, bringt das BPL-Paket nicht und wenn ich manuell die Maßeinheiten einschließe, die gleichen Störungen occures an |
Re: IInteger class
@Scouz:
kannst du in englisch deine Fragen posten ? please post in english. Die Distributation vom DECMath ist rein binär, also ohne Sourcen für die DCUs und Packages. Du hast versucht die mitgelieferten Interface Dateien im \LibInt\ Ornder neu zu compilieren. Dies geht nicht da diese Sourcen nur aus den Interfaces bestehen, also ohne Implementation. Sie dienen quasi nur als Hilfe. Nun Step By Step: 1.) welche Delphi Version ? nur für D5,D6 und D7 kannst du hier eigene Versionen vom DECMath downloaden. 2.) download deiner Version 3.) entpacken des ZIPs mit Ordnern in zb. den Ordner D:\DEC_D5\ für D5 4.) Delphi starten 5.) Test Projekt im Ordner D:\DEC_D?\Test\Test.bpg öffnen 6.) F9 drücken 7.) fertig Gruß Hagen |
Re: IInteger class
Build
[Fatal Error] File not found: 'C:\Programmer\Borland\Delphi7\Lib\DECMathD7\Conso leForm.pas' That's when I just try to compile the .bpg file (I'm danish so my german sucks) I also tried where the path isn't added to the Library path list. I can't extract to my D drive if I'm not making a CD |
Re: IInteger class
Schau mal, ob sich irgendwo eine ConsoleForm.dcu versteckt.
Wie gesagt, die Quellcodes sind ja nicht vorhanden (nur halt die Headerabschitte einiger Dateien). Es kann jetzt allerdings sein, daß diese Datei nicht gefunden wird. In diesem Fall könntest/müßtest du einfach den Pfad zu dieser Datei in den Suchpfaden ergänzen. z.B. Tools > Umgebungsoptionen... > Bibliothek > Suchpfad |
Re: IInteger class
ConsoleForm.dcu is in the DECMathD7 directory, and even when I add it to Library Search Path, it still wants .pas
When I build it with runtime package DECMath, I get this: Build [Fatal Error] Test.dpr(8): Bad packaged unit format: ..\DECMath.dcp.ConsoleForm |
Re: IInteger class
Ich hab da noch zwei Beirträge dazu gefunden > über
![]() ![]() ![]() |
Re: IInteger class
I keep getting:
Build [Fatal Error] Test.dpr(8): Bad packaged unit format: ..\DECMath.dcp.ConsoleForm I've followed the guide by naming the dir DEC_D7, and I even tried renaming the Test dir to DEMO UPDATE: Bad packaged unit format: C:\Programmer\Borland\Delphi7\Lib\DEC_D7\DECMath.d cp.NInts I tried including it as a runtime package (DECMath) and if I don't include any of the units (NMath, NInts, ...) it compiles, but if I do NMath, it comes up with that error (same thing with NInts as the example is from) Note: I downloaded DECMathD7.zip posted in a thread (I'm using D7 yes) |
Re: IInteger class
Ok, first some explanations:
1.) you have nothing to install with DECMath, no designtime package, paths and so on... 2.) you create a new folder like c:\DEC_D7\ 3.) you unzip DECMathD7.zip into this folder, with folder option checked 4.) then you start D7 5.) open c:\DEC_D7\Demo\Test.bpg 6.) press F9, finish now some restrictions: 1.) you must never copy any files to another locations, that make the work only complicated 2.) DECMath is a binaries only distributation, thus you can't recompile any units of it, except some included demo sources 3.) all stuff is fully functional, can be fully tested and isn't limited to 4.) ensure that Delphi has no access to older DEC Part I stuff, eg. to the original and free avaiable Delphi Encryption Compendium. Thats realy important, because DECMath was compiled with another inofficial version of DEC Part I. Temporary you can easily rename any other DEC folders to prevent access for the Compiler, otherwise Delphi tries to recompile all units. In such a case you have to shutdown Delphi, delete the old files and reinstall the ZIP File to renew all DCUs and BPLs. 5.) all sources in folder c:\DEC_D7\LibIntf\ are only the interface sections of my original sources, means without the implementation sections. Thats for documentation purposes only. 6.) before installation please delete all DEC Stuff in your ..\Borland\Delphi 7\Lib\ folder 7.) please remember, these distributations are inofficial and limited for academical and private use only 8.) DECMath contains nothing that must be installed into designtime packages 9.) all projects in DECMath use relative paths in they project options, thus you must nothing change in any global searchpaths of Delphi oder your operating system. Take a look into project options -> compiler paths as example from Test.dpr In short: create a new folder, unzip DECMathD7.zip into, run Delphi, open ..\Demo\Test.bpg, and run it. Best Regards, Hagen [edit] Ups, if i wrote above \demo\test.dpr then it could be maybe \test\test.dpr ;) but essentialy thats not important [/edit] |
Re: IInteger class
1.) you have nothing to install with DECMath, no designtime package, paths and so on...
2.) you create a new folder like c:\DEC_D7\ 3.) you unzip DECMathD7.zip into this folder, with folder option checked 4.) then you start D7 5.) open c:\DEC_D7\Demo\Test.bpg 6.) press F9, finish I tried following that... First I made sure that Delphi had no access to any files from DEC (I deleted the folder I installed in and then I did a search to see if any files with DEC was still there). Now I unzipped the .zip to C:\Programmer\Borland\DEC_D7. I then opened up delphi and made sure that the library paths were not added. Then I opened ..\DEC_D7\Test\Test.bpg and no errors were shown. Then I hit F9 and it suddenly complained about ConsoleForm.pas. Then I went to Project -> Options -> Packages and made DECMath as Runtime in the field at the bottom. I then tried to hit F9 again and then I got this error again: Build [Fatal Error] Test.dpr( 8 ): Bad packaged unit format: ..\DECMath.dcp.ConsoleForm |
Re: IInteger class
Hm ok let me a little bit time i test this tonight again. Maybe it could be a different Delphi 7 version, i have only the first version of it installed without patches or updates.
Zitat:
Try to move ConsoleForm.DFM (unmodified !!) to folder \test\. I suppose that could be a problem because DFMs as resources are'nt included into DCUs and even DCPs. Iff nothing help i try to remove ConsoleForm.pas from DECMath Package and give you the PAS Source. Then you can recompile it separately. Best Regards, Hagen |
Re: IInteger class
It didn't work by moving ConsoleForm.DFM to the Test directory. It still complains about that error with "Bad packaged format"
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:26 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz