Hi Jiaguo,
Can you please test with the latest version (14.7.0) and share your results?
Best Regards,
There is no improvement concerning this issue.
Can you please tell me what is the status of it ?
Sample files can be downloaded via the following link:
http://www.rapidfileshare.net/fbghktwgamuc/TestAsposeWords20140914010235.rar.html
Hi Jiaguo,
Your download link is not working at my end. Can you please share a working one?
Regarding the exception, I was not able to reproduce the same exception but I get a different exception using the latest version of Aspose. Words.
I get “The parameter is incorrect” exception at the following line (please check AsposeWordsExample1 for complete code) when I register Aspose.Words.dll and use it via COM in Delphi 7.
builder.Document: = doc;
I get “access violation” exception at the following line (please check AsposeWordsExample2 for complete code) when I register Aspose.Words.dll and use it via COM in Delphi 7.
builder.Document.Save('test.doc');
I get “class is not registered” exception at the following line (please check AsposeWordsExample3 for complete code) when I use the tag library attached with your first post.
doc: = CoDocument.Create;
Can you please share the steps to reproduce exactly the same issue?
Best Regards,
Sorry the link expires …
I have uploaded the file again. Could you try if you can download ?
http://www.rapidfileshare.net/dawa2lircoee/TestAsposeWords20140914010235.rar.html
The file in the above link only contains test projects with Delphi XE and XE7. I will test Delphi 7 later today.
If you cannot download it, can you help to comment how to transfer the file to you ? It is 100MB.
Hi Jiaguo,
You can use DropBox or Live storage to share this project.
Best Regards,
Please check the file :
https://www.dropbox.com/s/2wkrsv7l42c8agf/TestAsposeWords20140914010235.rar?dl=0
Hi Jiagou,
Thanks for the samples. We will test it with Delphi XE and let you know.
Best Regards,
Hi Jiaguo,
DocumentBuilder.InsertImage method is not working when used via COM. This issue has been logged into our issue tracking system as WORDSNET-10942. We will keep you updated on this issue in this thread. Sorry for the inconvenience.
Best Regards,
It is very encouraging that the problem have identified and labeled! Keep up the good work!
Hello ?
Could you help to comment what is the status on this issue ?
Hi Jiaguo,
Unfortunately this issue has not been planned for any release yet. A request has been forwarded to our development team to share the ETA for this issue. We will update you as soon as our development team analyzes the issue and shares the ETA.
Sorry for the inconvenience.
Best Regards,
Hi Jiaguo,
The issue has been analyzed. The reason for this exception is that InsertImage method has several overloads but COM does not support overloaded methods so you can use first method only.
To resolve this issue, we will have to rename all overloads and remove all overloads from DocumentBuilder class which requires considerable time. The issue has been postponed for now and we are not in a position to share any ETA for this issue.
We are sorry for the inconvenience.
Best Regards,
Thank you very much for your kind and knowledgeable comments !
It seems that the test cases (i.e., third post of this thread) can be finished correctly with latest Aspose.Words and latest CrossTalk ! Thank you very much for the great work !
https://releases.aspose.com/words/net/
https://www.facebook.com/CrossTalkForDotNet
http://downloads.atozed.com/crosstalk/ct2.0.20.exe
PS: I skimmed the release notes of Aspose.Words and did not find the specific revisions
for the fix…
https://docs.aspose.com/words/net/aspose-words-for-net-16-7-0-release-notes/
PS: It seems that the test cases (i.e., third post of this thread) still fail with latest Aspose.Words and COM.
Hi Jiaguo,
Great to hear that the issue has been resolved with Crosstalk and thanks for letting us know. We will investigate why the fix has not been mentioned in the release notes. Probably it has been fixed with some other issue.
Regarding COM and Aspose.Words, that issue has not been resolved yet. Currently, it has been planned for 16.8.0 release. In fact, we need to build a wrapper around Aspose.Words to fix it and our product team is working on a wrapper project for COM. The wrapper project will be released as a separate open source project. It will wrap a few overloads which cannot be used in COM, so you can enhance it to wrap more overloads according to your requirement.
Best Regards,
Hi,
I did not see COM-related entries in 16.8.0 release notes. Can you help to comment whether the feature is postponed ?
https://docs.aspose.com/words/net/aspose-words-for-net-16-8-0-release-notes/
Hi Jiaguo,
Thanks for your inquiry. We regret to share with you that there are no further news about this issue and the implementation of this issue has been postponed for now. However, the fix of this problem may definitely come onto the product roadmap in the future. Unfortunately, we cannot currently promise a resolution date. We apologize for your inconvenience.
Best regards,