CAB file and P/Invoke

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.
 
E

Eyal Safran

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.
 
M

Mattias Sjögren

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

No, not without first extracting it.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top