i'm using tjvhiddevicecontroller class retrive hid device information. have plugged 2 hid devices, i'm trying ge "devicepath" of sp_device_interface_detail_data_a structure getting device path '\'. ican't open createfile function. please me solve issue. os win7. all. this guessing! the 1 thing can think of is: tjvhiddevicecontroller calls windows api call without using or w suffix. structure used sp_device_interface_detail_data_a, ansi version. now, if use delphi 2009 or higher, routine expect sp_device_interface_detail_data_w. size same looks ok. strings stored usc2 encoded (widechars) instead of ansi encoded -> after every ansi character there null byte. tjvhiddevicecontroller converts character array pascal string using function strpas , hence, see first character. check: set breakpoint after function call fills structure , use cpu window view content memory dump. if see ansi characters every other byte , null bytes in between, ca...
what type should define in sqlalchemy definition text article or blog entry? i'm using mysql. column('article_text', ???) column('article_text', sqlalchemy.unicodetext()) that should work on supported database, not mysql.
a network volume's name can changed. changed name spinal disk to change network name, do write new name in registry. attach network volume using functions definedosdevicew. in timing, windows explorer read registry in guessing. shchangenotify(shcne_driveadd, shcnf_path, root, null); // sure. sendmessagetimeout(hwnd_broadcast, wm_devicechange, message, (lparam)(&dbv), - smto_abortifhung, 200, &dwresult); // sure again! it works, doesn't work though use shchangenotify , wm_devicechange sure. sometimes, new name not applied in windows explorer. if terminate explorer , re-execute, name applied. i'm finding interface having windows explorer refreshed.(is correct syntax? sorry, can't express sentence well.) there proper function? explorer should re-read registry , refreshed. unfortunately, explorer can't refresh every time told so. because way many apps behave badly, , use shchangenotify() shcne_allevents. imagine if exp...
Comments
Post a Comment