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.

MonitorFromPoint Nichtaufgeloestes externes Symbol

Empfohlene Antworten

Hallo zusammen

Da ich einen zweiten Monitor angeschlossen hab, versuch ich mein Programm gerade um ein paar zusätzliche Features an der Ecke zu erweitern.

Ich hab auch schon ein schönes Beispielprogramm gefunden.

Aber wenn ich den Code in mein Projekt kopiere dann bekomm ich leider fehler :(.

Zum Beispiel:

#if WINVER < 0x0500

#include "multimon.h"

#endif // WINVER < 0x0500

#include "winuser.h"

Beim Aufruf von:

HMONITOR mon = ::MonitorFromPoint( CPoint(1300,1), MONITOR_DEFAULTTONULL );

Bekomme ich:

ForeignVlcPlayer.obj : error LNK2001: Nichtaufgeloestes externes Symbol _xMonitorFromPoint@12

Debug/Sock.exe : fatal error LNK1120: 1 unaufgeloeste externe Verweise

Ich hab schon den Quellcode des Beispielprojektes u. meines Projektes verglichen. aber ich kann um verrecken nichts finden.

Kann mir jemand sagen was ich noch machen muss um MonitorFromPoint zu verwenden? :(

P.S. Falls das einen unterschied macht: Ich verwende Visual Studio 6.0 unter Windows Vista.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.