Question

So I was thinking that it might be nice to be able to write an application in VB .NET (since it's easy to use and learn) and compile it to native code for faster execution (and so I don't have to worry about the .NET runtime being installed, and to prevent decompilation to MSIL -- I realize native code can be decompiled and such, but it isn't as easy as MSIL since it is quite easy to decompile MSIL to recognizable source code). A tool like this exists (http://www.remotesoft.com/linker/ ) but it costs $1249 for a license that allows 1 developer to use the tool, and $2219 for a license that allows 2 developers to use the tool.

I know that there is a free Delphi IDE called Lazarus... So I was thinking it wouldn't be too hard to write a program that converts simple programs to Object Pascal which can then be compiled to native code. Obviously it would be very difficult and time-consuming to re-write the whole .NET Framework, but basic stuff wouldn't be too hard.

Assuming I was able to accomplish this, would there be any market for this? I wouldn't really be looking to make much money; I'd probably sell the program for $0.99 just to help cover hosting costs.

Link to comment
https://www.neowin.net/forum/topic/1043201-could-this-be-done/
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Conversion between languages with brute force, statement by statement, would probably not be an overly complicated thing.

But why not use Lazarus to begin with? If basic functionality doesn't give you the things you need, there are many quality components and units (on Torry) that, afaik, can be converted with Lazarus itself and work well enough.

That said, there's always market for every crud if the marketer is good enough.

  • 0

Is there a market? Not really.

Your intended goal is to make it harder to reverse engineer MSIL compiled programs (C#, VB.NET, F#, etc.) and that capability already ships with Visual Studio in a light form (and has since .NET 1.0) via Dotfuscator Community Edition. There is a paid version of Dotfuscator too that supports more features as well.

So, there is a market for tools that can help a programmer to make reverse engineering his software harder, but there isn't a huge market for taking it through major hoops to get there. Obfuscation is pretty standard fare on .NET and Java (both are IL based platforms) for a reason (by using the same underlying framework and just doing alternations that don't affect the way the program actually executes you reduce your chance of introducing new bugs that are hard to find).

As a result, I would recommend you look at tools like Dotfuscator and see what you could realistically do better. But most devs won't want a language conversion then a recompile to be added to that process. As there are just too much room for new bugs that they aren't responsible for. Also, the "pain" of running the .NET Runtime have really subsided as Windows Vista and 7 ship with .NET out of the box. Users have no clue when an app uses the runtime and really don't care either way.

This topic is now closed to further replies.
  • Posts

    • That's not clickbait. Clickbait is headlines like, "You'll never guess what this person looks like now" for example. For goodness sake, take a look around the internet if you think this is clickbait. How do sites survive if people don't click through to articles? How many people in all honesty would have clicked this if it had your suggested headline? You and those upvoting your post won't be happy until the web is a couple of hundred websites all behind a paywall.
    • HopToDesk 1.46.2.0 by Razvan Serea HopToDesk aims to improve the user experience by providing a free, easy-to-use, and secure remote desktop solution for all major device types including Windows PC, Mac, Linux, Android, Chrome Books, iOS, and even Raspberry Pi devices. HopToDesk empowers you to connect, control, and collaborate with ease. Whether you're providing IT support, managing remote teams, or accessing your own devices from anywhere, HopToDesk offers a reliable and secure solution. HopToDesk does not and cannot monitor user activity as the application uses end-to-end encryption for all traffic, and does not make a distinction between personal and business use (both are allowed). Additionally, HopToDesk includes many of the main features of common remote desktop solutions such as Unattended Access, File Transfer, Live Chat, Wake-On-LAN, 2FA, Direct IP access, a Recent Session and Favorite list, and is available in over 20 languages. HopToDesk can run in portable mode or installed on desktop operating systems. Installation is optional, and will install the HopToDesk service which runs in the background and listens for incoming connections, allowing the device to be accessible at all times. Why Choose HopToDesk? Completely Free: Enjoy full access for both personal and commercial use—no hidden fees or limitations. End-to-End Encryption: All communications, including screen sharing, file transfers, and chats, are protected with robust encryption. Open Source: Contribute to and benefit from a transparent and community-driven project. No Account Required: Connect instantly without the need for sign-ups or subscriptions. Core Features Remote Control & Screen Sharing: Effortlessly access and manage remote devices. File Transfer: Securely send and receive files with drag-and-drop simplicity. Live Chat: Communicate in real-time during sessions. Multi-Monitor Support: Navigate multiple screens with ease. Clipboard Synchronization: Copy and paste seamlessly across devices. Wake-on-LAN: Power on remote systems remotely. Session Recording: Document sessions for future reference. Two-Factor Authentication: Enhance security with an additional verification layer. Custom Branding: Personalize your remote sessions with custom avatars. Unattended Access: Connect to devices without requiring user intervention. Network Customization: Adjust settings like TURN relays and signaling servers to suit your environment. Centralized Device Management Utilize the HopToDesk Dashboard to: Monitor device status in real-time. Generate invite links for easy device integration. Customize network settings and synchronize changes effortlessly. Add a personal touch with custom avatars displayed during remote sessions. Download: HopToDesk 64-bit | HopToDesk 32-bit | ~9.0 MB (Freeware) Download: HopToDesk ARM64 | 21.4 MB Link: HopToDesk Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Or use Epic games and get full games for free. lol Steam and their demos. Thankfully there’s competition
    • Maybe I missed it, but does this say anywhere that the game save bug has been squashed? I haven't encountered it myself, but it would be nice to know I'm good to go. Anyway, amazingly well done game. Mostly more of the same. ...but when the same is best in class with improved graphics and features, then a win.
    • Well when your game flops, you should expect this. If I do bad at work, I would expect a layoff. Less than 1600 people played it on steam. https://steamdb.info/app/1934570/charts/
  • Recent Achievements

    • Reacting Well
      Almohandis earned a badge
      Reacting Well
    • First Post
      Cosminus earned a badge
      First Post
    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      476
    2. 2
      +Edouard
      181
    3. 3
      PsYcHoKiLLa
      118
    4. 4
      Steven P.
      83
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!