"Dmytro Lapshyn [MVP]" <x-code@no-spam-please.hotpop.com> wrote in message
news:e0ktybgYGHA.4836@TK2MSFTNGP05.phx.gbl...
> Now I see you are using the IJW technology, and I don't have any
> experience with this one :-(
> What I can tell is: The EEFileLoadException error means that the CLR could
> locate the assembly with the managed class, but couldn't load it for some
> reason.
>
> This link might help:
>
>
http://doc.trolltech.com/3.3/activeqt-dotnet.html
>
> Also, do a Google search on IJW.
>
> "Daniel F. Devine" <ddevine@totsys.com> wrote in message
> news:%23NctRg9XGHA.4248@TK2MSFTNGP05.phx.gbl...
>>
>> "Dmytro Lapshyn [MVP]" <x-code@no-spam-please.hotpop.com> wrote in
>> message news:OAvCTQ9XGHA.3972@TK2MSFTNGP04.phx.gbl...
>>> Can you please post your code that gives you the EEFileLoadException
>>> here?
>>>
>>>
>>>> Thanks for the reply. Actually I can do this with COM but was looking
>>>> for a solution that avoided COM for deployment reasons. I am not sure
>>>> if this can be done BUT Microsoft Tech support ensures me that it can
>>>> be done although to date they have not shown me why my sample stub
>>>> blows up with an EEFileLoadException. There seems to be virtually no
>>>> documentation on this error that I can find. If it can't be done that
>>>> would be most helpful to know as I would stiop wasting my time and look
>>>> for another solution.
>>>
>>
>> Sure - but first I'll psedocode it because even as a small testbed it is
>> somewhat complex
>>
>> C++ DLL interface exposes invokeCrystal
>>
>> invokeCrystal is in a C++ compilation unit - pure C++
>>
>> ManagedReport *mr = new
>> ManagedReport();
>>
>> mr->ViewReport();
>>
>> delete mr;
>>
>> ManagedReport object is defined in a separate compilation unit compiled
>> with /clr
>>
>> ViewReport()
>> {
>> ManagedCrystalObject ^mo = gcnew
>> ManagedCrystalObject
>> }
>>
>> In the C# class ManagedCrystalObject a Winform hosting the Crystal Viewer
>> is to be displayed.
>>
>>
>> In the invocation of ViewReport I get the exception :
>> EEFileLoadException
>> Also to note is that I cannot step into the managed code unit from the
>> unmanged code unit.
>>
>> If you still need the code I will upload it.
>>
>> Thanks for your responses
>>
>