Solved

Kernel 32 function

Posted on 2004-04-19
1
477 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
namasi_navaretnam earned 25 total points
ID: 10864356
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

617 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