i am getting the following error when I compile my project.
error RA0000 : A procedure imported by 'MCGUSBVitals, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' could not be loaded.
here is the build output log:
1>------ Skipped Rebuild All: Project: E:\MCGUSBVitals\Debug\, Configuration: Debug .NET ------
1>Project not selected to build for this solution configuration
2>------ Rebuild All started: Project: MCGUSBVitals, Configuration: Release Win32 ------
2>Deleting intermediate and output files for project 'MCGUSBVitals', configuration 'Release|Win32'
2>Creating Type Library...
2>Processing .\MCGUSBVitals.idl
2>MCGUSBVitals.idl
2>Processing E:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\o
aidl.idl
2>oaidl.idl
2>Processing E:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\o
bjidl.idl
2>objidl.idl
2>Processing E:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\u
nknwn.idl
2>unknwn.idl
2>Processing E:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\w
types.idl
2>wtypes.idl
2>Processing E:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\b
asetsd.h
2>basetsd.h
2>Processing E:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\g
uiddef.h
2>guiddef.h
2>Processing E:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\o
aidl.acf
2>oaidl.acf
2>Compiling...
2>stdafx.cpp
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'event': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4278: 'TranslateAccelerator': identifier in type library 'mshtml.tlb' is already a macro; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'event': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'event': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'value': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>e:\mcgusbvitals\stdafx.h
(62) : warning C4279: 'event': identifier in type library 'mshtml.tlb' is a keyword; use the 'rename' qualifier
2>Compiling...
2>MCGUSBVitalsPropPage.cpp
2>MCGUSBVitalsCtrl.cpp
2>.\MCGUSBVitalsCtrl.cpp(3
78) : warning C4996: 'getcwd' was declared deprecated
2> E:\Program Files\Microsoft Visual Studio 8\VC\include\direct.h(121)
: see declaration of 'getcwd'
2> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getcwd. See online help for details.'
2>.\MCGUSBVitalsCtrl.cpp(4
25) : warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
2>.\MCGUSBVitalsCtrl.cpp(5
54) : warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
2>.\MCGUSBVitalsCtrl.cpp(6
04) : warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
2>.\MCGUSBVitalsCtrl.cpp(9
73) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
2>.\MCGUSBVitalsCtrl.cpp(9
82) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
2>MCGUSBVitals.cpp
2>CRC_Table.cpp
2>Compiling resources...
2>Linking...
2>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
2> Creating library .\Debug\MCGUSBVitals.lib and object .\Debug\MCGUSBVitals.exp
2>Generating code
2>Finished generating code
2>MCGUSBVitalsPropPage.obj
: warning LNK4248: unresolved typeref token (01000012) for 'AFX_CMDHANDLERINFO'; image may not run
2>MCGUSBVitals.obj : warning LNK4248: unresolved typeref token (01000012) for 'AFX_CMDHANDLERINFO'; image may not run
2>MCGUSBVitalsCtrl.obj : warning LNK4248: unresolved typeref token (01000018) for 'CControlFrameWnd'; image may not run
2>mfcm80.lib(postrawdllmai
n.obj) : warning LNK4099: PDB 'mfcm80.i386.pdb' was not found with 'E:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcm80.lib
' or at 'e:\MCGUSBVitals\Debug\mfc
m80.i386.p
db'; linking object as if no debug info
2>mfcm80.lib(postdllmain.o
bj) : warning LNK4099: PDB 'mfcm80.i386.pdb' was not found with 'E:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcm80.lib
' or at 'e:\MCGUSBVitals\Debug\mfc
m80.i386.p
db'; linking object as if no debug info
2>Embedding manifest...
2>Registering output...
2>RegAsm : error RA0000 : A procedure imported by 'MCGUSBVitals, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' could not be loaded.
2>Project : error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry.
2>Build log was saved at "file://e:\MCGUSBVitals\Re
lease\Buil
dLog.htm"
2>MCGUSBVitals - 2 error(s), 196 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 1 skipped ==========
The project is vc++ in VS 2005. I have searched the web and have not found a answer.
Why is this error happening, and how do I go about solving it?
Start Free Trial