Search found 27 matches

by JohnStevenson
Wed Nov 30, 2005 11:55 am
Forum: madExcept
Topic: Http upload problem with authentication
Replies: 3
Views: 5317

More information on authorization header:

User = johnstevenson
Password = test

First line is successful IE header, second is madExcept's:

Authorization: Basic am9obnN0ZXZlbnNvbjp0ZXN0
Authorization: Basic am9obnN0ZXZlbnNvbjq16y0=
by JohnStevenson
Wed Nov 30, 2005 11:30 am
Forum: madExcept
Topic: Http upload problem with authentication
Replies: 3
Views: 5317

Http upload problem with authentication

Hi madshi Having trouble with http upload using authentication. The server returns a 401 unauthorized message. Having sniffed the packets, I think it is in the password part of the "Authorization Basic .." header line. Also, on a different subject, if the user minimizes the madExcept bug r...
by JohnStevenson
Tue Nov 22, 2005 2:05 pm
Forum: madCodeHook
Topic: SendIpcMessage with answerTimeOut
Replies: 6
Views: 4965

Thanks Madshi, I understand it now. Bit of a stupid question really, as I eventually tested timeouts to figure it out.
by JohnStevenson
Sat Nov 19, 2005 12:37 am
Forum: madCodeHook
Topic: SendIpcMessage with answerTimeOut
Replies: 6
Views: 4965

Look in documentation : http://help.madshi.net/IPC.htm Thank-you. I've looked in the documentation and understand how to call SendIpcMessage. But I want to know the mechanics of the IPC call, as per my original question. I cannot examine the source as although I have purchased MadCollection, the IP...
by JohnStevenson
Fri Nov 18, 2005 6:37 pm
Forum: madCodeHook
Topic: SendIpcMessage with answerTimeOut
Replies: 6
Views: 4965

arcanjo_junior wrote:Before ou SendMessage, you can check the Server IPC is open.
FindWindow for example.
Thanks, but what about the mechanics of SendIpcMessage with a timeout?
by JohnStevenson
Thu Nov 17, 2005 7:02 pm
Forum: madCodeHook
Topic: SendIpcMessage with answerTimeOut
Replies: 6
Views: 4965

SendIpcMessage with answerTimeOut

What are the mechanics of calling SendIpcMessage with an answerTimeOut that is not INFINITE? I presume that my TIpcCallback function is called from within a thread, so if my callback function takes longer than the timeout, what happens to the callback function? Is the thread terminated, or do you cr...
by JohnStevenson
Wed Sep 14, 2005 11:08 am
Forum: madExcept
Topic: madExcept disappeared from IDE
Replies: 4
Views: 6009

Thanks madshi, that did it.

The madExceptWizard.bpl was unchecked.
by JohnStevenson
Wed Sep 14, 2005 10:31 am
Forum: madExcept
Topic: madExcept disappeared from IDE
Replies: 4
Views: 6009

Cheers for that. Found it at about the same time as you posted, but although I deleted the madexceptWizard.bpl entry, no change.

I've uninstalled then re-installed entire madCollection, but madExcept is still not showing in the IDE.
by JohnStevenson
Wed Sep 14, 2005 9:48 am
Forum: madExcept
Topic: madExcept disappeared from IDE
Replies: 4
Views: 6009

madExcept disappeared from IDE

Hi Madshi I decided not to use madExcept3, due to the additional size it adds to the exe, so uninstalled it and installed 2.7h. I kept getting "...*.bpl not found..." type messages on opening new projects. Sorry I cannot be more specific, but I inadvertently clicked the "Do not try to...
by JohnStevenson
Thu Jan 06, 2005 6:02 pm
Forum: madCodeHook
Topic: Needed: madCodeHook Expert
Replies: 26
Views: 23776

Regarding changing your SMTP settings, I'm currently working on a project that diverts email to a new SMTP server address, without having to change the settings in your email program. This is useful if you use multiple ISPs or are moving around with a laptop. It detects the settings for popular emai...
by JohnStevenson
Fri Nov 12, 2004 5:55 pm
Forum: madCodeHook
Topic: hook http requests
Replies: 4
Views: 7056

OK, you hook explict the connection on port 80,21&20 ! But the User can change the proxy-adresse and ports like 1332, 3128, 8080 etc... The name param of Winsock's connect function contains the IP address and port so you can trap for both. If you use file-mapping your application can set the ip...
by JohnStevenson
Fri Nov 12, 2004 3:17 pm
Forum: madCodeHook
Topic: hook http requests
Replies: 4
Views: 7056

You need to use Dll Injection to hook the Winsock function "connect", then in your dll you need to trap connections to the relevant ports - 80 for http, 20 and 21 for FTP, I think. In your application you inject your dll like this: InjectLibrary(CURRENT_SESSION, 'MyHookDll.dll'); Your dll,...
by JohnStevenson
Sat Nov 06, 2004 11:50 am
Forum: madCodeHook
Topic: InjectLibrary with invalid filename
Replies: 2
Views: 4789

I changed one thing and it affected something else...in other words standard incompetence on my part!!
by JohnStevenson
Fri Nov 05, 2004 8:57 pm
Forum: madCodeHook
Topic: InjectLibrary with invalid filename
Replies: 2
Views: 4789

InjectLibrary with invalid filename

When I call InjectLibrary and pass in an invalid filename in the libFileName param, the function returns False and GetLastError reports ERROR_FILE_NOT_FOUND, as you would expect. However if I pass in a blank value in libFileName, InjectLibrary returns True! In this case GetLastError reports ERROR_AC...
by JohnStevenson
Wed Nov 03, 2004 7:35 pm
Forum: madCollection
Topic: Windows XP SP2 and the madHelp
Replies: 6
Views: 9510

Since I have your libraries on 2 work-stations and a laptop, I've written a small app that resolves this problem. It creates links to the relevant htm files in the madBasic\Help\Data directory, then deletes the offending files. I have taken the liberty of emailing the project to you, at the address ...