Solved

Kernel 32 function

Posted on 2004-04-19
1
472 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
ID: 10864356
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
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 keystrokes in Netbeans IDE 8.0 for Windows.

823 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