c++ compiler error C3624

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have big trouble in trying to load a .NET dll generated by C# 2003 -->
SkyscanPluginBase.dll (which uses C++ .mixed mode NET dll's from C++ 2002)
in to my C++ 2002 project. The C# 2003 accepts this SkyscanPluginBase.dll
without problem and actually uses it perfectly.But

The complete error is described here :
AndFlt.cpp(33) : error C3624: 'SkyscanLibBase::FileImageBuffer16': the
compiler cannot find this type; it is defined in the assembly
'SkyscanLibBase'

The odd thing is that it somehow ignores
SkyscanPluginBase::FileImageBuffer16, but tries to take the the
SkyscanLibBase::FileImageBuffer16 version, and
SkyscanPluginBase::FileImageBuffer16 inherites from
SkyscanLibBase::FileImageBuffer16!

The other odd thing is that the error complains that
SkyscanLibBase::FileImageBuffer16 is not found but it tells me that it can
be found in SkyscanLibBase! But this is exactly the place it was searching
for in the first place!!!!

The error occurs here: FileImageBuffer16 __gc *test=new
FileImageBuffer16()

-----------------------
#using <mscorlib.dll>
#using <SkyscanPluginBase.dll>

using namespace System;
using namespace SkyscanPluginBase;

namespace SkyscanPluginBase {
BOOL CAndFlt::Run( const DATASET_INFO& di, IPlgProgress &pr ){
FileImageBuffer16 __gc *test=new FileImageBuffer16(); //
AndFlt.cpp(33) : error C3624...
}
....
}
 
Back
Top