problem in api - win32

Grailly 1 Reputation point
2022-02-19T19:46:48.477+00:00

hi , experts could you change to vba the following

/ get the URL state structure for this window
URLCtrl *url = (URLCtrl *)GetWindowLong(hwnd, GWL_USERDATA);

dim url As URLCtrl
url=GetWindowLong(hwnd,GWL_USERDATA)

give me a error type mismatch

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,581 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,713 questions
{count} votes

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.