Solved

Error message using CreateFile!

Posted on 1998-12-11
2
457 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

740 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