PDA

View Full Version : Auth.dll error


mario_a
19th March 2002, 10:05
I'm using Danni Din's "auth.dll" dll in my program , which compiles under Borland C++ Builder 5.0.
However , I get a runtime " EExternalException" error, when I use the "authentication" function provided in the dll.

Anybody else get a runtime error while using this dll??
And does anyone know of any solution to the problem?

Thanks for yout time,
Mario

Nic
19th March 2002, 10:24
Ive never had a problem with that DLL, (try changing between Win32 & DOS mode (I cant remember the code very well, but there is a setting that states something similar))....

I changed VStrip so it would use it & I use it on a very regular basis...and it works great for me :)

Also theres Tron's Authentication code you can grab....if you really need it (I forget the link & it is quite hard to find, last time I looked :) )

Good Luck,

Cheers,
-Nic

mario_a
19th March 2002, 10:39
Nic,
What do u mean by "change between DOS and Win32"?
Also , would it be possible for you to give me the source of auth.dll, if u have it with u?

Thanks a lot,
Mario

Nic
19th March 2002, 10:48
I dont have the source of auth.dll (only the guys who made it do),

From the _sample_ code:

// Initialize GetHTL_DOS or GetHTL_WIN
// If you make a call from dos to the dll you need GetHTL_DOS
// else you need GetHTL_WIN

gethtl = (short (__cdecl *)(LPCSTR))GetProcAddres(hDLL, "GetHTL_DOS");

_Thats what I meant by switch between DOS & Windows_

-Nic

mario_a
19th March 2002, 12:15
Nic,

Can you do me a BIG favour?
Could you give me a list of the function prototypes of all the functions exported in the dll, or could you direct me to any website or link , where I could find this info.

Also, the DLL is written using what?(VC++, C++ builder ..)

Thanks a lot for your time.

Mario

Nic
19th March 2002, 13:09
In the ZIP you have, you should have the example source code (i.e. auth_call.cpp)

If not, re-download the auth.dll from nautilus & danndin's site.

Thats all the information I have on auth.dll, im not in anyway associated with it or know the inner mechanics (well, I can guess the inner mechanics by looking at DeCSS plus2pre3 :) )

Cheers,
-Nic

ps
http://www.worldzone.net/computers/dannidin/home.html
Auth.dll site

mario_a
20th March 2002, 07:58
Nic,
I'm sorry to be a pain in the a@#, but I have to ask you for one last thing.
Could u tell me where I can find source code for decssplus2pre3, then?


Thanks a LOT,
Mario

p.s.You were right, searching for Tron's authentication code really sucks

mario_a
20th March 2002, 08:15
Nic,
Don't bother.
That was a dumb question.. Doom9's source page, of course !

Sorry again and thanks

Mario