View Single Post
Old 08-22-2009, 04:53 PM   #127
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Hi.

I've returned from vacations .

About compiling xepdmgrclient for C++, I see that you both have work-around'd it already, but the correct use would be to compile xepdmgrclient.c with gcc and put the correct 'extern "C" {...};' in the .h, and include that .h from the c++ code.

Just for completeness, I've modified slightly xepdmgrclient.h to include the extern "C" part, and compiled xepdmgrtest as a C++ app as an example. Attached is xepdmgr v1.9g (no other changes).

ericshliao: for the double-refresh, the code you have shown should have avoided it. Perhaps there is a bug in xepdmgr? About the ghosting effect: the more "full refreshes" with the same image displayed you do, less ghosting; the refreshes are "full" both in window mode and in full-screen mode?
Attached Files
File Type: gz xepdmgr-1.9g-iliad.tar.gz (76.1 KB, 437 views)
Antartica is offline   Reply With Quote