Hello All,

First off, I have to say that all of the files that I am using in this
post are not signed.

I just have a question that I am hoping someone out here can answer. I
have an application that consists of a .exe file and a dll that the
.exe uses. I did not notice this until I started testing on the 700w
Treo, but when I deploy or install my application, the first time I run
the application, I get a Windows message saying that an error occurred
in my application and if I wanted to fill out a bug report. The wierd
thing is that when I run the application again, I do not get any error.


I then created a sample application that just uses the dll. I tested
using this and it would do the exact same thing. I would be prompted
for security for the sample application, but nothing else. I then
tried to debug this application and I noticed that this time, I get
prompted for security for both the application and the DLL and it
worked.

My question is, why would this fail the first time and work perfectly
fine every time after that? Also, is there any way that I can prompt
the user to allow the system to use the dll? Also, I do not think that
signing all of these applications is an option with my company, so I
hope that there is another way.

Thank you all for your time.

Matt

Re: Security Question by Matt

Matt
Thu Jan 12 07:46:14 CST 2006

Does anyone have any ideas on how to fix my problem, or how to prompt
the user for security for a dll.

Also, has anyone had anything like this happen to them?

Matt