Hi,
I have converted sorce code of VC++ 6.0 to VC++ 2005 .NET successfully which builds an ocx file.
But after conversion when i try to build the converted code it gives following error...
error PRJ0019: A tool returned an error code from "Performing registration"
The error log is below
=========================
Build Log Rebuild started: Project: dsoframer, Configuration: Debug|Win32
Command Lines Creating temporary file "e:\Santosh\Office Automation\SourceVC6\Debug
\BAT000001
56841152.b
at" with contents
[
@echo off
mktyplib /win32 /tlb lib\dsoframer.olb /h lib\dsoframerlib.h /w0 e:\Santosh\Office Automation\SourceVC6\Lib\d
soframer.o
dl
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Performing registration"
exit 1
:VCEnd
]
Creating command line """e:\Santosh\Office Automation\SourceVC6\Debug
\BAT000001
56841152.b
at"""
Output Window Performing registration
Microsoft (R) Type Library Generator Version 2.20.4230
Copyright (c) Microsoft Corp. 1993-1995. All rights reserved.
Usage: MKTYPLIB [inputfile]
Valid options are:
/help or /? Displays usage.
/tlb Specifies type library output filename. Defaults to input name
with extension replaced by ".tlb".
/h [filename] Specifies .H file output filename.
/ Specifies kind of type library to make (win16, win32, mac, mips, alpha, ppc or ppc32).
Defaults to win32.
/align <#> Override default alignment setting.
/o filename Redirects output from screen to specified file.
/nologo Don't display the copyright banner.
/w0 Disable warnings.
/nocpp Don't spawn the C pre-processor.
/cpp_cmd Specifies path for C pre-processor.
Defaults to CL.EXE.
/cpp_opt "" Specifies options for C pre-processor. Defaults to:
"/C /E /D__MKTYPLIB__".
/Ddefine[=value] Defines value for C pre-processor.
/I includepath Specifies path for include files.
Project : error PRJ0019: A tool returned an error code from "Performing registration"
Results Build log was saved at "file://e:\Santosh\Office Automation\SourceVC6\Debug
\BuildLog.
htm"
dsoframer - 1 error(s), 0 warning(s)
Please Provide solution as soon as possible.
Start Free Trial