|
-
Mar 12th, 2025, 03:16 PM
#17
Re: PDF Reader ActiveX Control
Well first as mentioned the callback must be CDecl...
Public Function WriteBlockCallback CDecl(ByVal pThis As Long, ByVal pData As Long, ByVal size As Long) As Long
And it shouldn't matter but you've got a lot of extras...
tWrite.WriteBlock = FuncPtr(AddressOf WriteBlockCallback) is fine.
Last edited by fafalone; Mar 12th, 2025 at 03:26 PM.
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
|