Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: CreateDC

10 Jan 2012   #1
phenix

windows 7 Pro 64 bit
 
 
CreateDC

Thanks for any help.
Is CreatDC still valid in Windows 7 pro?

This is what I have coded:
dis db 'DISPLAY',0
invoke CreateDC, dis, NULL, NULL, NULL
Masm32 doesn't seem to like it.


My System SpecsSystem Spec
.
10 Jan 2012   #2
Dwarf

Windows 8.1 Pro RTM x64
 
 

Have a look at this: CreateDC function

So, from what I can make out, it should read CreateDC(dis,NULL,NULL,NULL)
My System SpecsSystem Spec
10 Jan 2012   #3
phenix

windows 7 Pro 64 bit
 
 

Thank you Dwarf for responding.
Yes I know about the Microsoft API CreateDC.
Was questioning the currency of the API.
It doesn't work on Windows 7 pro.
Gives an error with NO detail.
Deleted the CreateDC and the program fiunctioned normally.
My System SpecsSystem Spec
.

Reply

 CreateDC




Thread Tools Search this Thread
Search this Thread:

Advanced Search



Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:43.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App