T
Tony Johansson
Hello!
For several years ago an in-process COM dll was deleloped using ATL/C++/MFC
This in-process COM DLL was initially used from VB6 and it has worked ever
since then and still works today
without any kind of problem.
It has never ever been any kind of problems with this COM dll.
For about 7 month ago a C# asp.net webb application was deloped where this
in-process COM DLL was used.
When this C# asp.net webb was finished and put into test where the COM dll
was called error began to appear.
Not every time but far too often. It wasn't reliable.
The errors that appear was the protected memory.
Now to my question:
How is possible that the exact same COM dll work just perfectly when being
run under windows VB6 and not from
C# asp.net webb application. One major differens here is that they are being
run under different environment.
In the second case when a C# asp.net webb application is running it's the
Internet Information Service(IIS) that is running the code.
So for me it sounds strange that there could be programming errors in the
COM dll when the COM dll works
perfect when being called from VB6.
Could it be as simple as it's not fully supported or not recommended to use
in-process COM dll from C# asp.net webb application.
I mean that if the COM dll had some error it would appear when being used
from an application developed in VB6
Nothing makes sense in this difficult question.
Can somebode give a comment about this.
//Tony
For several years ago an in-process COM dll was deleloped using ATL/C++/MFC
This in-process COM DLL was initially used from VB6 and it has worked ever
since then and still works today
without any kind of problem.
It has never ever been any kind of problems with this COM dll.
For about 7 month ago a C# asp.net webb application was deloped where this
in-process COM DLL was used.
When this C# asp.net webb was finished and put into test where the COM dll
was called error began to appear.
Not every time but far too often. It wasn't reliable.
The errors that appear was the protected memory.
Now to my question:
How is possible that the exact same COM dll work just perfectly when being
run under windows VB6 and not from
C# asp.net webb application. One major differens here is that they are being
run under different environment.
In the second case when a C# asp.net webb application is running it's the
Internet Information Service(IIS) that is running the code.
So for me it sounds strange that there could be programming errors in the
COM dll when the COM dll works
perfect when being called from VB6.
Could it be as simple as it's not fully supported or not recommended to use
in-process COM dll from C# asp.net webb application.
I mean that if the COM dll had some error it would appear when being used
from an application developed in VB6
Nothing makes sense in this difficult question.
Can somebode give a comment about this.
//Tony