Quantcast
Channel: Windows Virtual PC and XP Mode forum
Viewing all articles
Browse latest Browse all 1366

BSOD when running Virtual PC XP Mode and a custom Windows Service application written in C++

$
0
0

When I run a Windows Service application written in C++ (Microsoft Visual Studio 2010) and a Virtual PC console on my desktop (Windows 7 Professional x64), the system crashes with a blue screen.

The Windows Service monitors a folder for files and when new files are detected they get transferred to a web server using WinHTTP API.

To watch for new files created into a folder I have used “WatchFolderFolderChangesW” Windows API function. This function is used asynchronously through IOCP. So I’m also using “CreateIOCompletionPort” function and “GetQueuedCompletionStatus”.

Also, the Windows service creates a multithreaded environment and uses Concurrency Runtime provided with Visual Studio 2010.

If this service is running, when I start Virtual PC I get a blue-screen. I can provide a memory dump file for further investigation.

I have to mention that both Virtual PC, and the Windows service, when used individually, works perfectly. Only when they are running simultaneously blue-screen appears. The problem can be replicated.

My computer has an Intel i5 CPU and 8 GB of RAM. It is a Dell OPTIPLEX 980 desktop computer.

The blue-screen message says that "vpcvmm.sys" might be responsable for the crash.

Thank you,
Cosmin Petrenciuc

Viewing all articles
Browse latest Browse all 1366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>