Solved

Error message using CreateFile!

Posted on 1998-12-11
2
453 Views
Last Modified: 2013-12-03

I need load my dynamic vxd , use CreateFile and DeviceIOControl, but I have a error message.
The CreateFile function return -1 and the GetLastError function return 50...

what`s up??
is my vxd make incorrectly??

I use dgbTerm (of TechSoft company).  In the dbgTerm Window I see any messages of the Out_Debug_String function that I
write under my vxd.

what can i do??

Thanks for all!
0
Comment
Question by:hpyam
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1417102
Error 50 means ERROR_NOT_SUPPORTED. Are you trying to load a VXD in WinNT? If so, NT does not support VXDs. Instead, you will have to write a kernel driver.

Make sure you are doing this in Windows 3.1x/95/98.
0
 

Author Comment

by:hpyam
ID: 1417103
I use WIN95
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question