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,740 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,792 questions
Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,501 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.