Amiga-C (133/223)

From:Sensei
Date:14 Aug 2001 at 00:09:07
Subject:[amiga-c] Re: Libraries + NameFromLock

Czesc Twelvebullets!

Dnia 12-Aug-01, Twelvebullets napisa�:

> The Problem:
> I`ve patched WbInfo (The Workbench Information Menu) to call my
> library.

hmmm... Add following lines immediately before NameFromLock() in patch
function:

struct Task *task = FindTask( NULL );
kprintf( "%ld %s\n", task->tc_Node.ln_Type,
( ( task->tc_Node.ln_Type == NT_TASK ) ?
"Task" :
( ( task->tc_Node.ln_Type == NT_PROCESS ) ?
"Process" :
"Unknown" )
) );

You've to run Sushi or Sashimi utility or so of course to intercept output to
serial...

If it'll report that it's task it could explain why it happens...

> But I now use the OS 3.5 Workbench library to get a list of all
> selected icons on workbench...

Please check it anyway.

I assume that you opened dos.library before caliing NameFromLock()?!

Regards!



Can your ImageFX paint like bitmap painters?
Download: gfx/ifx/REDFiX.lha, ftp.novadesign.com

Przemyslaw 'SENSEI' Gruchala

code/gfx2d/gfx3d/webmaster

Amiga 1200
Apollo 1240/33 MHz, 18 MB RAM, BTC 33.6 bps
HDD 3.2 GB, HDD 520 MB, CD x12



Chcialbys zarobic lub "dorobic" naprawde dobre pieniadze?
Otrzymasz do 300zl za kazda firme ktora wprowadzisz do Centrum e-biznesu
Poszukaj wsrod znajomych, znajdz firme i wypelnij z nia prosty formularz
Aby rozpoczac wejdz do http://praca.getin.pl i zostan Partnerem Getin

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get VeriSign's FREE GUIDE: "Securing Your Web Site for Business." Learn about using SSL for serious online security. Click Here!
http://us.click.yahoo.com/KYe3qC/I56CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/