DragDrop registration failed

  • Thread starter Thread starter Scott Parillo
  • Start date Start date
S

Scott Parillo

I have a C# Application that is posing some interesting issues when
run within Win98. Let me preface this by saying that everything works
like a charm under Win2000.

Anyhow, the current issue is that under "certain" circumstances
(there's no logic as to how/why this happens), you will fire up this
application under Win98 and get a "DragDrop Error: registration
failed" MessageBox from JIT.

The source code line in question is, of course, a simple
"this.AllowDrop = true;" property. If I were to remove it, the problem
would go away. Of course, I need that call in order for the
application to function correctly.

And before anybody asks the obvious, I _do_ have the following line in
my main Form:

[STAThread]
static void Main(string[] args)

I can't really make heads or tails out of this issue, and it
definitely presents itself only under Win98.

This particular Win98 machine is up to scratch, in terms of
patches/updates/etc. The OS has IE6.0 installed, as well as .NET
runtime v1.1. The Application is compiled using .NET Studio 2003.

Can anybody shed any light on this? Any workarounds?
 
Back
Top