Search found 2566 matches

by Admin
Tue Dec 12, 2023 8:34 am
Forum: Technical questions
Topic: very strange TypeInitializationException
Replies: 1
Views: 1976

Re: very strange TypeInitializationException

Could you send us a very simple example (original binaries + VMP file) that shows your problem?
by Admin
Fri Dec 08, 2023 2:31 am
Forum: Technical questions
Topic: Unable to protect single file in .net 8
Replies: 4
Views: 3951

Re: Unable to protect single file in .net 8

Your published application is just a container with required files of your application, so any modifications of this container will not protect your real code inside it. Just look at your application before publishig - usually it contains 2 files: EXE (required environment to execute dotnet) and DLL...
by Admin
Thu Dec 07, 2023 11:20 am
Forum: Technical questions
Topic: Unable to protect single file in .net 8
Replies: 4
Views: 3951

Re: Unable to protect single file in .net 8

You have to protect your application before publishing.
by Admin
Thu Nov 30, 2023 8:07 am
Forum: Technical questions
Topic: Protected file produced different result.
Replies: 15
Views: 11207

Re: Protected file produced different result.

weloveayaka wrote: Thu Nov 30, 2023 5:42 am Could you please also send the fixed build to ...
Done.
by Admin
Thu Nov 30, 2023 6:27 am
Forum: Technical questions
Topic: VMP DEMO v3.8.5 open EXE file is incorrect
Replies: 4
Views: 3138

Re: VMP DEMO v3.8.5 open EXE file is incorrect

Fixed in the latest build.
by Admin
Thu Nov 30, 2023 4:55 am
Forum: Technical questions
Topic: Protected file produced different result.
Replies: 15
Views: 11207

Re: Protected file produced different result.

weloveayaka wrote: Mon Nov 27, 2023 10:54 pm this also enter wrong catch block
Could you please find another way to avoid this? Alternative way to replace DoNotWrapExceptions?
Please try the 1911 build.
by Admin
Thu Nov 30, 2023 4:54 am
Forum: Technical questions
Topic: BadImageException when override generic type
Replies: 6
Views: 4156

Re: BadImageException when override generic type

weloveayaka wrote: Wed Nov 29, 2023 3:42 pm TargetException when use Nullable Operator
Fixed in the 1911 build.
by Admin
Wed Nov 29, 2023 5:13 pm
Forum: Technical questions
Topic: VMP DEMO v3.8.5 open EXE file is incorrect
Replies: 4
Views: 3138

Re: VMP DEMO v3.8.5 open EXE file is incorrect

Could you send us a test example (original EXE) that shows this error?
by Admin
Wed Nov 29, 2023 10:14 am
Forum: Technical questions
Topic: BadImageException when override generic type
Replies: 6
Views: 4156

Re: BadImageException when override generic type

instance void catch.GenericType`2<0, 1>::A() ("!0" and "!1" are generic parameters): .maxstack 8 newobj 0A000016 → instance void class [mscorlib]System.Collections.Generic.Dictionary`2<!0, !1>::.ctor() // <- here pop ldstr 70000001 → "OK" call 0A000017 → void [mscorlib]...
by Admin
Wed Nov 29, 2023 9:51 am
Forum: Technical questions
Topic: BadImageException when override generic type
Replies: 6
Views: 4156

Re: BadImageException when override generic type

Method with generic parameters can't be virtualized.
by Admin
Tue Nov 28, 2023 6:40 am
Forum: Technical questions
Topic: About driver sys file with VMP
Replies: 1
Views: 2637

Re: About driver sys file with VMP

MiniDump Fixer can change the module information about protected file to the original one, so you will able to load the fixed DMP file to WinDBG for analyzing.
by Admin
Tue Nov 28, 2023 6:32 am
Forum: Technical questions
Topic: Newbie questions about using VMProtect
Replies: 5
Views: 3264

Re: Newbie questions about using VMProtect

The issue with "#ifndef DEBUG" is that aside from creating lots of additional noise in the code, I still can't test my release version until it is packed or unless I include the VMProtect DLL. Of course, as a workaround I can start adding additional compiler directives to handle this, but...
by Admin
Mon Nov 27, 2023 4:20 pm
Forum: Technical questions
Topic: Protected file produced different result.
Replies: 15
Views: 11207

Re: Protected file produced different result.

The virtual machine calls A() via MethodInfo.Invoke that doesn't support BindingFlags.DoNotWrapExceptions for .NET Framework. So the class an exception in the "catch" block is wrong ("TargetInvocationException" instead of "CustomException"). The virtualized "A()&qu...
by Admin
Mon Nov 27, 2023 11:07 am
Forum: Technical questions
Topic: Protected file produced different result.
Replies: 15
Views: 11207

Re: Protected file produced different result.

You still don't understand what your code does (virtualized "isinst" works like "castclass" and it calls Object.GetType too). static T CastTo<T>(object obj) where T : class { return obj as T; } static void Main(string[] args) { ServiceFactory.RegisterService(typeof(IInterface), t...