Solved

Kernel 32 function

Posted on 2004-04-19
1
475 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

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

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…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

685 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