Home > Back-end >  Who can help me to Delphi a file into a VC to 100 points
Who can help me to Delphi a file into a VC to 100 points

Time:09-24

Sure don't understand Delphi, which a great god help me to translate it, thanks a lot, about 14 KB,
https://yunpan.cn/cutsPnzfaVVsE (Numbers: 1 a1b)

CodePudding user response:

If it is 100 RMB estimates that someone is willing to help the building Lord, looking forward to the man

CodePudding user response:

If it is 99 RMB estimates that someone is willing to help the building Lord, looking forward to the man

CodePudding user response:

The so-called "translation", is actually read the rewrite,

CodePudding user response:

Or Delphi this file, can you put it into a DLL file, and then let the VC to call, a great god everyone?

CodePudding user response:

reference 5 floor x76377 reply:
or Delphi this file, can you put it into a DLL file, and then let the VC to call, a great god everyone?

Encapsulation is certainly possible, but according to the business logic of the vc + + to encapsulate you,

CodePudding user response:



refer to 6th floor pathletboy response:
Quote: refer to the fifth floor x76377 reply:

Or Delphi this file, can you put it into a DLL file, and then let the VC to call, a great god everyone?

Encapsulation is certainly possible, but according to you the business logic of the vc + + to encapsulate,


Main don't understand Delphi, also don't know how to operate, is just want to make it one reads the map function into a class, what steps need to be like this?

CodePudding user response:

refer to 7th floor x76377 response:
Quote: refer to the sixth floor pathletboy response:

Quote: refer to the fifth floor x76377 reply:

Or Delphi this file, can you put it into a DLL file, and then let the VC to call, a great god everyone?

Encapsulation is certainly possible, but according to you the business logic of the vc + + to encapsulate,


Main don't understand Delphi, also don't know how to operate, is just want to make it one reads the map function into a class, what steps need to be like this?

It according to your requirements packaging corresponding interface, completely do not understand Delphi's words is difficult, because this involves the c + + call, is not good, don't even know what DLLS need to provide your own functions, that you let people how to package? The Delphi code and you can't function of certification is in good condition, when the time comes to bandy words easily,

CodePudding user response:

This is a fully functional, because he has engineering program, also generates a an.exe file, function is normal, is to load the PAS files,
Today, I studied the syntax of DELPHI, a little thinking now about
Just want to ask a question, a data type in Delphi TDTIME, which should be in the corresponding VC?

CodePudding user response:

references 9 f x76377 response:
this is a fully functional, because he has engineering program, also generates a an.exe file, function is normal, is to load the PAS files,
Today, I studied the syntax of DELPHI, a little thinking now about
Just want to ask a question, a data type in Delphi TDTIME, which should be in the corresponding VC?

What you said should be a TDateTime?
TDateTime is Double, double-precision floating-point, have to say that is a Double
 TDateTime=type Double; 

But Delphi provides a series of functions of this type, this is not the existence of the corresponding in vc + +,

CodePudding user response:

Title:=MapHeader. Title + FormatDateTime (' yy - mm - dd, MapHeader UpdateDate);
He defines TDDATETIME, here only a
Seems to be formatted this string for the title variable, is so understand?

CodePudding user response:


TMapHeader=the packed record/52/legend map data head structure
Width: word;//2
Height: the word;//2
Title: array [16] 1.. of char;//title 16
UpdateDate: TDateTime;//8
Reserved: array [0.. 23] of char;//keep
end;

CodePudding user response:

The
refer to 12 floor x76377 reply:
TMapHeader=the packed record/52/legend map data head structure
Width: word;//2
Height: the word;//2
Title: array [16] 1.. of char;//title 16
UpdateDate: TDateTime;//8
Reserved: array [0.. 23] of char;//keep
end;


Is that the legend because of written in Delphi, so he is the type of data format based on Delphi written, you this is the first of the map format, UpdateDate you can use a double instead of in vc + +, but want to parse out of date, in addition to write code to handle,

CodePudding user response:

Format, originally is system time format is of type DOUBLE
  • Related