winapi - IsClipboardFormatAvailable returns true but GetClipboardData returns NULL even when text on clipboard -


this problem see in vim hoping can provide advice on (with google code shutdown, cannot submit bug reports vim).

on x64 windows 8.1 (it works fine on x64 windows 7) vim/gvim works fine windows clipboard until launch web browser (chrome, firefox, opera, ie). when browser running, vim can place text on clipboard cannot text clipboard. when web browser closed, clipboard starts working again.

i have tracked problem down isclipboardformatavailable(cf_unicodetext) returning non-null getclipboarddata(cf_unicodetext) returning null under these conditions. seems specific how vim using win32 api (probably different calls these) because simple test apps write doing work fine.

i have tried running different compatibility settings , running administrator nothing makes difference. behavior same both 32-bit , 64-bit builds created using visual studio 2013 community , 2010 professional.

what puzzling official 32-bit build (very old @ point) works fine own build off of exact same tag (or every other build have found on internet) not work.

for curious there instructions on how , build vim on windows here (note - not blog author): http://solar-blogg.blogspot.com/p/vim-build.html


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -