AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Sonstige Fragen zu Delphi Delphi Klasse von C nach Pascal übersetzen?
Thema durchsuchen
Ansicht
Themen-Optionen

Klasse von C nach Pascal übersetzen?

Ein Thema von Dani · begonnen am 25. Mai 2003 · letzter Beitrag vom 26. Mai 2003
 
Benutzerbild von Dani
Dani

Registriert seit: 19. Jan 2003
732 Beiträge
 
Turbo Delphi für Win32
 
#1

Klasse von C nach Pascal übersetzen?

  Alt 25. Mai 2003, 22:36
Hallo Leute,

Ich versuche gerade, folgende Klasse inkl. Zugriff auf diese nach Delhpi zu übersetzen, habs aber bisher nicht geschafft:


If you need access to information returned by calling the external code, your code source must also include the following class definition:

class CViseEntryData
{
public:
HWND m_hwndMain; // Main window handle
HWND m_hwndProgress; // Progress dialog window handle
BOOL m_bUninstall; // Uninstaller flag
LPCSTR m_lpszUninstallLogFile; // Uninstall log file path
LPCSTR m_lpszTempDir; // Installer VISE’s temp directory path
HINSTANCE m_hinst; // Instance handle of the VISE dll
char m_szInstallerName[_MAX_PATH]; // Name of the installer
};

und hierran scheiterts:
In order to correctly format the information defined in the CViseEntryData class, your
external code must include the following line:
CViseEntryData* pViseEntryData = (CViseEntryData*)dwReserved;
You may then access the CViseEntryData class information in your external code using
the following convention:
pViseEntryData->m_lpszTempDir;

--------------------------------------------------------
Was bedeuten diese Ausdrücke??

CViseEntryData* pViseEntryData = (CViseEntryData*)dwReserved;
und
pViseEntryData->m_lpszTempDir;

Kein Wort über eine zu erstellende pViseEntryData Variable im Text, und was "->" im C-Syntax bedeutet weiss ich leider auch net

Kann mir da jemand helfen?
Dani H.
At Least I Can Say I Tried
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:03 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz