Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

problems with com

kooka
Beginner
1,191 Views
i have some problem trying to buid a program using com wizard generated code, i have this error: 'mt.exe not found'.
the program is the following



program Console2
use todas ! gives access to class1 API calls
implicit none


!local variables
integer(kind=4) :: pclassObject ! pointer to a class1 object
integer(kind=4) :: iStatus ! error code returned from COM subsystem
integer(kind=4) :: iret


!initialize COM
call COMInitialize(iStatus)

!create class1 object
call COMCreateObjectByGUID(CLSID_Class1, CLSCTX_ALL, IID__Class1, pclassObject, iStatus)

iStatus = $$cPlugin_Main(pclassObject, .true.)


!release class1 object
iStatus = COMReleaseObject(pclassObject)

!uninitialize COM
call COMUninitialize()



end program Console2




!!!and some code of the generated module todas

MODULE todas
USE dFWINTY
USE dFCOM
IMPLICIT NONE
........



I dont know what is mt.exe, i dont know if is some installation error of my fortran compile,
Im using ivf 11 in visual studio 2008 and have windows vista
I will thank all the answers!!



0 Kudos
5 Replies
Steven_L_Intel1
Employee
1,191 Views
mt.exe is the Visual Studio Manifest Tool. Which version of Visual Studio do you have installed, and is it a retail copy or one included with the Fortran compiler?
0 Kudos
kooka
Beginner
1,191 Views
mt.exe is the Visual Studio Manifest Tool. Which version of Visual Studio do you have installed, and is it a retail copy or one included with the Fortran compiler?
i have a retail copy of visual studio 2008 professional
0 Kudos
Steven_L_Intel1
Employee
1,191 Views
mt.exe should be in C:Program FilesMicrosoft SDKsWindowsv6.0Abin Is it?
0 Kudos
kooka
Beginner
1,191 Views
mt.exe should be in C:Program FilesMicrosoft SDKsWindowsv6.0Abin Is it?
no, is not, why? . What should i do?
thanks
0 Kudos
Steven_L_Intel1
Employee
1,191 Views
Since you said IVF11 (and not 11.1) I assume you are using a separately installed VS2008. Go into Add or Remove Programs, select Visual Studio 2008 and click Change. This will take you to the Maintenance Mode window. Once it is finished loading, click Next and then Add or Remove Features. Under Language Tools > Visual C++ > Visual C++ Tools, make sure the "Win32 Tools" box is checked. If it was not checked and it is now, click Update.

If in fact you are using 11.1 and the bundled Visual Studio 2008 Shell, then mt.exe lives in the Visual Studio 2008VCbin folder, I think.
0 Kudos
Reply