Completed

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

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.

Evner: C++ Programmering, VB.NET, Visual Basic

Se mere: vb.net to c, vb net custom wpf tabcontrol, vb net custom object types dal, tskit dll vb net, sevenzip dll vb net, options registering custom wrapper dll vb net, metatrader dll vb net, import wizard vb net, import dll vb wrapper, import csv vb net, excel import wizard vb net, dotnetwinpcap dll vb net, coding 7za dll vb net, active database dll crystal report vb net, 7zip dll vb net

Om arbejdsgiveren:
( 1 bedømmelse ) Bungay, United Kingdom

Projekt ID: #11900901

Tildelt til:

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 Flere

£33 GBP in 3 dage
(7 bedømmelser)
2.7

5 freelancere byder i gennemsnit £130 på dette job

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 in 3 dage
(7 bedømmelser)
2.7
£100 GBP in 10 dage
(3 bedømmelser)
2.6
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 in 3 dage
(2 bedømmelser)
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 Flere

£255 GBP in 5 dage
(0 bedømmelser)
0.0