Discussion Forum

New getkey

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Tonino Forma
Posted
26-Jan-2004 14:26 GMT
Toolset
None
New! New getkey
Hi everybody. I've created a new getkey (called TimedGetKey) and with C51 compiler I've generated a new .obj file. How Can I insert this new obj file in my project and replace the older getkey with the new?

Thanks Tonino.
Read-Only
Author
Stefan Duncanson
Posted
26-Jan-2004 15:47 GMT
Toolset
None
New! RE: New getkey
Assuming you are referring to the Keil library _getkey() either:

1) Rename your function _getkey()
2) Create a wrapper function called _getkey() that calls your function.

The linker will automatically link in your _getkey() rather than the library version.

Stefan
Read-Only
Author
Andrew Neil
Posted
26-Jan-2004 17:58 GMT
Toolset
None
New! RE: New getkey
You will have to declare you function exactly to match stdio.h

Next Thread | Thread List | Previous Thread Start a Thread | Settings