News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Full SDK 10.0 translate for 64 and 32 bits

Started by TouEnMasm, August 11, 2012, 10:04:25 PM

Previous topic - Next topic

Gunther

Hi ToutEnMasm,

thank you for that contribution. Well done.  :t

Gunther
You have to know the facts before you can distort them.

Siekmanski

Creative coders use backward thinking techniques as a strategy.

TouEnMasm

Corrected a big mistake in the first post for the 8.1 version
Three files are named     windows... ,I rename them in windows_ _ _.h et .sdk
The new package give the new features of the translator (conditionnal prototypes and ++).
Tested with JWasm v2.12pre, Nov 27 2013,
Fa is a musical note to play with CL

Gunther

Hi ToutEnMasm,

Quote from: ToutEnMasm on October 03, 2014, 04:54:04 PM
Tested with JWasm v2.12pre, Nov 27 2013,

is that the one which Habran built?

Gunther
You have to know the facts before you can distort them.

TouEnMasm


It isn't ,but if you can made a try,put the result here.
If you find corrections to do,feel free to post them here.

Fa is a musical note to play with CL

TouEnMasm


After a certain number of tests,the translated sdk 8.1 replace the 7.1.
Duplicate name,incompatible names .. have been corrected on the more current files.
The Winnt have been replace by one translated with the 8.3 version of the translator.
Winnt use the full set of alignment allowed (BYTE to QWORD) and only the last version of the translator do it well.
Reload the sdkrc8.1 with the crt headers,they are needed

http://masm32.com/board/index.php?topic=563.msg4563#msg4563   
Fa is a musical note to play with CL

TouEnMasm


corrected the wingdi ( #define   (DWORD) ...)
added coinvoke macro and "_APISET_MMISC_VER equ 99h ;not 8.1" in translate.inc
Fa is a musical note to play with CL

TouEnMasm


NEW
The zip in the first post give a full sdk translate who allow to build 64 and 32 bits prog.
+++++ More typedef
              Typedef are used in the header where they are declared.
              Some typedef get a general usage when they are in the  COMMONTYPEDEF
              To extend there use , modify the COMMONTYPEDEF section in egales.txt
+++++ callback (more easily usable)
Fa is a musical note to play with CL

habran

Hi ToutEnMasm :biggrin:
I downloaded and tried to run cpusys.exe and got this message from my machine:
Quote
Windows protected your PC
Windows SmartScreen prevented an Unrecognized app from starting.
Running this app might put your PC at risk
Cod-Father

TouEnMasm

It's windows 8.1 who claim he want signed prog (signed with payment) .
Just answer "YES" to run it .
There is no virus,perhaps a rebuild of it can stop this ask.
The sdk 32 and 64 have constants switchs for windows 8.1,you can skip this step if you have it


Later:
I have put a cpusys_build8.1.zip  on the first post,perhaps he ask no question.
Fa is a musical note to play with CL

habran

Full package with crt 2013 is a not link :icon_eek:
the link that you created for info leads to some page which shows this:
Quote
Page introuvable
Vous venez d'être redirigé vers une page d'erreur.
L'adresse URL que vous avez saisie ou le lien que vous avez cliqué sont erronés.

Vous pouvez poursuivre votre navigation en lançant une nouvelle recherche:

are you kidding us :dazzled:
Cod-Father

TouEnMasm

#26
Hello,
Not a joke,but surely a mistake,corrected:
Full package with crt 2013
see first post for correct link,this one change at each update
Fa is a musical note to play with CL

habran

Hi ToutEnMasm,
that's better :biggrin:
Now, your info about usage is pretty confusing.
where do you put SDK?
can you give an example of usage for Windows 8.1
show as a simple code with the overhead
post sdk64.inc whichyou use for Windows 8.1
Cod-Father

TouEnMasm


Quote
where do you put SDK?
You put it where you want,assuming you put it in MyFullPath,made a batch
Here jwasm is put in further  VC\--\--\bin directory   (further for 32 and 64)
Quote
   @echo off
   CLS
        :call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
   call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\vcvars64.bat"
        SET INCLUDE= MyFullPath\sdkrc81\um;MyFullPath\sdkrc81\shared;MyFullPath\sdkrc81\VC
       ............................
next you can use
Quote
       include sdk64.inc or sdk32.inc
For the little history,sdk??.inc is in the sdkrc81\shared directory  with translate??.inc
I will add samples of  64 bits in the first post as soon as possible.


Fa is a musical note to play with CL

Siekmanski

Creative coders use backward thinking techniques as a strategy.