Hello,
I have been using VPE 7.10 and Dycodoc templates for a long time on 32 bit applications, and now I have to migrate some of my applications to 64 bits (I have the 32/64 bits bundled enterprise version).
Everything seems to be ok when using direct printing functions like writebox... but I can't reach to load a template file.
This is a very simple code :
VPEngine1.OpenDoc;
VPEngine1.License('VPE-xxxxxxxxx','xxxxxxxxx');
VPEngine1.SaveFileName := '*.pdf';
VPEngine1.Compression := DOC_COMPRESS_FLATE;
template:=VPEngine1.LoadTemplate('Doc1.tpl');
VPEngine1.DumpTemplate(template);
VPEngine1.WriteDoc('toto.pdf');
This code works correctly in 32 bits, but in 64 bits I get a runtime error at the calling of loadTemplate : $C0000090 FLOAT_INVALID_OPERATION.
I don't understand what is wrong...
I have the same result with all my existing tpl files and with a very simple tpl file that I created for this test.
On my developer machine VPE DLLs are into Windows\System32, and on testing machines I place it (the 64 bit version...) into my application's folder. Same result (and if I delete dll files I have another type of error...).
Can you help me ?