Are there some "external" declarations defined somewhere? Or do I have to LoadLibrary/FreeLibrary and link to them somehow?
In this code (similar to the sample shown in the documentation), FPreviewForm is my windows form (TForm) to be used for the preview, but none of the Vpe procedures used are finding the DLL as it stands.
- Code: Select all
var
AHandle: THandle;
begin
AHandle := VpeOpenDoc(FPreviewForm.Handle, 'Test', 0);
VpePreviewDoc(AHandle, 0, VPE_SHOW_MAXIMIZED);
VpeCloseDoc(AHandle);
end;
What I'm trying to achieve is my own preview form with some customised functions on it that are not available on the default VPE preview form.
Thanks for any assistance you can provide.