c++ /vb.net custom dll - import signature definition problem

Selesai Dipasang 7 tahun yang lalu Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

I am trying to re create a VB.NET forms application that reads an existing tiff tag contained inside a tiff file that was created by an older program.(we no longer have access to the original program code - only a few fragments of code)

The data created for the tag is compressed and decompressed by an old dll written in c++ about 20 odd years ago.

The original program that used this dll was written in VB6.

I can reference this dll in my new VB.Net program using dllimport - and have managed to find the entry points and calling conventions and almost got the program working apart from the issue i have with the managed PInvoke signature not matching the unmanaged target signature.

I'm probably wrong, but looking at the description of the variant, it looks like it's a byte array that contains two single point values and then another byte array that contains more byte arrays that contain further information.

I'm only interested in extracting the two single point values from the tag however from what i have learned looking though some of the other guides and suggestions online is that this signature probably needs to be a structure?

I have the code that created the original dll in c++, so i'm hoping that this should be sufficient for a c++ expert to quickly identify what the calling signature should be.

As mentioned i'm only interested in decompressing the tag. (The DataUncompress Function)

c++ code attached in a text file along with a description from the original program.

I also have a some sample tiff images that contain the tag with the compressed byte data so that the proposed solution can be tested.

If you require more information prior to quoting then please let me know.

Thanks for your time.

Pemrograman C++ VB.NET Visual Basic

ID Proyek: #11900901

Tentang proyek

5 proposal Proyek online Aktif 7 tahun yang lalu

Diberikan kepada:

houssamvw

Hi ... after couple of hours .. I have built the required source code .. don't worry about Variant; it is actually an array of bytes ... I modified the source code ; to only work on array of bytes .. compress them Lebih banyak

£33 GBP dalam 3 hari
(7 Ulasan)
2.7

5 freelancer rata-rata menawar £130 untuk pekerjaan ini

harshal13

Share more details and i can start working right now. Share more details and i can start working right now. Share more details and i can start working right now. Thanks,HARSHAL (M)

£150 GBP dalam 3 hari
(7 Ulasan)
2.7
abdroid

Hello. So you need a piece of code in VB.Net that correctly calls an unmanaged function (with provided source code in c++) exported by DLL, right ? If so I can do it. Best regards.

£111 GBP dalam 3 hari
(2 Ulasan)
2.4
HawkHouseInt

Hello. Our company exists since 2014 and at the moment we are aimed on expansion abroad. We have already implemented more than 70 projects in Russia and CIS. And we are ready to take new projects and execute them on ti Lebih banyak

£255 GBP dalam 5 hari
(0 Ulasan)
0.0