Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.
ze worden idd in de uiteindelijke executable gebakken.
dit wil ik in mijn geval dus niet. ik wil mijn classes in losse bestanden zoals dlls.
nu kan ik wel dlls maken met mooie classes erin
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Als je het percee met een 'gewone' DLL wil doen kan je ook gewoon classes doorgeven, maar beter is het via interfaces te doen.
We adore chaos because we like to restore order - M.C. Escher
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Verwijderd
Misschien dat je daar eens naar moet zoeken !
Met classes doorgeven bedoel ik
// In DLL
function GeefMijEenNieuweInstantie: TMyClass;
We adore chaos because we like to restore order - M.C. Escher
ik kreeg ook geen andere mogelijkheid werkend namelijk. want je kan de class niet net zo benaderen als een functie of procedure. en uit de verhalen die ik op internet heb gevonden kon ik alleen maar concluderen dat men nog niet zover was om een class in een gewone dll te zetten en automatisch te ondersteunen (wat ik overigens erg vreemd vond). met COM etc. zou het ook moeten werken, maar daar heb ik nog geen verstand van. ik zal me ook daar eens in verdiepen. bedankt in ieder geval.
mijn vraag is nu nog alleen, wat is nou het netste om te doen. de class doorgeven dmv een functie, delphi packages gebruiken of meer de weg van COM ingaan. of maakt het allemaal niks uit?
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
De DLL manier is wat onveilig, mits correct geimplementeerd. Als je het op de manier doet die ik als voorbeeld gaf heb je de implementatie van de class in de DLL, maar ook in de EXE. Je zal dus moeten gaan werken met basis klassen of nog beter: Interfaces.
We adore chaos because we like to restore order - M.C. Escher
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
We adore chaos because we like to restore order - M.C. Escher