Page 1 of 1

4278

Posted: Thu Mar 02, 2006 10:43 pm
by Trond
Does anyone know what Windows message 4278 is?

4278...

Posted: Thu Mar 02, 2006 10:52 pm
by Techie42
Hiya Trond,

Under Visual Basic, the Windows error message corresponding to 4278 is...

"Application-defined or object-defined error"

...which can cover pretty most anything.

I have experienced this when using COM objects or ActiveX controls, and something goes wrong internally with the object.

I'm sorry I can't be of further assistance.


P.S. This can also occur in the WINS event log, and means the following:

"The following name (%1) is too long. It has not been put in the WINS database. If you want this long name (> 15 characters), enclose it within quotes."

And there's more...

Posted: Thu Mar 02, 2006 11:37 pm
by Techie42
Hiya again,

I've found two other posts here:


viewtopic.php?t=16792&highlight=formatmessage

viewtopic.php?t=3809&highlight=formatmessage


I believe 4278 is specific to a particular application (i.e. application defined) as there does not appear to be a specific Windows error message with this number.

As I said before, VB has a 4278, and I suppose it is possible for other applications to use the same error number.

Anyway, have fun.

Posted: Fri Mar 03, 2006 11:21 am
by Trond
It's not an error message, it's a message used in SendMessage.

Posted: Fri Mar 03, 2006 1:13 pm
by Techie42
:lol: :lol:

The only way I know that you might be able to find that out is by using Winspector, found at the following URL:


http://www.windows-spy.com/


It is a tool that is equivalent to MS Spy++ in that it permits you to see detailed info on windows, processes, threads, etc...

I do know that windows messages between WM_USER and 0x7FFF are private to a windows class, not an application, and so the message could be associated with a Button, Listbox or any other windows item, depending on use. I can't find any specific info on 4278 and I cannot find it defined in any header or library files.

Good luck![/url]

Posted: Sat Mar 04, 2006 2:58 am
by Intrigued
Techie42 wrote::lol: :lol:

The only way I know that you might be able to find that out is by using Winspector, found at the following URL:


http://www.windows-spy.com/


It is a tool that is equivalent to MS Spy++ in that it permits you to see detailed info on windows, processes, threads, etc...

I do know that windows messages between WM_USER and 0x7FFF are private to a windows class, not an application, and so the message could be associated with a Button, Listbox or any other windows item, depending on use. I can't find any specific info on 4278 and I cannot find it defined in any header or library files.

Good luck![/url]
Nice! Thanks for sharing, I'll pass this link along for sure.

*thumbs up and toes down!*