K
kli
I have a very peculiar problem. I have a c# class library that a access
from a C++ MFC client through COM introp. This work almost well. One
special interface method is translated wrong when exporting to a .tlb
file and importing it into the client app.
The C# interface method snippet:
namespace Scandpower.pt.GridGenerator.Geometry
{
public interface IPipe
{
double Angle(Constants.ANGLETYPE type);
}
}
is when viewing the .tlb file changed to:
IPipe::angle(ByVal type As ANGLETYPE) As Double
As you see the method has the small caps intead of big. This shouldn't
be a big problem, but when my collegue is compiling the same code on
his machine the .tlb file is correct!!
I've used the .dll created a from his machine and used tlbexp on it.
Then the .tlb is correct for me as well. So it seems like a C# compiler
issue. Any localization stuff or other "hidden" settings that can
produce this kind of error?
best,
Kjetil.
from a C++ MFC client through COM introp. This work almost well. One
special interface method is translated wrong when exporting to a .tlb
file and importing it into the client app.
The C# interface method snippet:
namespace Scandpower.pt.GridGenerator.Geometry
{
public interface IPipe
{
double Angle(Constants.ANGLETYPE type);
}
}
is when viewing the .tlb file changed to:
IPipe::angle(ByVal type As ANGLETYPE) As Double
As you see the method has the small caps intead of big. This shouldn't
be a big problem, but when my collegue is compiling the same code on
his machine the .tlb file is correct!!
I've used the .dll created a from his machine and used tlbexp on it.
Then the .tlb is correct for me as well. So it seems like a C# compiler
issue. Any localization stuff or other "hidden" settings that can
produce this kind of error?
best,
Kjetil.