January 19th, 2000, 05:42 PM
I have a small project created by somebody. I contains 1 form with several functions and procedures and 1 module with API declarations. I'd like to wrap everything into 1 class. 1 of the API functions requires user defined Type parameter:
Declare Function ProcessFirst Lib "kernel32" Alias "Process32First" (byval _
hSnapshot as Long, uProcess as PROCESSENTRY32) as Long
Type PROCESSENTRY32
dwSize as Long
szexeFile as string * MAX_PATH
End Type
I did not list all the members of Type to be shorter.
While these declarations are in a separate module everything's OK. When I'm moving them into the class I receive an error. How can it be wrapped into 1 single class?
Thank you.
Vlad
Declare Function ProcessFirst Lib "kernel32" Alias "Process32First" (byval _
hSnapshot as Long, uProcess as PROCESSENTRY32) as Long
Type PROCESSENTRY32
dwSize as Long
szexeFile as string * MAX_PATH
End Type
I did not list all the members of Type to be shorter.
While these declarations are in a separate module everything's OK. When I'm moving them into the class I receive an error. How can it be wrapped into 1 single class?
Thank you.
Vlad