Posts by diamondglen

    Any hints for compiling the demo program for OSX64 using 10.3.3 Community Edition?

    I'm getting this error:

    [dccosx64 Fatal Error] WPToolsFMX_WordU1.pas(10): F2613 Unit 'FMX.WPRuler' not found.

    Win32, Win64 versions compile and run fine.

    OSX32 compiles fine but will not run under Catalina

    ...\FMX\OSX64 is in the search path and the file FMX.WPRuler.dcu is present.

    What am I doing wrong?

    I want to produce a PDF file comprised of an RTF file followed by a JPEG image on a separate page. This is my code:

    Unfortunately, the JPEG appears first in the PDF file. Any suggestions?

    The C# sample EMFExport gave the following when run

    PInvokeStackImbalance was detected
    Message: A call to PInvoke function 'wPDF!wPDF.wWindowsWrap::GetDC' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.

    followed by an OutOfMemoryException at the DrawImage call.

    Is trial version of Visual C# supported?

    I am using WPTools 4.22a. I have a document with several edit fields showing in DBWPRichText1. I want to save it to disk and open it in another program (e.g. Word, WordPerfect). So I tried the following:

    1. FileName := 'Template Test.rtf';
    2. DBWPRichText1.SaveToFile(FileName);
    3. // open the selected file using the shell
    4. ShellExecute(Self.Handle, 'open', PChar(FileName), nil,
    5. PChar(ExtractFileDir(FileName)), SW_SHOWNORMAL);

    I cannot see the merged data in Word. Is there an attribute I can set to make the merged data show up?