Solved

Kernel 32 function

Posted on 2004-04-19
1
470 Views
Last Modified: 2013-12-26
My application is failing when I use the following external functions to get/set the control setting from a communication device

 

FUNCTION boolean GetCommState(ulong hFile,REF dcb lpDCB) LIBRARY "KERNEL32.DLL"

 

FUNCTION boolean SetCommState(ulong hFile, REF dcb lpDCB) LIBRARY "KERNEL32.DLL"

 

What could be the reason?

Did the above dll functions are obsolete now? If yes what are the equivalent new functions? From where we can get the required information?

 

Any help is greatly appreciated

0
Comment
Question by:Meena_kumari
1 Comment
 
LVL 15

Accepted Solution

by:
namasi_navaretnam earned 25 total points
Comment Utility
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now