.NET app using stdole running on XP Embedded

  • Thread starter Thread starter Bill Hodges
  • Start date Start date
B

Bill Hodges

I am trying to get an C# application running on XP Embedded, but when I add
my control (which uses stdole), I get an unexplained exception when the
application is loading.

I have the stdole Assembly in place, and I have the 1.1 .NET Framework,
Primative: OLE32, OLE Automation, and OLE Dialog components included in my
target.

Any ideas for what might be missing?

Thanks,
Bill Hodges
 
Bill,
You might want to double check the .Net directory on your device. I had an
image a while back that included the .Net Framework and none of my .Net apps
were working. As it turns out, there where dlls missing from the directory.
I was able to copy the missing dll's and everything worked after that.

Regards,

Sean Gahan
 
Sean,

I have gotten .NET apps without a stdole reference to run correctly. Also,
by "the .NET directory" are you refering to the Assemblies folder, or the
framework folder or something else?

Thanks,
Bill
 
Bill,
Sorry, I should have been more clear. I was referring to either
C:\WINDOWS\Microsoft.NET\Framework\ or
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322. Perhaps the dll that is
required for stdole is missing.

Regards,

Sean Gahan
 
As a clarification:

I have found that I am generating a System.Security.SecurityException in my
InitializeComponents() Method. Does anyone know why I may be getting that?

Thanks,
Bill
 
Back
Top