News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Re: May 20, update.

Started by TouEnMasm, July 02, 2020, 12:35:13 AM

Previous topic - Next topic

TouEnMasm

Quote
No, that's easy to do, what I had in mind was your own includes for win64 would be useful to the folks who want to use UASM.
Here,I am a little lost.
I have re-compiled my IDE (32) with my headers and with UASM without a problem.
For 64 bits ,I have made further little prog using UASM and my headers without a problem.

With my headers,to use UASM ,You need to download the package and include the SDK64.inc ,That's all.
Where is the problem ?
Fa is a musical note to play with CL

TouEnMasm


To be more clear,here is a sample using my headers http://luce.yves.pagesperso-orange.fr/header.htm
I have re-took the messagebox 64 bits provided by UASM and added a messagebox using the headers
As i say,you add "include sdk64.inc" and all is done.
You can put in comment the useless things (externdef ...)
ML64 is like a dinosaure if we compare it with UASM.
What is simple to use,must stay simple.
Fa is a musical note to play with CL

hutch--

 :biggrin:
Quote
ML64 is like a dinosaure if we compare it with UASM.
What is simple to use,must stay simple.
Sure is, that's why I use it, clean, simple and reliable.

TouEnMasm


in 64 bits
The new crt need to add some defines.
The ucrt and msvcrt lib must be include

the EXTRN   __imp__i64toa:PROC is in use instead of _i64toa
_i64toa equ <__imp__i64toa> create a symbol redifinition with _i64toa PROTO cproto :QWORD ,:XMASM ,:DWORD
any idea  to contnue using the invoke ?

Fa is a musical note to play with CL

hutch--

In MASM I use the following.

externdef __imp__i64toa:PPROC
vc__i64toa equ <__imp__i64toa>

Unless you use a consistent prefix, you get naming conflicts. The above works perfectly.

TouEnMasm


The msvcrt.inc(64) work ,it's good
It use the original msvcrt.dll,It's good
It allow  functions to have any number of arguments,it's no good.
Is there a way to use a dynamic load of the functions ?.

Fa is a musical note to play with CL

TouEnMasm


  and now the simple way to use the new CRT with UASM and the translated SDK.
You need only the two crt libraries who allow you to link statically with the New CRT and the OPTION PROC:NONE.
THAT'S ALL
The sample convert 500h in radix(base) 10
As you use the translated SDK,you are prompted in case of syntax errors
Fa is a musical note to play with CL