Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_WIDTH(_LOADIMAGE()) Ok?
#5
I have no idea how good the garbage collection / smart pointers / whatever is so there's bound to be someone better versed with the source code to answer this. That said, I would be more tempted to create a helper function if this kind of thing is needed often. Then you'd get the benefits of a simple call to a function that would do the loading and calculation and also clean up after itself.

And, with that, I haven't answered your question at all  Big Grin
RokCoder - dabbling in QB64pe for fun
Reply


Messages In This Thread
_WIDTH(_LOADIMAGE()) Ok? - by TerryRitchie - 01-13-2023, 01:45 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by mnrvovrfc - 01-13-2023, 02:07 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by TerryRitchie - 01-13-2023, 03:43 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by mnrvovrfc - 01-13-2023, 02:24 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by RokCoder - 01-13-2023, 04:10 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by bplus - 01-13-2023, 04:18 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by bplus - 01-13-2023, 04:59 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by SMcNeill - 01-13-2023, 05:12 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by TerryRitchie - 01-13-2023, 08:55 PM
RE: _WIDTH(_LOADIMAGE()) Ok? - by TempodiBasic - 01-21-2023, 12:02 AM



Users browsing this thread: 4 Guest(s)