Compiled C/C++ DLL for Excel.


I deleted the original project with same name as a more generic approach is actually required.

We have an existing Excel/VBA application and we wish to move some of the calculations to an external C/C++ DLL. I have already created a working DLL in VB.NET to demonstrate the requirement. We want to secure some of the calculations but VBA or VB.NET cannot be made secure. VBA security is non-existent and .NET can be reflected. The DLL should be C or C++ compiled as native/unmanaged code.

The attachments include the following information:

1) The screenshots show the original and modified values in Excel. Two worksheets both containing five named ranges spanning five cells horizontally. The upper part shows original values and lower part shows modified values returned by the DLL.

2) VBA code which collects the original values to arrays of doubles, sends them to the DLL and displays the returned values on the two worksheets. The VBA code is just for informational purposes.

3) VB.NET class including a function that receives a string parameter and two two-dimensional arrays of doubles. The function performs some simple calculations on the passed values for demonstration purposes. The modified values become available to calling application since the arrays are passed by reference. The return value was only used to verify that the DLL recognizes the array bounds correctly even though they are not specified in the parameter list of the function. The CalculateSheet1Totals procedure was included to verify that passing arrays worked also within the DLL.


1) Recreate the VB.NET code as C or C++ code and compile it as a DLL, so that the existing VBA code example works when I only change Excel to reference the new DLL instead of the current VB.NET based DLL.

2) If possible, create the DLL so that is works with both 32-bit and 64-bit calling application. Even though this project description talks about Excel as calling application, the DLL will also be called from standalone .NET applications. If it is not possible to fulfill this requirement with a single DLL, then instructions are needed about how to compile 32-bit and 64-bit versions of the DLL.

3) As a deliverable, I would like to get the source code for the DLL and instructions on how to setup a project in Visual Studio to compile it. I used "Make assembly COM-visible" and "Register for COM interop" for the VB.NET example, but maybe C/C++ has some other options or considerations.

Evner: C programmering, C++ Programmering

Se mere: dll excel aspnet freeware, dll excel sheet creation net 208, excel date time csv change, call dll from excel, c programming excel, vba use dll without registering, c++ excel, excel vba dll reference, excel add in c++, create dll for excel vba, call c# dll from excel, sample excel sheet inventory net change, dll excel export aspnet aspnet, excel vba file datelastmodified change, java coded program need converted compiled dll file, read dll excel, dll excel mt4 read candles, reverse engineering compiled dll, dll excel 2003, create dll excel vba 2003

Om arbejdsgiveren:
( 0 bedømmelser ) Helsinki, Finland

Projekt ID: #19458306

Tildelt til:


Hello. I have just read your proposal in detail. I am very interested in your project. I am a C and C++ expert as you can see through my reviews. I have rich experiences and have taken part in programming contests. Flere

€300 EUR in 3 dage
(28 bedømmelser)

18 freelancere byder i gennemsnit €237 på dette job


Hi, Dear Employer! I am really interested in your project. I have enough experience in VB, Python, C/C++, C#, java programming. I am 100% sure I can satisfy your requirements perfectly. User-Friendly Interface And Cle Flere

€140 EUR in 7 dage
(55 bedømmelser)

Hi, I've got quite some experience with interop between C++ and .NET and I'm sure I can help you out here. May I get some more details over the chat?

€150 EUR in 3 dage
(82 bedømmelser)

Hello! I am very interested in your post project. i have rich experience on it. I think this project is very suitable for me and i am sure i can give you good result . I can help you if you'd like looking forwar Flere

€500 EUR in 3 dage
(7 bedømmelser)

I have just read your job description carefully and I am very interesting in your job. I have many experiences in Excel VBA developing and data mining. I can complete your project successfully. I'm software engineer an Flere

€222 EUR in 3 dage
(20 bedømmelser)

hello, I can write this code in c++ and compile it and provide you dll file . I have gone through the files and it seems to be simple task which can be done in a day or two max . looking forward to work on this .

€200 EUR in 3 dage
(4 bedømmelser)

Hello. I read your project very carefully and I am ready to start working on it. I am an expert with all the skills which you mentioned in your project description. ----------------- If you want I can provide Flere

€300 EUR in 3 dage
(5 bedømmelser)

Dear sir/mam Thank you for giving me this opportunity to bid on your project. I read your job requirement and wish I can work on your project. I've a rich experience in the developments with c, c++ and c# and you c Flere

€400 EUR in 3 dage
(4 bedømmelser)

Dear sir, madam I am interesting your project. I can satisfy you perfectly. I have read your description and I would like to work for you having perfect expertise in required task. I am software engineer having 5 year Flere

€180 EUR in 3 dage
(6 bedømmelser)

Hi, I can develop the C# program working with C++ DLL which performs VBA functions that you provided. I have done one like this, before. I will give you the perfect result. Thank you.

€250 EUR in 3 dage
(1 bedømmelse)

iam top talented IT developer which have been developing Linux and Windows desktop, iOS & Android apps over +15 years. ★ Professional Desktop Application - Windows desktop using C/C++/C#/Java - Linux and Cr Flere

€244 EUR in 3 dage
(1 bedømmelse)

Ready to move your code to a windows .dll file replacing the existing VBA code. The created .dll file will work on 32bit and 64bit windows source code can also be obfuscated before compiling to add an extra protecti Flere

€250 EUR in 3 dage
(0 bedømmelser)

Hi. Great app writer for your projects. I have writen C++ DLL for many years. I am ready to write your project. Thank you for visiting my profile

€250 EUR in 5 dage
(0 bedømmelser)

Hi, How are you doing? I am very interested in your project. I am always ready for you. I wish you contact me as soon as possible. Let us discuss your project on chat in detail. Thanks for your regards.

€250 EUR in 6 dage
(0 bedømmelser)

High-quality & Fast-delivery is promised! As a highly skilled full stack developer, I have rich experience in c++/.net. I am very confident with my skills and I'd like to help your business by doing my best. My clients Flere

€150 EUR in 7 dage
(0 bedømmelser)

Good day! I'm a licensed full stack web developer and designer. I have many experiences in laravel, wordpress, CI. And I had several experiences in angular.js, react.js, node.js, Vue.js, material ,bootstrap and c++, Flere

€133 EUR in 7 dage
(0 bedømmelser)

Hello Sir, I have read your requirement and understood that you are looking a windows developer/ web application and software developer for your project. We have 6+ years experienced windows developer team and we alr Flere

€140 EUR in 7 dage
(0 bedømmelser)

I can code this dll within 2 hrs , I have good experience writing dll files in c++. I am interested in this job ... Thank you Relevant Skills and Experience I can code this DLL within 2 hrs , I have good experience wr Flere

€200 EUR på 1 dag
(0 bedømmelser)