Closed

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

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

Skills: .NET, C++ Programming, Visual Basic

See more: net project bidding, net project web touring, quick book interface net, adding pay pay net project, net project create critical path, proxy changer net project, oscommerce quick checkout mod, project need unique company name, net project ahmedabad, basic net project, net project using flash action scripting, converter net project php, net project setting program, migrate net project, making setup file net project, project copy xml quick books vb net code, bid project need online investment site cms net, need quick easy graphic design project, www freelancer com projects net ocr project need train segment

About the Employer:
( 158 reviews ) Mermaid Waters, Australia

Project ID: #20880915

4 freelancers are bidding on average $23 for this job

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

$22 USD in 1 day
(1306 Reviews)
7.6
inforafeesoft

Hi sir I'm a [login to view URL] Engineer Database Administrator and System Administrator Also Network Administrator I'm expert in Web Development,Database (My SQL,MS SQL,Azure,AWS,Mongo Db,Postgre DB,Magento ...etc), Java, Ja More

$30 USD in 1 day
(0 Reviews)
2.9
amoldhanwat

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

$18 USD in 1 day
(1 Review)
0.0
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 More

$20 USD in 2 days
(0 Reviews)
0.0