470,612 Members | 2,262 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,612 developers. It's quick & easy.

IsAssignableFrom always returns false

We have an abstract class FieldBase and FooFieldBase is extended from FieldBase
We are checking, if the FooFieldBase is a subclass of FieldBase with the following line of code

return Class.ToType(FieldBase.class).IsAssignableFrom(Cla ss.ToType(FooFieldBase.class)

This line of code works fine (returns true) when the exe having this code is executed from the command prompt
When the exe is invoked from the installer, this always returns false

Is there any security issue


Jul 21 '05 #1
0 1177

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Aslam | last post: by
3 posts views Thread by peter | last post: by
4 posts views Thread by Italian Pete | last post: by
11 posts views Thread by active | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.