Author Topic: DelGdiObj cannot find any references  (Read 2252 times)

Don57

  • Guest
DelGdiObj cannot find any references
« on: December 05, 2012, 06:27:49 AM »
DelGdiObj Cannot find any call structure references

qWord

  • Member
  • *****
  • Posts: 1473
  • The base type of a type is the type itself
    • SmplMath macros
Re: DelGdiObj cannot find any references
« Reply #1 on: December 05, 2012, 06:36:31 AM »
You may take a look at DeleteObject()?
MREAL macros - when you need floating point arithmetic while assembling!

dedndave

  • Member
  • *****
  • Posts: 8825
  • Still using Abacus 2.0
    • DednDave
Re: DelGdiObj cannot find any references
« Reply #2 on: December 05, 2012, 07:33:57 AM »
that is the name of a routine that i wrote, Don

http://masm32.com/board/index.php?topic=1008.msg9228#msg9228

usage:

Code: [Select]
        INVOKE  DelGdiObj,offset hGdiObject
the PROTO goes near the beginning of the file
notice that you pass a pointer to a global - not the gdi handle