Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to access the serial port exported functions in my application

0 views
Skip to first unread message

Nagaveni

unread,
Jun 18, 2009, 8:05:01 AM6/18/09
to
Hi All,

I am trying to load com16550.dll using
LoadLibraryEX(L"com16550.dll",NULL,LOAD_LIBRARY_AS_DATAFILE);
I am not able to retrive the address of an exported function from the
specified dll.I am using GetProcAddress(hDll,"COM_Open");
how to access the serial port exported functions in my application explicitly.

Bruce Eitman [eMVP]

unread,
Jun 18, 2009, 9:26:03 AM6/18/09
to
Back up a bit, why in the world would you want to do that?

Followed by why would you use LOAD_LIBRARY_AS_DATAFILE?

And I will end with the most obvious question of all, what is the result of
calling GetLastError()?

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

"Nagaveni" <Naga...@discussions.microsoft.com> wrote in message
news:FACA8504-1730-48B1...@microsoft.com...

0 new messages