delphi - COM Port already open in Windows 7 -


when try connect com port on windows 7, using asyncpro (tapdcomport), i'm getting error message "device open". same application working fine in win xp machine. i'm used delphi 6 develop program. please me resolve issue. appreciate help. thanks.

what component using connect com port?

if using createfile api open port use getlasterror() api detalied error of problem.

if doesn't means it's hardware problem

don't know component using apdcomport simple test write simple application open port this

var   comhandle : thandle; begin   comhandle := createfile('com66',generic_read or generic_write,0,nil,open_existing,0,0);   if comhandle = invalid_handle_value showmessage(syserrormessage(getlasterror))   else showmessage('port opened'); end //make shure replace com66 actual com port wish open 

if shows port opened it's problem component using recommend 1 http://sourceforge.net/projects/comport/ post here other error message find solution.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -