|
-
Mar 17th, 2010, 10:54 AM
#1
Can you import user32.dll on a 64-bit system?
I have read only richtext box which I would like to also hide the caret. The only suggestions I have seen to do this is import the user32.dll
Code:
[DllImport("user32.dll", EntryPoint = "HideCaret")]
public static extern long HideCaret(IntPtr hwnd);
My question is does anyone know if this will work on a 64-bit system?
-
Mar 24th, 2010, 06:53 PM
#2
Frenzied Member
Re: Can you import user32.dll on a 64-bit system?
Yes it works perfectly on a 64-bit.
I have used the SendMessage function of user32 and have had no problems.
I don't even think there is a user64.dll - correct me if I'm wrong.
-
Mar 24th, 2010, 10:09 PM
#3
Re: Can you import user32.dll on a 64-bit system?
After a bit of research I was almost certain that there would be a problem but I had no way of testing it.
Thanks
-
Apr 3rd, 2010, 03:22 PM
#4
Hyperactive Member
Re: Can you import user32.dll on a 64-bit system?
I also use SendMessage from user32 on a Win7 64 SO and never had problems.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|