Launching Windows Forms C # on Windows 7 with Parallels 8

I wrote a fairly simple C # Windows Forms application, and a colleague wants to test it on Windows 7 using Parallels 8 because it only has a Mac.

The problem is that when he launches it using an EXE file in the debug folder, he gets this error:

Error starting OMAPI (unable to load DLL 'libomapi.dll': the specified module could not be found. (Exception from HRESULT: 0x8007007E)) Check that the correct versions are present in the .dll files: OmApiNet.dll libomapi. Dll

As you can see from the image below, the required DLL files are located directly in one folder, and if he takes this folder for debugging on a Windows PC, it works fine, so there is definitely a kind of virtual machine or Parallels-specific problem.

Screenshothot of error

How can I fix this problem?

I really did not use virtual machines to know what might be the problem ...

+7
source share
3 answers

it would be interesting to run ProcMon and see what it really does to try and find the files.

0
source

Perhaps this is a problem with a network drive. Ask him to copy this folder from drive Y: (shared with his Mac) to drive C: and run it again.

0
source

It looks like you are trying to run an application from a network share in which the .NET platform prohibits as a security risk. Try copying the files to another location on the virtual machine, for example C: \ Temp.

0
source

All Articles