Solved

Error message using CreateFile!

Posted on 1998-12-11
2
456 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
error email attachment VB2010 5 46
Table Size and Indexes in SQL Server 6 28
Why I am having this error installing Visual Basic Enterprise 11 63
Dialogbox API leak? 18 99
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

838 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