| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Intercepting API calls. |
In a message dated 07-01-94, Christian Scarborough said to All: CS>I, being at best a difficult customer, want to do something CS>rather nasty, tricky and unpleasant with OS/2. I want to CS>be able to trap calls to a couple of functions in CS>PMSHAPI.DLL and do some processing on them before passing CS>them to the system. So far the only solution I have come CS>up with is detailed below. It's messy, kludgy, time CS>consuming, and an installation nightmare. Can anyone else CS>think of a better way? I know this is not the answer you want to hear, but what you propose to do should simply not be done. A programmer should never change the OS/2 system files in such a way. You are forced to re-install and re-implement your changes with each new CSD and release of OS/2. You are forced to recompile your DLL each time PMSHAPI is changed, adding, changing, or removing functions. If you are writing this program for anyone besides yourself, you are introducing non-standard behavior and possibly making the system unstable. Also, doing this kind of thing is very bad for business. Suppose someone wanting to hire you for a project was reading this group or was talking to someone who read your message. Would they hire someone who encouraged nonstandard behavior? Have a nice day. ;-) Jeff ___ * MR/2 2.03 NR * See the Future; See OS/2. Be the Future; Run OS/2. --- Maximus/2 2.01wb* Origin: Atlanta's OS/2 User's Group BBS/FAX - 404-471-1549 (1:133/308) SEEN-BY: 12/2442 54/54 620/243 624/102 632/348 640/820 690/660 711/409 413 SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1 @PATH: 133/308 2001 2 370/510 3615/50 229/2 12/2442 711/409 54/54 711/808 809 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.