Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I hope someone can throw some light on the following situation:

I am very new to programming. However, I have built a vb.net 2013 application and have tried to run it within a WinPE environment. My application is mainly someone else work, as encrypting and de-crypting text strings is beyond my programming skills.
The application is unable to start error code(0xc0000135). I know this is because WinPE does not support the .Net Framework and my application needs these libraries to run!
This is all very strange to me, I thought here would be a plug-in or something similar, considering they are both Microsoft products!

Anyway, moving on, I now need a way to convert my program into a native programming language, so that there are no dependencies on the .Net stuff.

I have tried to use some of the online conversion tools without any success. I have also come across Mono, which seems to offer cross platform support, as I think it bundles up dependent libraries within the app. However, I have tried several times to complete a native compile, without any luck!

I am not a programmer and anything dissimilar to vb.net throws me.
If anyone has any suggestions, they would be gratefully received. Basically I need a way to either port and wrap my application so that it runs within a WinPE environment?

Modules Declared:
Imports System
Imports System.IO
Imports System.Text
Imports System.Security.Cryptography
Imports Microsoft.VisualBasic

Thanks in advance.
Posted
Comments
Dave Kreskowiak 27-Feb-15 17:31pm    
You didn't mention which version of the .NET Framework your app is targeting, nor which version of WinPE you're using.

1 solution

Whoops. Nevermind. Even the latest WinPE doesn't support the Crypto features of the .NET Framework. This is because you're not running on a full version of Windows. The Crypto API just isn't in WinPE.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 27-Feb-15 19:00pm    
5ed.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900