Jump to content
Bahram Akhundov

Convert Visual Studio 2012 code to Delphi

Recommended Posts

Hello Guys.

I need help to convert Visual Studio 2012 project to delphi!

If anybody can help me i will very happy.

I share the sourche code.

P.s i can pay extra for that!

 

test.zip

Share this post


Link to post
Posted (edited)

Why not do this yourself? You could get some AI help to start, and then polish it up. 

 

If you want to pay somebody to do this there are plenty of online sites dedicated to facilitating that. 

Edited by David Heffernan

Share this post


Link to post
32 minutes ago, David Heffernan said:

Why not do this yourself? You could get some AI help to start, and then polish it up. 

 

If you want to pay somebody to do this there are plenty of online sites dedicated to facilitating that. 

its not work with AI!

please show files from project you will understand me...

Share this post


Link to post
1 minute ago, David Heffernan said:

Maybe you need to get a programmer on your team? 

maybe you dont understand me.

do you can help me to convert this C# to delphi project ?

Share this post


Link to post

Doesn't seem like you want help. It seems like you want somebody to do it. I definitely recommend getting a programmer involved. 

  • Like 1

Share this post


Link to post
26 minutes ago, David Heffernan said:

Doesn't seem like you want help. It seems like you want somebody to do it. I definitely recommend getting a programmer involved. 

i am try same code write in delphi buth dont work, if somebody can convert that will great help for me...

Share this post


Link to post

It seems unlikely that somebody will write your program for you. Why don't you pay a programmer to do it? 

Share this post


Link to post
11 minutes ago, David Heffernan said:

It seems unlikely that somebody will write your program for you. Why don't you pay a programmer to do it? 

ahem:

8 hours ago, Bahram Akhundov said:

P.s i can pay extra for that!

 

just saying ...

Share this post


Link to post
12 minutes ago, dummzeuch said:

ahem:

 

just saying ...

This isn't the place to hire programmers is it 

Share this post


Link to post

I have said before: You can tell a good software engineer if the first question they ask is "how am I going to test this?". 

If I were to translate your code into Delphi how would I test it to know that it works ?

Share this post


Link to post
Just now, Roger Cigol said:

If I were to translate your code into Delphi how would I test it to know that it works ?

Apparently you would need a BMW ZGW device, or a way of simulating one.

Share this post


Link to post
Posted (edited)
2 minutes ago, Dave Nottage said:

Apparently you would need a BMW ZGW device, or a way of simulating one.

Exactly, I've checked my tool box, I don't have a BMW ZGW device or a way of simulating one........

I would also need someone to tell me what it was supposed to do in the event of different failures when communicating with the BMW ZGW device.....

Edited by Roger Cigol
afterthought...
  • Like 1

Share this post


Link to post
29 minutes ago, Roger Cigol said:

I would also need someone to tell me what it was supposed to do in the event of different failures when communicating with the BMW ZGW device.....

 

That should be easy, consult the AI.

Share this post


Link to post
1 hour ago, Roger Cigol said:

Exactly, I've checked my tool box, I don't have a BMW ZGW device or a way of simulating one........

I would also need someone to tell me what it was supposed to do in the event of different failures when communicating with the BMW ZGW device.....

i have setup zgw on bench, i can share remote my LAN ZGW for test!

Share this post


Link to post
1 hour ago, Dave Nottage said:

Apparently you would need a BMW ZGW device, or a way of simulating one.

of cours i have that ... on bench and connected to LAN, its detect...

Share this post


Link to post
21 hours ago, Bahram Akhundov said:

i am try same code write in delphi buth dont work, if somebody can convert that will great help for me...

Please post your Delphi code and maybe you can get some help here. What SSH/TCP/UDP component did you use?

Your basic task is to setup a small tcp/udp server that can listen to these 4 ports..

Share this post


Link to post
5 minutes ago, Die Holländer said:

Please post your Delphi code and maybe you can get some help here. What SSH/TCP/UDP component did you use?

 Your basic task is to setup a small tcp/udp server that can listen to these 4 ports..

yes right. i need just simple code on delphi for that

Share this post


Link to post

also guys:

 

Uses: Winsock

 


procedure TForm2.Button1Click(Sender: TObject);
var
  WSAData: TWSAData;
  P: PHostEnt;
  Buf: array[0..127] of AnsiChar;
  IP: string;
begin
  // Initialize Winsock
  if WSAStartup(MakeWord(2, 2), WSAData) <> 0 then
  begin
    ShowMessage('Error initializing Winsock');
    Exit;
  end;

  try
    // Get local host information
    if gethostname(Buf, SizeOf(Buf)) = 0 then
    begin
      P := gethostbyname(Buf);
      if P <> nil then
      begin
        IP := string(inet_ntoa(PInAddr(P^.h_addr_list^)^));
        RichEdit1.Lines.Add('Local IP Address: ' + IP);
     
      end
      else
        ShowMessage('Error retrieving local host information');
    end
    else
      ShowMessage('Error retrieving local host name');
  finally
    WSACleanup;
  end;
end;

 

now problem ,its show me LAN IP, buth not get outside ZGW ip...

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×