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.

DLL erstellen und aufrufen

Empfohlene Antworten

Veröffentlicht

Hi,

hat jemand von euch schonmal in c++ ne dll erstellt und sie dann aus c++ aufgerufen?

irgendwelche tips für c++ beginner?

Das erstellen, denk ich, ist je nach IDE anders. (VS C++6)

Zum benutzen:

// Datentyp für die Func anlegen

typedef unsigned int (*td_MyDllFunc) (void);
// Variable anlegen
td_MyDllFunc p_MyDllFunc;
// DLL laden
hMod_DLL=LoadLibrary("myDll.dll");
// Funktion innerhalb der DLL finden und Address zuweisen
p_MyDllFunc = (td_MyDllFunc) GetProcAddress(hMod_DLL,"MyDllFunctionName");
// Aufruf
int i = p_MyDllFunc(void);
// Ach ja,als freundlicher Programmierer: Resource freigeben.
FreeLibrary(hMod_DLL);

Zu den Funktionen findes du im MSDN genauere Erklärungen.

MfG MotM

dankeschön ;-) und so prompt... da wird sich mein chef freuen...

Hab ja grad an dem Code gehackt.

;)

[ 23. Mai 2001: Beitrag editiert von: MotM ]

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.