Jump to content

chogan

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by chogan

  1. This works for me. from ctypes import * import win32api ImageSearchDLL = windll.LoadLibrary("ImageSearchDll") ImageSearch = ImageSearchDLL.ImageSearch imageFile = 'myImage.bmp' searchReturn = c_char_p(ImageSearch(0,0,1024,1024,imageFile)) print search_return #shows c_char_p representation print repr(string_at(search_return,21)) #shows string representation, need to fix the 21 to some sort of str_len function
×
×
  • Create New...