Einzelnen Beitrag anzeigen

EWeiss
(Gast)

n/a Beiträge
 
#9

AW: AnsiStringArray aus DLL an Excel-VBA

  Alt 28. Apr 2019, 05:15
Zitat:
Es war doch alles dabei... Aber danke für Deine tolle Lösung!
Ja die Daten für Exel VBA nicht für VB

Na egal läuft unter VB und sollte es auch unter VBA tun.
Zitat:
Q. What is Visual Basic for Applications?

A. Microsoft Visual Basic for Applications (VBA) is an embeddable programming environment designed to enable developers to build custom solutions using the full power of Microsoft Visual Basic.
Developers using applications that host VBA can automate and extend the application functionality, shortening the development cycle of custom business solutions.
Sollte also funktionieren.
Zitat:
obwohl Excels BSTR-Strings eigentlich WideStrings sind, wie auch Peter Below richtig festgestellt hat.
Ich mache ja letztendlich nichts anderes nur über einen kleinen Umweg..
Code:
StrConv(bStr, vbUnicode)
kommt den WideString am nächsten.
Zitat:
wo ich die Strings auch nicht mit Pointer-Akrobatik verändern kann.
Byte, Long, string sollte auch "Exel VBA" verstehen.

gruss

Geändert von EWeiss (28. Apr 2019 um 05:28 Uhr)
  Mit Zitat antworten Zitat