We are using OE via OLE and have some problems with IMainOE.OnNewFile event: the event is fired only for the first file downloded from site... Why it can be so?
We are using C# .NET 2.0.
Thanks you for your attention.
I have no experience in C# myself, so I don't know how to help here. Are other event calls happen only once?
Best regards,
Oleg Chernavin
MP Staff
> Well, most probably, it is a kind of the call mismatch. Offline Explorer Enterprise was developed using Borland Delphi. Perhaps, C# integration with OLE Automation has some differencies. I inspected the code in Offline Explorer and it looks correct.
>
> I have no experience in C# myself, so I don't know how to help here. Are other event calls happen only once?
>
> Best regards,
> Oleg Chernavin
> MP Staff
http://www.metaproducts.com/download/betas/OEE_LOG.ZIP
Oleg.
Oleg.
I can offer you another way - if your application has a window handle, you can pass it to Offline Explorer:
oe.exe /hwnd=xxxxxx
where xxxxxx is a decimal (not hex) hWnd value. Offline Explorer will send WN_COPYDATA messages with the details about every file downloaded and saved.
Oleg.
But we faced with another problem - WM_COPYDATA message, as it seems to be, must contain ProjectID of downloaded file... But it always has a "zero" value... This information is of great importance for us...
What should I do?
Oleg.
It will be nice to test new version on monday.
http://www.metaproducts.com/download/betas/OEE2594.ZIP
Oleg.
Oleg.