Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GUI app and winAPI calls
#10
A HANDLE is a long pointer. In QB64, our equivalent is an OFFSET. A long pointer is 4 bytes in 32 bit and 8 in 64. In QB64, an OFFSET is 4 bytes in 32 bit and 8 in 64. It's our closest approximation. As for the class name with the "at AND &HFFFF~&", I'm not sure where they would have gotten that value for their class. Very odd. I've not seen something like that before. If I were you, I'd instead use the actual name of the class and keep the declaration with OFFSET. It looks like you defined it as "QB64pe". So just pass it as _OFFSET(ClassName) in your call there rather than that weird "at AND &HFFFF~&".
Tread on those who tread on you

Reply


Messages In This Thread
GUI app and winAPI calls - by aurel - 03-22-2023, 02:23 PM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-22-2023, 02:26 PM
RE: GUI app and winAPI calls - by aurel - 03-22-2023, 05:24 PM
RE: GUI app and winAPI calls - by aurel - 03-22-2023, 06:10 PM
RE: GUI app and winAPI calls - by aurel - 03-22-2023, 06:23 PM
RE: GUI app and winAPI calls - by aurel - 03-22-2023, 07:21 PM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-22-2023, 08:05 PM
RE: GUI app and winAPI calls - by aurel - 03-22-2023, 08:13 PM
RE: GUI app and winAPI calls - by mnrvovrfc - 03-22-2023, 08:33 PM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-22-2023, 08:34 PM
RE: GUI app and winAPI calls - by aurel - 03-22-2023, 09:13 PM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-22-2023, 09:23 PM
RE: GUI app and winAPI calls - by aurel - 03-22-2023, 09:35 PM
RE: GUI app and winAPI calls - by aurel - 03-22-2023, 09:39 PM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-22-2023, 11:45 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 07:38 AM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-23-2023, 01:03 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 05:26 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 07:18 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 07:29 PM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-23-2023, 07:33 PM
RE: GUI app and winAPI calls - by mnrvovrfc - 03-23-2023, 07:51 PM
RE: GUI app and winAPI calls - by vince - 03-23-2023, 08:07 PM
RE: GUI app and winAPI calls - by mnrvovrfc - 03-23-2023, 08:41 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 08:25 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 08:41 PM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-23-2023, 08:53 PM
RE: GUI app and winAPI calls - by vince - 03-23-2023, 08:50 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 08:51 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 08:53 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 09:00 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 09:07 PM
RE: GUI app and winAPI calls - by aurel - 03-23-2023, 09:09 PM
RE: GUI app and winAPI calls - by SpriggsySpriggs - 03-23-2023, 09:11 PM
RE: GUI app and winAPI calls - by vince - 03-23-2023, 09:21 PM
RE: GUI app and winAPI calls - by aurel - 03-24-2023, 06:33 AM
RE: GUI app and winAPI calls - by mnrvovrfc - 03-24-2023, 07:12 AM
RE: GUI app and winAPI calls - by aurel - 03-24-2023, 09:27 AM
RE: GUI app and winAPI calls - by aurel - 03-24-2023, 09:51 AM
RE: GUI app and winAPI calls - by mnrvovrfc - 03-24-2023, 06:19 PM
RE: GUI app and winAPI calls - by aurel - 03-24-2023, 02:49 PM
RE: GUI app and winAPI calls - by aurel - 03-24-2023, 08:43 PM
RE: GUI app and winAPI calls - by aurel - 03-24-2023, 08:49 PM
RE: GUI app and winAPI calls - by aurel - 03-25-2023, 04:28 PM
RE: GUI app and winAPI calls - by aurel - 03-25-2023, 07:32 PM
RE: GUI app and winAPI calls - by aurel - 03-25-2023, 09:35 PM
RE: GUI app and winAPI calls - by RhoSigma - 03-25-2023, 10:44 PM
RE: GUI app and winAPI calls - by aurel - 03-26-2023, 07:16 AM
RE: GUI app and winAPI calls - by RhoSigma - 03-26-2023, 08:39 AM



Users browsing this thread: 16 Guest(s)