-
10th October, 2011, 09:05 PM
#1
mb ir key programmer error API HOOK
Hi
just bought a MB IR key programmer but just cant run any of the software that came with it,every time i try to run one i get API HOOK error,i have tried on three different computers with no joy,any one have a solution to this?
-
10th October, 2011, 09:18 PM
#2
Software does not work on a computer with two or more hard drives.
-
10th October, 2011, 09:29 PM
#3
Originally Posted by nimnul
Software does not work on a computer with two or more hard drives.
well all my computers have one hard drive and running win xp sp2.
-
10th October, 2011, 09:57 PM
#4
extract software from archive if you have without anti-virus and try! if still don’t work download program IR from this forum!
-
10th October, 2011, 10:04 PM
#5
I have tried all that,i still get the same error
-
10th October, 2011, 10:11 PM
#6
If you install an additional hard drive software does not start, take out all the work. Working win xp sp3.
Sorry for my English.
-
10th October, 2011, 10:25 PM
#7
ok,so it doesn’t work on SP2?i have two patitions on my hard drive,does that count as two hard drives?
Last edited by makura; 11th October, 2011 at 06:43 AM.
-
11th October, 2011, 01:52 AM
#8
Api hook error…
Install Net Framework 2.5 or above.
-
11th October, 2011, 06:56 AM
#9
Well i have net framework 1.1, 2.0, 3.0,and 3.5 on my machine so i don’t think that could be the problem.
-
11th October, 2011, 08:49 AM
#10
try instal with your t30 STARDIAGNOSIS software hardisk
-
11th October, 2011, 09:16 AM
#11
Originally Posted by vanos batam
try instal with your t30 STARDIAGNOSIS software hardisk
Well i don’t have one.this thing should be able to run with out all these problems,even killing the antivirus is not helping.
-
14th October, 2011, 10:32 PM
#12
nec
first pause any type of protiction
-
The Following 2 Users Say Thank You to agabna For This Useful Post:
anouarabd (4th April, 2017), mexanico1971 (26th June, 2019)
-
16th October, 2011, 09:35 AM
#13
Originally Posted by makura
Well i have net framework 1.1, 2.0, 3.0,and 3.5 on my machine so i don’t think that could be the problem.
that net framework can be a nightmare with some programs, sometimes if its wanting v2.5 and you only have 2.0 or 3.0 then it wont work. Dont ask me why, you can blame microsoft instead, but in having said that i have never had problem installing MB IR, but i do have SP3 installed. Try disablong any firewalls or antivirus programs before installing
-
1st November, 2011, 06:38 PM
#14
This Nec Programmer Api error is a nighmare.
Anyone got a solution for this.
-
27th July, 2016, 12:29 PM
#15
Reputation:
11
Thanks Given: 189
Thanks Received: 80 (50 Posts)
Posts:
303
Threads:
56
Joined: Jun 2015
1
11-14-2015, 11:03 PM
Hi folks , anyone has experience about this error when trying to open nec prog i got a table with some strange characters and Api Hook on title of table. Im usin win7 32bit .

Thanks given by:
Reputation:
256
Thanks Given: 764
Thanks Received: 930 (370 Posts)
Posts:
1,014
Threads:
72
Joined: Mar 2015
2
11-14-2015, 11:19 PM
(This post was last modified: 11-14-2015, 11:24 PM by narkeleptk.)
there is a version on the forum that works for me. Let me try and find it.
here is on that works for me on XP sp3
tatyanka
Location Offline
Senior Member
Reputation:
35
Thanks Given: 1529
Thanks Received: 388 (209 Posts)
Posts:
477
Threads:
8
Joined: Feb 2011
3
11-15-2015, 12:14 AM
Same here.Seems that chinese had several batches of this soft,some works,some not. Just use working solution and you’ll be fine.
Alex
P.S. Some NEC programmers do mess-up remote function,and remote part STOP working,so beware
Reputation:
11
Thanks Given: 189
Thanks Received: 80 (50 Posts)
Posts:
303
Threads:
56
Joined: Jun 2015
4
11-15-2015, 07:15 PM
hi folks, i have not found a solution yet . im not finding any working nec prog

