Autor Beitrag
endeffects
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41



BeitragVerfasst: So 27.06.04 00:45 
hallo,

ich bin relativ neu im Umgang mit Delphi, was mich interessieren würde ist ob es möglich ist eine dll die in Delphi erstellt wurde und sich lediglich unter anderem mit einigen wenigen Stringumwandlungen beschäftigt auch in ein Delphi Projekt einzubinden und dort zu nutzen.

mfg

Moderiert von user profile iconTino: Überflüssige Absätze entfernt.
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: So 27.06.04 09:23 
Prinzipiell ja.
Du musst nur drauf achten, was du für Stirngs benutzt. Ich kenne die verschiedenen String-Möglichkeiten von VB nicht, aber unter Delphi stehen dir array of Char, LongStrings und PChars zur Verfügung, keine Probleme bei DLLs machen eigentlich nur PChars und arrays of Char, sofern deren Länge fest bestimmt ist (keine dynamischen Arrays). Wenn du dich drüber shlau machst, wie VB Strings intern behandelt, kannst du auch unter Delphi die DLL einbinden.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 27.06.04 11:13 
VB verwendet die von COM bekannten BSTRs welche in Delphi den WideStrings entsprechen...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!