Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions on tbc source code
#1
Hi,

As I read the script code, there is a small point that is not clear to me.

Could someone help me on this?

At the beginning of the script, we have :
Global $Title = "BlueStacks App Player"
Global $HWnD = WinGetHandle(WinGetTitle($Title))

And later in the _CaptureRegion function:
Local $hDC_Capture = _WinAPI_GetWindowDC(ControlGetHandle("BlueStacks App Player", "", "[CLASS:BlueStacksApp; INSTANCE:1]"))

Is there any reason to use different instructions ?
Do you expect
ControlGetHandle("BlueStacks App Player", "", "[CLASS:BlueStacksApp; INSTANCE:1]")
and
WinGetHandle(WinGetTitle($Title))
to retrieve different handles ?


Thanks Wink
Reply
#2
due to some unable to use background mode. 2 different instruction were used. both still get BS windows.
Reply
#3
OK, thank you for your answer.
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

About The Bytecode Club

We're a community focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website