Red Gate forums :: View topic - C++ Mixed Mode
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 5
SmartAssembly 5 forum

C++ Mixed Mode

Search in SmartAssembly 5 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
omheien



Joined: 07 Dec 2010
Posts: 18
Location: Norway

PostPosted: Tue Dec 07, 2010 3:07 pm    Post subject: C++ Mixed Mode Reply with quote

Hi all
I have a C++ DLL holding two exported procedures that lets me load the library in our Win32 application created in Clarion for Windows (Not .NET)
Tis C++ library allso holds some managed code that lets me do calls from my Win32 applications into the .NET world.

I'm using IJW to acomplish this task.

I tryed the evaluate version of SA to see if I could obfuscate my Visual Studio solution, but it stopped on my C++ project saying that Mixed Mode is not supported. I then obfuscated just the C# projects and that worked well. But then I assume that my C++ DLL not longer can access the C# projects.

Am I right or can this be done?

If not, I must look for an other obfuscator.

regards
Ole
Back to top
View user's profile Send private message MSN Messenger
Brian Donahue



Joined: 23 Aug 2004
Posts: 6589

PostPosted: Wed Dec 08, 2010 4:56 pm    Post subject: Reply with quote

Sorry, Ole. you can't use the current or previous versions of SmartAssembly to protect assemblies that have a mix of managed and unmanaged code.
Back to top
View user's profile Send private message
omheien



Joined: 07 Dec 2010
Posts: 18
Location: Norway

PostPosted: Thu Dec 09, 2010 7:51 am    Post subject: ??? Does this mean that SA is not an option for me at all? Reply with quote

I mean, since I can ObFuscate all the C# modules, is it not possible to decorate a class or method in my C# project that tells the obfuscator NOT to obfuscate? Because this would let the C++ code call the C# library. This is as fas as I can see then way many other obfuscators do it. Problem is that there are only two obfuscators that prevent hackers from seeing the code inside the methods, at least this is what I have found testing the one I found. And the other ObFuscator that manage this is DotFuscator from PreEmptive. Problem is that they wanted 2500 for the product, and that was including a 50% discount, which means the product actually costs 5000. A rather amazing prize for an obfuscator
Back to top
View user's profile Send private message MSN Messenger
Brian Donahue



Joined: 23 Aug 2004
Posts: 6589

PostPosted: Thu Dec 09, 2010 12:08 pm    Post subject: Reply with quote

Hi Ole,

I'm guessing it's because SA gets a lot of the information about types from the metadata to work out how to obfuscate them and unmanaged code does not have this information available in the assembly.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
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