Compiled C/C++ DLL for Excel.

Tamamlanmış İlan edilme: 4 yıl önce Teslim sırasında ödenir
Tamamlanmış Teslim sırasında ödenir

Hi,

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.

Task:

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.

C Programlama C++ Programlama

Proje NO: #19458306

Proje hakkında

14 teklif Uzak proje Aktif 4 yıl önce

Seçilen:

fastestJohn

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. Daha Fazla

%selectedBids___i_period_sub_7% gün içinde 300%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(54 Değerlendirme)
6.1

Bu iş için 14 freelancer ortalamada €230 teklif veriyor

DevStar925

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 Daha Fazla

€140 EUR in 7 gün içinde
(73 Değerlendirme)
7.2
harshdaga

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 gün içinde
(88 Değerlendirme)
5.6
Ivan927

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 Daha Fazla

€500 EUR in 3 gün içinde
(7 Değerlendirme)
5.1
xinglong717

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 Daha Fazla

€222 EUR in 3 gün içinde
(24 Değerlendirme)
5.0
anuyadav1

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 gün içinde
(4 Değerlendirme)
3.9
writingapp

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 gün içinde
(16 Değerlendirme)
4.0
YanLee911

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 Daha Fazla

€400 EUR in 3 gün içinde
(5 Değerlendirme)
3.8
vw1514518vw

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 Daha Fazla

€250 EUR in 3 gün içinde
(0 Değerlendirme)
0.0
shiningdevelopor

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 Daha Fazla

€150 EUR in 7 gün içinde
(0 Değerlendirme)
0.0
bluesea1990

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++, Daha Fazla

€133 EUR in 7 gün içinde
(0 Değerlendirme)
0.0
surrbhii

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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(0 Değerlendirme)
0.0