CAB file and P/Invoke

  • Thread starter Thread starter Eyal Safran
  • Start date Start date
E

Eyal Safran

Hi,

My C# application addresses some unmanaged dlls using P/Invoke and
since these are unmanaged dlls, I have to manually copy them to the
running folder.

In order to make it easier, I can close all these unmanaged dlls in one
CAB file.

My question is:
Is it possible to P/Invoke a dll which exists in a CAB file?

Thanks,
Eyal.
 
Eyal said:
Hi,

My C# application addresses some unmanaged dlls using P/Invoke and
since these are unmanaged dlls, I have to manually copy them to the
running folder.

In order to make it easier, I can close all these unmanaged dlls in one
CAB file.

My question is:
Is it possible to P/Invoke a dll which exists in a CAB file?

Thanks,
Eyal.

Anyone have any idea?

Eyal.
 
Is it possible to P/Invoke a dll which exists in a CAB file?

No, not without first extracting it.



Mattias
 
Back
Top