Too vague. There are a thousand possibilities here; COM objects in .NET are
a tricky thing as it is. A) What does the solution consist of (code, etc.)?
B) Are you using Visual Studio .NET? If so, which version? C) What OCX, or
what does it do? D) Does the function work well in VB6 as well? How about
VB.NET? E) What language/environment was the OCX created in? C++? (If not
VB6, the problem might be your OCX.) E) What are you trying to accomplish?
Is there a non-OCX, .NET-based alternative?
Jon
"BeeFirst" <qw*@opt.ac.cn> wrote in message
news:eS**************@TK2MSFTNGP12.phx.gbl...
Hi,
i meet a problem when i try to run an application with an ocx module
in c#. the same functionworks well in vc,but not in c#,the Microsoft .NET
common language runtime throw a System.ExecutionEngineException error
message.msdn advice make sure not have any indirect module dependencies.
but what should i do?
pls tell me and thanks in advance.
marry