Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Crashes when calling OpenFileDialog / SaveFileDialog
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support
View previous topic :: View next topic  
Author Message
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Wed Aug 10, 2011 5:35 pm    Post subject: Crashes when calling OpenFileDialog / SaveFileDialog Reply with quote

Some of my customers have reported me that my application will crash when doing save or open files. The crash rate is quite high, maybe 10% of all my users have this problem.

The crashes happen when calls are made to OpenFileDialog/SaveFileDialog. I am not able to reproduce any of the crashes at my local PCs.

So far, the customers that have this probpem seems to run my application under Windows 7.

I've no clue on this issue. Please help!
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Aug 10, 2011 10:33 pm    Post subject: Reply with quote

What version of .NET Encryptor are you using?

There were some issues fixed in Version 2.0.3 and 2.0.4 related to behaviour of common file dialogs under Windows 7. These issues relate to the anti-cracking measures used by .NET Encryptor. You can alternatively turn these off by setting the integrity level constant (passed to CheckProcessIntegrity) to 2 or lower.

You can download the latest version (2.0.4) from our downloads page.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Wed Aug 10, 2011 11:59 pm    Post subject: Reply with quote

Sorry, I was in a panic and forgot to provide enough information.

oh my god... my bad.

From this forum, I knew this issue exist in 2.0.3 but I thought I were using 2.0.4.

To be sure, I've re-checked my version and found out that I am using 2.0.3^^

I will install 2.0.4 and try again.

Thanks for quick response!!! It's really a relief.
Back to top
View user's profile Send private message
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Thu Aug 11, 2011 5:07 pm    Post subject: Reply with quote

Thank you! After upgrade to 2.0.4, one of my customers have told me that the issue is fixed.
Back to top
View user's profile Send private message
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Fri Aug 12, 2011 10:53 am    Post subject: Reply with quote

Another user just told me that the issue remains.

I am about to prepare another version with lower integrity level.

Can I save integrity level in a license file, which I give to user and after license file is loaded, I then call CheckProcessIntegrity(). Will it work?
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Aug 12, 2011 11:10 am    Post subject: Reply with quote

The CheckProcessIntegrity call needs to be made before the call to ExecuteAssembly in the bootstrapper to prevent the possibility of someone attaching to the process (with a dubugger or other tool) and dumping the assembly out of memory. So you can't really do it after the license check.

Is this customer also running Windows 7 x64?

What are the exact symptoms?

Is the customer using an Anti-Virus product? If they turn this off does it fix the issue?

Do they have any other unusual software installed?
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Fri Aug 12, 2011 1:40 pm    Post subject: Reply with quote

1. user is running Windows 7 64 bit.
2. has anti-virus program.
3. just got the info: it gets improved after upgrade to 2.0.4. (so it does crash everytime. great news! ^_^)
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Aug 12, 2011 1:50 pm    Post subject: Reply with quote

Did you mean "It doesn't crash everytime"?

What is their anti-virus software? If they disable it does it change the behaviour?

If you are still having issues then I will organise to send you a special version of the AssemblyLoader dll that will output some diagnostics that may assist us track down the issue.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Sat Aug 13, 2011 7:45 am    Post subject: Reply with quote

sorry, i meant it doesn't crash everytime.

My co-worker told me that after user turn off anti-virus, it seems fine now.

If the problem occurs again on this user, I would like to try the special AssemblyLoader approach.

By the way.. I really love your .Net Encryptor, because it doesn't slow speed down. For my CPU and memory consuming app, it won't survive with any other obfuscation tool.

Thanks for your great tool and support!
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Aug 13, 2011 8:47 am    Post subject: Reply with quote

If you can tell me the anti-virus prorgam they are using then I will do some further investigation.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Tue Aug 16, 2011 4:17 pm    Post subject: Reply with quote

Let me ask user. Will post when I get the reply.
Back to top
View user's profile Send private message
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Thu Aug 18, 2011 2:48 am    Post subject: Reply with quote

User is using:

Microsoft Security Essentials 2.1.1116.0

They also told me the shutdown problem doesn't happen again.

I suspect the first time they told me they still have issue with 2.0.4 was a mistake. maybe version confusion.

Thanks!
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Aug 18, 2011 4:37 am    Post subject: Reply with quote

Great. Thanks for getting back to us on this.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
ychung



Joined: 25 Jan 2007
Posts: 16

PostPosted: Fri Sep 23, 2011 6:18 am    Post subject: Reply with quote

Another customer reported this issue again. (using 2.0.4)

Can you provide the SPECIAL dll, which you mentioned in the previous reply of this thread? So I can send user a DEBUG package to install.

I hope this special dll can catch enough information.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Sep 24, 2011 1:42 am    Post subject: Reply with quote

OK I will email you some modified versions of the Loader dll on Monday. Is this customer also running Microsoft Security Essentials?
What Operating system? 32 or 64bit?
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group