Quick .CPP mod in a .Net project - Need it Now -- 2

Fermé Publié le il y a 4 ans Paiement à la livraison
Fermé Paiement à la livraison

I have a .cpp chunk of code that captures some image data and writes that image to a file as follows ;

extern "C" _declspec(dllexport) HRESULT CaptureSample()

{

.....

.....

BmpSetImageData(&bmp, data, width, height);

BmpSave(&bmp, bmpFile); // << return &bmp image Byte to the calling VB6 app

CFile raw("[login to view URL]");

[login to view URL](&data[0], [login to view URL]());

[login to view URL]();

}

This line >> BmpSave(&bmp, bmpFile); saves the created bmp to the hard drive.

What I actually want to do is pass the image back to the calling app, not write it to the drive locally.

This is the Function called by the main VB6 app.

extern "C" _declspec(dllexport) HRESULT CaptureSample()

>> VB6 App

Public Declare Function CaptureSample Lib "[login to view URL]" () As Long

Private Sub CaptureImg_Click()

CaptureSample

so here I actually want the bmp returned from CaptureSample for example

Img [] = CaptureSample

Need it Now

Thanks

.NET Programmation C++ Visual Basic

Nº du projet : #20880915

À propos du projet

3 propositions Projet à distance Actif il y a 4 ans

3 freelances font une offre moyenne de 20 $ pour ce travail

vano101

Hello I have over 17 years of experience with Windows Desktop application development Also, I know both C++ and VB6 and very well. I think it's possible to complete your project in couple of hours of pure working time

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1389 Commentaires)
7.7
amoldhanwat

Hi I have experience in c/c++ on windows, i can help you out finding some solution for returning your bit map

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)
2.4
Lynx89

Hello! Although I am new here on freelancer I have several years of experience with both C++ and C#... As a reverse engineer, i deal with imported/exported functions on a daily basis so I truly believe i am the right p Plus

$20 USD en 2 jours
(0 Commentaires)
0.0