apx_31088
asked on
C++ Builder 6 --> Linking to Assembly .OBJ Files
How to use a C++ Builder 6 application to access data items defined in x86 assembly language files?
The source code to the .OBJ files are available, as are the .OBJ files themselves.
The ILINK32 linker is available.
When viewing the C++ Builder 6 project's folder, there is an .OBJ file with the same name as the project.
How to use ILINK to link the C++ Builder 6 .OBJ and the assembly language .OBJ files?
Does a Module Definition File (or anything else) need to be used to define code and data segments during the linking process?
What are examples of data item definitions (on both the C++ and assembly sides) that allow the C++ project and the assembly files to exchange data?
I haven't found the information for all this.
The source code to the .OBJ files are available, as are the .OBJ files themselves.
The ILINK32 linker is available.
When viewing the C++ Builder 6 project's folder, there is an .OBJ file with the same name as the project.
How to use ILINK to link the C++ Builder 6 .OBJ and the assembly language .OBJ files?
Does a Module Definition File (or anything else) need to be used to define code and data segments during the linking process?
What are examples of data item definitions (on both the C++ and assembly sides) that allow the C++ project and the assembly files to exchange data?
I haven't found the information for all this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A very complete tutorial on this subject is at http://www2.arnes.si/~ssdudzin/
It isn't specific to Borland Builder C++ but the examples can be adapted to it.
Jose