Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo allerseits,

ich muss mit Borland-Compiler unter Linux an einem Programm weiterarbeiten....

jetzt bin ich an einem Problem angelangt wo ich WideString in AnsiString umwandeln muss.....

nun ich hatte bis vor diesem Projekt nie etwas von AnsiString und bis gestern auch nichts von WideString gehört.....

Wär super wenn Ihr Vorschläge oder Tipps habt wie man das bewerkstelligen könnte.

Konkrete Problemstellung:

Ich hole den aktuellen Inhalt eine ComboBox: ComboBox->Text;

Das ist Teil eines Pfades für fopen: fopen(<Dateipfad, "r">)

Schon probiert:

String part = ComboBox->Text; // geht nicht! Fehler: cannot convert 'WideString' to 'AnsiString'

Auch WideString part = ... geht nicht weil dann bei fopen gemeckert wird....

Aber es muss doch dafür sicher irgendeine Methode geben...... ?!?

Hab jetzt aber leider selber nichts finden können.... :(

Hallo,

folgendes sollte eigentlich funktionieren.


AnsiString part = ComboBox->Text;

Frank

Danke für die schnelle Antwort,

funktioniert aber leider nicht... gerade probiert:

[C++Error] E2034 Cannot convert 'WideString' to 'AnsiString'

Dann soll aber zumindest das funktioniert.


WideString part = ComboBox->Text;

Frank

Wie im ersten Posting geschrieben hatte ich das auch schon probiert.... leider geht das aber auch nicht.........!

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.