Find Jobs
Hire Freelancers

C# integration with COM component in Delphi

$50-100 USD

Closed
Posted almost 12 years ago

$50-100 USD

Paid on delivery
Hello, I trying to write a software in C# that make calls in a .dll wrote in Delphi. Im trying to call this method (wrote in delphi): ------------- Function Recebe_Cartao (var Matriz : array [ 1..721 ] of char) : boolean ------------- In my C# code, I declare like this: --------------- [DllImport("[login to view URL]", CharSet = [login to view URL])] public static extern bool Recebe_Cartao( char[][] data); --------------- The problem is when I call in C# this method in my console application: ------------ Recebe_Cartao(RetornoMatriz); ------------- I get an error: Cannot marshal 'parameter #1': There is no marshaling support for nested arrays. I found a solution in: [login to view URL] but I still dont know how to fix my code. You can download my project in: [login to view URL] Main objective: I need loop through all values of RetornoMatriz array. Thanks Marcelo
Project ID: 1667095

About the project

4 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $63 USD for this job
User Avatar
Hello, i have 11 years experince in Delphi and C#. Please attach project from Delphi too.
$100 USD in 1 day
5.0 (43 reviews)
6.8
6.8
User Avatar
The test program has a lot of communication errors, but I think it was problem with the declaration...
$50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I fixed it. Plz read private message
$50 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I believe my skills and experience are relevant for the task.
$50 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of BRAZIL
So Paulo, Brazil
5.0
5
Payment method verified
Member since May 4, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.