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


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
visio import error
Nov 2nd, 2007 at 7:01am
Print Post  
have bought FlowChartX Professional Edition4.1.4,

Write code: report error :-2147467259 , Why?

IVisioImporter* vImport;
HRESULT hr=CoCreateInstance(CLSID_VisioImporter,NULL,
CLSCTX_ALL,
IID_IVisioImporter,(void **)&vImport);
CString strFileName;
strFileName="D:\\work\\test\\testFlow\\testFlow\\1.vdx";
if (SUCCEEDED(hr))
{
long nPage=0;
BSTR bstrTmp;
bstrTmp =strFileName.AllocSysString();
hr=vImport->GetPageCount(bstrTmp ,&nPage);
if (SUCCEEDED(hr))
{
CString str;
str.Format("%d",nPage);
AfxMessageBox(str);
}else
{
CString str;
str.Format("%d",hr);
AfxMessageBox(str);
}
}else
return;// FALSE;



1.vdx has been send to support@mindfusion.org
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import error
Reply #1 - Nov 2nd, 2007 at 9:37am
Print Post  
We haven't received any VDX file - please email it again.

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 #2 - Nov 4th, 2007 at 11:30pm
Print Post  
email is bad,I try again.
my msn code is wangpeng_dragon@hotmail.com,
Could you add my msn code. i transfer it to you .
  
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 #3 - Nov 5th, 2007 at 2:22am
Print Post  
I have sent 1.vdx(1.rar) .
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import error
Reply #4 - Nov 5th, 2007 at 10:31am
Print Post  
The importer opened your file without any problems here. Do you have the MSXML runtime installed on your system? - it is required in order to parse VDX documents.

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 #5 - Nov 6th, 2007 at 12:12am
Print Post  
my os is windows xp ,
I Find msxml4.dll  msxml4r.dll in system32.

my code is error?
  
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 #6 - Nov 6th, 2007 at 12:37am
Print Post  
i install msxml 4.0 sp2 in my os. but error yet
  
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 #7 - Nov 6th, 2007 at 12:39am
Print Post  
my os is  simpl chinese windows xp
  
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 #8 - Nov 6th, 2007 at 4:59am
Print Post  
need unicows.dll  ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import error
Reply #9 - Nov 6th, 2007 at 6:32am
Print Post  
You don't need "unicows.dll".

That code is returned when the importer cannot instantiate the MSXML parser object, or cannot load the VDX file for some other reason, e.g. if you do not have access rights to it. If you have that file opened in Visio, you might need to close it before running the importer.

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 #10 - Nov 6th, 2007 at 11:51am
Print Post  
i use error file, report error just now.
i use right file, wait some second report error.
i think msxml maybe error
msxml i use 4.0 sp1? it is right?
  
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 #11 - Nov 6th, 2007 at 12:02pm
Print Post  
why i forget  CoInitialize(NULL);
but CoCreateInstance success
  
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 #12 - Nov 6th, 2007 at 12:05pm
Print Post  
I find 
HRESULT hr=CoCreateInstance(CLSID_VisioImporter,NULL,
CLSCTX_ALL,
IID_IVisioImporter,(void **)&vImport);
CString strFileName;

it  load msxml3.0, i think it is error reason.
but how instance msxml4.0
  
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 #13 - Nov 6th, 2007 at 12:09pm
Print Post  
vc report

“testvisio.exe”: 已加载“C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls
_6595b64144ccf1df_6.0.3790.2778_x-ww_A8F04F11\comctl32.dll”,未&#211
52;载任何符号。
“testvisio.exe”: 已加载“C:\FcxVisioImport.dll”,未加载&
#20219;何符号。
“testvisio.exe”: 已加载“C:\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 #14 - Nov 6th, 2007 at 12:10pm
Print Post  
“testvisio.exe”: 已加载“C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls
_6595b64144ccf1df_6.0.3790.2778_x-ww_A8F04F11\comctl32.dll”,未&#211
52;载任何符号。
“testvisio.exe”: 已加载“C:\FcxVisioImport.dll”,未加载&
#20219;何符号。
“testvisio.exe”: 已加载“C:\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
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint