Find Jobs
Hire Freelancers

Managed/Unmanaged .Net C++ CLR example

£40-70 GBP

In Progress
Posted about 2 years ago

£40-70 GBP

Paid on delivery
I need someone to write a simple (ie as simple as possible) example .Net C# WinForms app, together with a managed C++ CLR dll and and unmanaged C++ dll. The unmanaged C++ dll must be completely separate from the managed dll and .Net environment so that it can be run from a normal C++ console app (you should provide the console app too to show that the solution works without .Net). The unmanaged dll just needs to have one function that starts a background thread which calls a callback every second. The callback can simply pass an integer value that is incremented each time the callback is called. I expect it will be necessary for the unmanaged function to accept a callback pointer so that the background thread knows what to call. The managed dll will need to expose the same functionality to the .Net C# Winforms app and it must use the unmanaged C++ dll. I believe this will involve having a delegate in the managed C++ dll that is used in the WinForms app to accept the callback. So when the unmanaged dll calls the callback, the managed dll needs to raise an equivalent callback to the C# app, passing the integer value up to the C# environment. The C# app doesn't need to do anything with the integer value - it can just receive it, but it must be possible get the delegate to communicate with the main thread so that the integer value can be used to update a control. Maybe this could be demonstrated by just updating a simple TextBox on the WinForm app's main form. The WinForm app just needs to have a single form with a button and a TextBox. The button will be used to call into the managed dll to start the background thread and the TextBox used, as described, to receive the integer value raised by the unmanaged dll. Please note that I have quoted this project at 50GBP, and it should only be attempted by someone who is experienced with raising callbacks from unmanaged dlls to the .Net environment, to save time researching how this is done. If you don't know how to do this, then please do not apply. For the right person who can definitely provide this solution, I am happy to negotiate on the price if you feel the time it will take is more than, say, an hour of your time.
Project ID: 33476524

About the project

3 proposals
Remote project
Active 2 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi. I am an experienced developer of .NET, databases, and related technologies. I have extensive experience in the development of server solutions (.NET Core) and related, or individual desktop solutions. I always find a common language with customers and provide full support for my code in the future. For my customers, bug fixes and project support such as adding small features are always free. Of course I'm work with managed and unmanaged dll's in many projects and can prepare requested example. One thing - in this example you just want to increment value passed to function in external dll. Right?
£50 GBP in 7 days
5.0 (49 reviews)
5.5
5.5
3 freelancers are bidding on average £52 GBP for this job
User Avatar
HhI I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your replyyy
£55 GBP in 7 days
5.0 (1 review)
2.8
2.8
User Avatar
I am a full-stack developer with more than 6 years of hands-on experience with software development. I have worked with projects from different domains (Network Security, E-Commerce, Education, Finance, Entertainment, IoT, etc.). I can bring the knowledge and insights that I have gained during these years into your project to ensure its most efficient delivery. You can have my services in this gig: Error fix and Extension installation Windows form application development Widows desktop application development ASP.NET web application development C# Console applications C++ Console applications Custom Engineering applications Custom desktop applications API development and integration CMS development Bulk data danaging Application development Data visualization application development Databases(MySQL, SQL Server, SQL Lite) Integration Error tracking and bug fixing
£50 GBP in 4 days
3.9 (18 reviews)
3.0
3.0

About the client

Flag of UNITED KINGDOM
Edgware, United Kingdom
5.0
1
Payment method verified
Member since Nov 11, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.