Thanks given by:
Reputation:
256
Thanks Given: 764
Thanks Received: 930 (370 Posts)
Posts:
1,014
Threads:
72
Joined: Mar 2015
5
11-16-2015, 10:46 PM
I don’t think ANY work with win7, but here is the one i use in Virtual mode XP on win7 x64.
newtronic
Location Offline
Junior Member
Reputation:
95
Thanks Given: 279
Thanks Received: 202 (34 Posts)
Posts:
157
Threads:
14
Joined: Mar 2011
6
11-16-2015, 11:33 PM
I had this issue long time ago, and one solution was installing the AK500+ software, then find the application inside the install directory
Reputation:
11
Thanks Given: 189
Thanks Received: 80 (50 Posts)
Posts:
303
Threads:
56
Joined: Jun 2015
7
11-17-2015, 02:32 AM
(11-16-2015, 10:46 PM)narkeleptk Wrote: I don’t think ANY work with win7, but here is the one i use in Virtual mode XP on win7 x64.
Thank you very much for helping, can you please share which version of xp are you using, any additional software on xp to make dumps work ?

Thanks given by:
Reputation:
256
Thanks Given: 764
Thanks Received: 930 (370 Posts)
Posts:
1,014
Threads:
72
Joined: Mar 2015
8
11-17-2015, 02:56 AM
XP sp3 black edition. (can be found on this site)
s-sanya
Location Offline
Newbie
Reputation:
0
Thanks Given: 1
Thanks Received: 0 (0 Posts)
Posts:
3
Threads:
1
Joined: Feb 2011
9
11-17-2015, 03:23 AM
If you run the program as an administrator or select compitable with Windows XP?
Thanks given by:
-
mr_death
New Member
- Публикаций:
-
0
- Регистрация:
- 16 авг 2005
- Сообщения:
- 42
Добрый вечер. Проблема моя уже избита, но … перед тем, как создавать данную тему, я изучил форум, относительно «Soft-Ice» и не нашел решения своей проблемы.
Суть: при загрузке(manual, при boot загрузке система вообще не загружается) SI система работает исправно в течении 10-15 секунд, после чего полностью зависает (не реагирует ни на клавиатуру, ни на мышь, единственное что работает это вызов SI по Ctrl+D). Открыв SI вижу там следующие сообщения об ошибках:
—cut here—
NTICE: *** API Hook Failure: KbdHid_PnpComplete
NTICE: *** API Hook Failure: USBPORT_AllocateUSBAddress
NTICE: *** API Hook Failure: EHCI_RemoveQueueHeadFromPeriodicList
NTICE: NTRaiseHardError found at index = 00B6 Delta = 00000000
******
****** CHATTERY KEYBOARD: Keyboard is sending useless reports. Tell `em to fix it.
******
—cut here—Попытки решения проблемы: пробовал различные опции работе с мышью и клавиатурой – результат отрицательный.
P.S.: на SP1, SI работал исправно(была проводная мышь и клавиатура), после установки SP2 возникла вышеописанная проблема (но, уже радио клавиатура и радио мышь), пробовал также отрубать радио клавиатуру и радио мышь, и подключать проводную клавиатуру и мышь (через PS/2), при этом полностью отсоединяя от USB интерфейса «базу» радио клавиатуры и мыши, все равно появлялась выше описанная проблема. Уже и не знаю что делать …
Программные данные: Windows XP Pro Edition(5.1.2600), SP2, Compuware SoftICE Driver Suite v3.0
Аппаратные данные: AMD Athlon™ XP 3000+, MB ASUS A7N8X-X Chipset nVidia, RAM Kingmax 512Mb (DDR1), ATI Saphire Radeon 9600 Atlantis, A4Tech (модель не помню) радио мышь(оптическая) и клавиатура.Также прикрепляю свой winice.dat
Если кто сталкивался с подобной проблемой или знает ее решение, помогите пожалуйста, буду очень признателен. Спасибо.
-
mr_death
New Member
- Публикаций:
-
0
- Регистрация:
- 16 авг 2005
- Сообщения:
- 42
Удалил «родные» драйвера клавиатуры и мыши, сделав так, чтобы система установила свои драйвера, затем, обновил файл OSINFO.dat, после чего SI начал грузится «почти» нормально, а именно: зависание системы полностью прекратилось, но осталась одна ошибка:
—cut here—
NTICE: *** API Hook Failure: KbdHid_PnpComplete
—cut here—Плюс ко всему процесс «net1.exe» загружает систему на 99%, в результате чего невозможно работать, т.о., что делать с «net1.exe»?
-
twgt
New Member
- Публикаций:
-
0
- Регистрация:
- 15 янв 2007
- Сообщения:
- 1.494
Насколько я знаю, KbdHid значит usb клава, pnpComplete наверное значит что самонастройка методами Plug’N’Play закончена.
На счет net1.exe ничего сказать не могу, посмотри кто порождает этот процесс. -
mr_death
New Member
- Публикаций:
-
0
- Регистрация:
- 16 авг 2005
- Сообщения:
- 42
net1.exe порождает процесс net (т.к. происходит manual запуск SI), причем «убить» процесс net1.exe или net.exe не удается, т.к. машина загружена по полной, при попытке непосредственно в SI «выйти» из бесконечного цикла процесса net1.exe — происходит сваливание системы и приходится перезагружаться …
-
Cigan
New Member
- Публикаций:
-
0
- Регистрация:
- 13 окт 2003
- Сообщения:
- 54
- Адрес:
- Моск.обл
Удали антивирус и твоя проблема должна решиться, я такое наблюдал при установленом АЙСЕ и КАСПЕРЕ
-
mr_death
New Member
- Публикаций:
-
0
- Регистрация:
- 16 авг 2005
- Сообщения:
- 42
Антивирус стоит Kaspersky Internet Security vX.X, удалить его я, к сожалению, не могу, т.к. компьютер почти постоянно находится в сети.
И неужели решение проблем, есть удаление «алкоголей», «антивирусов», «фаерволов», … наверняка должно существовать какое-то другое решение подобной проблемы. -
mr_death
New Member
- Публикаций:
-
0
- Регистрация:
- 16 авг 2005
- Сообщения:
- 42
Так какие будут предложения?
-
RootKitHunter
New Member
- Публикаций:
-
0
- Регистрация:
- 6 апр 2007
- Сообщения:
- 7
Касперский — зло… Я сталкивался с похожей проблемой, попробуй удалить.
-
ShadoWich
New Member
- Публикаций:
-
0
- Регистрация:
- 11 фев 2007
- Сообщения:
- 35
-
RootKitHunter
New Member
- Публикаций:
-
0
- Регистрация:
- 6 апр 2007
- Сообщения:
- 7
-
Отлаживайся в виртуальной машине. Правда, не всегда всё гладко работает, но обычно — помогает.
API Hook and Invalid Access Error
I am working on a basic little program that uses DLL Injection to hook API functions. The problem I am having is that the program the DLL is injected into reports this error:
—————————
Trainer_Template.exe
—————————
An exception (C0000005) occurred during DllEntryPoint or DllMain in module:
C:Program FilesBorlandCBuilder6ProjectsAPI_HookDLLBin API_Hook_DLL.dll
—————————
OK
—————————whenever I try to access a member of the IAT. C0000005 being an invalid access error.
The function with the offending code:
Code:
bool HookFunctionInModule(char* szImportedDll, PROC lpfnCurrent, PROC lpfnNew, HMODULE hMod) { //Get the import directory for //the specified module. PIMAGE_DOS_HEADER pdhDosHeader = (PIMAGE_DOS_HEADER)hMod; if (pdhDosHeader->e_magic != IMAGE_DOS_SIGNATURE) return false; PIMAGE_NT_HEADERS pnhNTHeader = (PIMAGE_NT_HEADERS)(pdhDosHeader->e_lfanew); if (pnhNTHeader->Signature != IMAGE_NT_SIGNATURE) return false; PIMAGE_IMPORT_DESCRIPTOR iidDesc = (PIMAGE_IMPORT_DESCRIPTOR) ( (long)hMod + pnhNTHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IAT].VirtualAddress); if (iidDesc == NULL) return false; while (iidDesc->Name) { MessageBox(NULL, "HI", "", MB_OK); char* szName = (iidDesc->Name + (unsigned long)hMod); MessageBox(NULL, szName, "", MB_OK); //If the imported dll is the //right name look for the right //imported function. if (lstrcmpi(szName, szImportedDll) == 0) { PIMAGE_THUNK_DATA itdThunk = (PIMAGE_THUNK_DATA)((PBYTE) hMod + iidDesc->FirstThunk); while(itdThunk->u1.Function) { if ((PROC)itdThunk->u1.Function == lpfnCurrent) { //Once we find the right function //overwrite the address of the //function with the address //of our own. unsigned long* lngOldProtect; VirtualProtect((void*)itdThunk->u1.Function, sizeof(long), PAGE_EXECUTE_READWRITE, lngOldProtect); WriteProcessMemory(GetCurrentProcess(), (void*)itdThunk->u1.Function, lpfnNew, sizeof(long), NULL); return true; } } } else { MessageBox(NULL, "HIAA", "", MB_OK); iidDesc++; } } return false; }The line it crashes on is «char* szName = (iidDesc->Name + (unsigned long)hMod);».
The thing that really confuses me here is if I try to use ImageDirectoryEntryToData at any time to try to get the IAT it gives that same error right away.
Any ideas what the problem is or how to fix it? I have linked to the entire project below, both the injector and the dll, if it helps.
The whole package.
Thank you for any assistance.
-
ranjit
New Member- Joined:
- Aug 1, 2014
- Messages:
- 3
Hi,
As you can see in picture , The Update Subscription should work when i change date to a newer date.
But it didnt work.
This is how i added subscription . It works when adding new subscription if it wasnt there previously .Am_Di::getInstance()->hook->add(Am_Event::SUBSCRIPTION_ADDED, ‘OnSubscriptionAdded’);
This also works if subscription is expired
Am_Di::getInstance()->hook->add(Am_Event::SUBSCRIPTION_CHANGED, ‘OnSubscriptionChanged’);But when i change subscription date from admin panel of amember it wont recognize
Am_Di::getInstance()->hook->add(Am_Event::SUBSCRIPTION_UPDATED, ‘OnSubscriptionUpdated’);There is one more thing it works, if i use user frontend to add subscription .
So tell me is there any HOOK available on this call
Access date changed (expire_date) old value=2014-08-21 new_value=2014-08-30 user_id=26
www.amember.com/docs/API/HookManager
-
ranjit
New Member- Joined:
- Aug 1, 2014
- Messages:
- 3
Screenshot for better understanding
Attached Files:
-
caesar
aMember Pro Developer
Staff Member- Joined:
- Oct 16, 2009
- Messages:
- 2,295
In case of user status is not changed (you just updated expire date but user still active) then these hooks is not triggered.
-
ranjit
New Member- Joined:
- Aug 1, 2014
- Messages:
- 3
Is there any HOOK that trigger for that action ?
-
caesar
aMember Pro Developer
Staff Member- Joined:
- Oct 16, 2009
- Messages:
- 2,295
Unfortunately there is not hook for such case.
-
caesar
aMember Pro Developer
Staff Member- Joined:
- Oct 16, 2009
- Messages:
- 2,295
I want to update this thread for someone who face same task.
You can use event Am_Event::ACCESS_AFTER_UPDATE. It is triggered when access record updated.
Am_Di::getInstance()->hook->add(Am_Event::ACCESS_AFTER_UPDATE, function(Am_Event $e) {
/** @var Access $access */
$access = $e->getAccess();
});



![[IMG]](http://lookpic.com/O/i2/845/LCr8Xkv8.png)
![[IMG]](http://lookpic.com/O/i2/1474/8Cy5a3x.png)