Page Index Toggle Pages: 1 [2] 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) visio import error (Read 22983 times)
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #15 - Nov 6th, 2007 at 12:12pm
Print Post  
testvisio.exe: loadedC:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6
.0.3790.2778_x-ww_A8F04F11\comctl32.dll,
testvisio.exe: loadedC:\FcxVisioImport.dll,
testvisio.exe: loadedC:\WINDOWS\system32\msxml3.dll,
testvisio.exe  0x7c815e02 : 0xE0000001: 0xe0000001
testvisio.exe  0x7c815e02 : 0xE0000001: 0xe0000001
testvisio.exe  0x7c815e02 : 0xE0000001: 0xe0000001
testvisio.exe  0x7c815e02 : 0xE0000001: 0xe0000001
testvisio.exe  0x7c815e02 : Microsoft C++ exception: _com_error @ 0x0012f2ec
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #16 - Nov 6th, 2007 at 12:16pm
Print Post  
I download  FcxVisioImport.dll
From https://mindfusion.eu/FcxVisioImport.zip
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #17 - Nov 6th, 2007 at 12:57pm
Print Post  
I have sent msxml2.h .


  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import error
Reply #18 - Nov 6th, 2007 at 1:52pm
Print Post  
Yes, the Visio importer has been built using the MSXML3 API, which is a very old version and might have some problems when running on a Chinese XP. We will rebuild the importer using MSXML6 later this week and send you an updated dll to try it on your system.

Stoyan
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #19 - Nov 7th, 2007 at 12:15am
Print Post  
Thanks for your quick response! We have an important presentation for our client this Friday, so could you please try to rebuild it and send to me before this time at your early convenience? Thanks again and good luck. You're welcome to Beijing for our Olympic Game next year! I'm looking forward to hearing from you!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import error
Reply #20 - Nov 7th, 2007 at 11:38am
Print Post  
Could you first check what is the return value of the ImportPage method? It returns a VARIANT string containing some additional information about the error. I mean the [out, retval] VARIANT parameter, and not the HRESULT integer code.

Stoyan
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #21 - Nov 7th, 2007 at 1:36pm
Print Post  
hr=vImport->ImportAllPages(bstrTmp,(LPDISPATCH)m_FlowChart.GetControlUnknown(),&
vResult);

vResult  is empty.
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #22 - Nov 7th, 2007 at 1:43pm
Print Post  
maybe you can give me your msxml3.dll
i try.
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #23 - Nov 7th, 2007 at 1:44pm
Print Post  
hr=vImport->ImportPage(bstrTmp,(LPDISPATCH)m_FlowChart.GetControlUnknown(),0,&vR
esult);

hr=vImport->ImportPage(bstrTmp,(LPDISPATCH)m_FlowChart.GetControlUnknown(),1,&vR
esult);

vResult is empty.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import error
Reply #24 - Nov 7th, 2007 at 1:55pm
Print Post  
I can see only one case when the returned VARIANT result is empty - when the QueryInterface for the flowchart pointer fails. Instead of casting the IUnknown flowchart pointer to LPDISPATCH, try calling QueryInterface as shown in this thread:

http://mindfusion.org/cgi/Forum/YaBB.pl?board=fcx_news;action=display;num=112352...

Stoyan
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #25 - Nov 7th, 2007 at 11:34pm
Print Post  
I tried it ,

vResult is empty also.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import error
Reply #26 - Nov 8th, 2007 at 6:46am
Print Post  
Try this version of the importer:
https://mindfusion.org/_temp/FcxVisioImport.zip

It should return an error description string in all cases.

Stoyan
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #27 - Nov 8th, 2007 at 10:16am
Print Post  
Error loading xml content
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import error
Reply #28 - Nov 8th, 2007 at 11:45am
Print Post  
This version uses MSXML6:
https://mindfusion.org/_temp/FcxVisioImportXml6.zip

Let me know if you are still getting error messages. Because of differences between MSXML3 and MSXML6, we had to change near 100 XML query expressions and haven't tested the importer much yet, so this could result in some new problems  Undecided

Stoyan
  
Back to top
 
IP Logged
 
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
Re: visio import error
Reply #29 - Nov 8th, 2007 at 12:43pm
Print Post  
also is
Error loading xml content
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint