Is user32.dll has any dependency?

mc 4,836 Reputation points
2024-11-07T03:17:11.1033333+00:00

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,688 questions
{count} votes

Accepted answer
  1. Jeanine Zhang-MSFT 10,041 Reputation points Microsoft Vendor
    2024-11-07T05:52:55.74+00:00

    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,366 Reputation points
    2024-11-07T06:36:12.5+00:00

    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.