DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
Hallo,
ich hab mir mal den neuesten DEV-C++ Compiler (V 4.9.9.2) runtergeladen und damit versucht das Programmbeispiel "Dev_CounterDLL" neu zu compilieren. Die Compilierung läuft ohne Fehlermeldung ab und heraus kommt auch die gewünschte Dev_CounterDLL.dll.
Nur leider läßt sich die DLL nicht in PL importieren. Ich bekomme beim Importieren den Hinweis "Keine Funktionen importiert".
Ein Vergleich der orginalen Dev_CounterDLL.dll und der neu compilierten DLL zeigt auch unterschiede.
Kann mir jemand sagen was da bei der Compilierung schief läuft? Sind dort noch bestimmte Compiler/Linker-Optionen einzustellen?
Mein eigentliches Ziel ist ja, die Beispiel-DLL Step by Step leicht zu verändern und so langsam den Aufbau einer PL-DLL erlernen zu können. Das funzt jedoch nur wenn die DLL auch korrekt erstellt wird.
Gruß
M8nix
ich hab mir mal den neuesten DEV-C++ Compiler (V 4.9.9.2) runtergeladen und damit versucht das Programmbeispiel "Dev_CounterDLL" neu zu compilieren. Die Compilierung läuft ohne Fehlermeldung ab und heraus kommt auch die gewünschte Dev_CounterDLL.dll.
Nur leider läßt sich die DLL nicht in PL importieren. Ich bekomme beim Importieren den Hinweis "Keine Funktionen importiert".
Ein Vergleich der orginalen Dev_CounterDLL.dll und der neu compilierten DLL zeigt auch unterschiede.
Kann mir jemand sagen was da bei der Compilierung schief läuft? Sind dort noch bestimmte Compiler/Linker-Optionen einzustellen?
Mein eigentliches Ziel ist ja, die Beispiel-DLL Step by Step leicht zu verändern und so langsam den Aufbau einer PL-DLL erlernen zu können. Das funzt jedoch nur wenn die DLL auch korrekt erstellt wird.
Gruß
M8nix
Re: DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
... nach einem WebUpdate diverser DEV-C++ Module funktioniert die Compilierung jetzt korrekt und die DLL läßt sich Problemlos importieren.
Ich kann aber nicht sagen an welchem Update-Modul es letztendlich lag, das waren zuviele auf einmal.
Gruß
M8nix
Ich kann aber nicht sagen an welchem Update-Modul es letztendlich lag, das waren zuviele auf einmal.
Gruß
M8nix
Re: DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
I noticed that if .dll (compiled by devC++) is in any directory exept programfiles/profilab/examples/counterdll devC++, it can't be included in project.
Where are You .dll files?
Where are You .dll files?
Re: DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
??? DLL´s can be imported from anywhere you like.
ABACOM support
Re: DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
I am even more ???????????????
May be it is some key?
If my .dll file is lokated in ///examples/counterdll devC++/ directory, it work fine.
If I copy .dll to any other directory and try to include it, .dll module appears in layout without inputs/outputs.
May be it is some key?
If my .dll file is lokated in ///examples/counterdll devC++/ directory, it work fine.
If I copy .dll to any other directory and try to include it, .dll module appears in layout without inputs/outputs.
Re: DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
Set path in config dialogue correctly?
This is really NOT a problem!
Explain your steps more detailed, please.
This is really NOT a problem!
Explain your steps more detailed, please.
ABACOM support
Re: DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
I make my own .dll file with devC++, and when .dll file is in ...c:/programfiles/ProfilabExpert40/Examples/COUNTERDLL-DevC++ source directory, it appears in layout with all inputs/outputs. If I copy .dll file to any other directory, or try to load it from DevC++ directory, I have no inputs/outputs and have a message like "no inputs outputs imported".
May be the reason is in some DevC++ parameter? For example, .dll from //examples/ new features4.0/strings/DLL/HexToWordDLLDelphisource (HexToWord.dll) can be read from any directory and works.
Of course I can work with all the .dll in the same directory, but it is not convenient.
May be the reason is in some DevC++ parameter? For example, .dll from //examples/ new features4.0/strings/DLL/HexToWordDLLDelphisource (HexToWord.dll) can be read from any directory and works.
Of course I can work with all the .dll in the same directory, but it is not convenient.
Re: DEV-C++ und Dev_CounterDLL-Beispiel funktioniert nicht.
So there is something wrong with your compilation, but that´s not a matter of directories.
ABACOM support