
Q for API gurus: ChooseFont API call sample
Using VB5 SP3 Enterprise.
I'm trying to do a wrapper class for the ChooseFont API function.
I have copied the Const, Function and Type declarations from the API
Viewer, and CommDlgExtendedError returns error 1 ( lStructSize
parameter does not match expected size ).
Only the error is raised, but any GPF so the call works OK and I have
checked the Win32 SDK help file and I'm passing all the required
fields. I'm suspecting bad declaration of some const or type.
Thanks in advance.
--
Alfonso Montero Lpez
Quitar la palabra XXREMOVE al responder a mi direccin.
Remove the word XXREMOVE when replying to my address.