ntvdm

Best way to use a VB.NET class library from a C++ DLL?

Hello, I need to use one of my VB.NET projects in a C++ project. The interface between the two will be for the C++ code to instantiate and call methods on one of the .NET assembly objects. Both compile to DLLs (and then the C++ DLL is loaded from the NTVDM as a VDD, but that's probably not relevant.) If possible I would like to avoid u...

.NET assembly not loading from NTVDM

I have a VDD dll that's loaded by a DOS program running inside the NTVDM. This dll uses C++/CLI and references a .NET assembly. All in all, the loading process is something like this: NTVDM runs: prntsr.com which uses VDD RegisterModule to load: prnvdd.dll which references .NET assembly: prnlib.dll The prntsr.com...

16-Bit Apps running under NTVDM

I am trapping for the execution of some old 16-bit applications that our internal folks should no longer be using. They are 1985 DOS apps, so trapping for them was easy... capture any process that launches under NTVDM.exe Now, the problem is finding out which program NTVDM is actually running under the hood. Apparently there are a coupl...

How do you print a smiley-face in assembly?

I wrote a program in assembler and compiled it. It is meant to print a blue smiley face and then wait for the user to press a key before it terminates. It does do that last bit but it doesn't print the smiley face. Can someone explain what have I done wrong ? CSEG segment org 100h Begin: mov ax,0B800h mov es,ax mov di,0 mov ah,31 mov ...

Howto close a specific 16 Bit thread of ntvdm.exe in Visual Basic?

There are running several threads of ntvdm.exe and want to close one of them. Thanks for your help! ...