Share via

Is user32.dll has any dependency?

mc 4,756 Reputation points
Nov 7, 2024, 3:17 AM

I want to use HDC to draw text in android.

So can I copy user32.dll to android and then use HDC ?

to get bitmap with some text?

I will specify font and font-size

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,672 questions
{count} votes

Accepted answer
  1. Jeanine Zhang-MSFT 9,946 Reputation points Microsoft Vendor
    Nov 7, 2024, 5:52 AM

    Hi,

    Welcome to Microsoft Q&A!

    So can I copy user32.dll to android and then use HDC ?

    No.

    You couldn't copy user32.dll to android and then use HDC.

    Thank you,

    Jeanine

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 45,206 Reputation points
    Nov 7, 2024, 6:36 AM

    user32.dl is a pur native Windows assembly, you can not use it on any other OS like Android.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.