Author Topic: ObjAsm C.1.0 release  (Read 863 times)

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 392
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
ObjAsm C.1.0 release
« on: August 15, 2019, 06:57:19 PM »
Hi
I've finished the the ObjAsm C.1.0 release version adding some translated projects and a few new projects.

Homepage link: http://objasm.x10host.com/
Download link: http://objasm.x10host.com/DwnFiles/Ver_C.1/ObjAsm_C.1-WebInstaller.exe

I spend some time writing a WebInstaller using NSIS. In its current version (3.04) it is a very powerful tool. Although not a new tool, it offers all the features you need for a modern installer. To reduce the download size, I tested several compressing tools. The best for this purpose is by far 7zip, which I used for the installer.

Please test it and feedback is as always appreciated.  :thumbsup:

Regards, Biterider




fearless

  • Member
  • ***
  • Posts: 469
    • LetTheLightIn
Re: ObjAsm C.1.0 release
« Reply #1 on: August 15, 2019, 10:02:04 PM »
Looks like it works fine. It does ask about rebooting computer at the end of installation though.
fearless

CM690II Case, HX1000 PSU, Asus Z97, Intel i7-4790K, Seidon 120v Cooler, 16GB DDR3, MSI GTX 980TI

My Github  Twitter

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 392
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: ObjAsm C.1.0 release
« Reply #2 on: August 16, 2019, 12:23:31 AM »
Hi fearless
Thanks for testing!
This is the intended behavior to ensure that the new environment variables are properly propagated.  :icon_idea:

Biterider

LiaoMi

  • Member
  • ****
  • Posts: 593
Re: ObjAsm C.1.0 release
« Reply #3 on: August 16, 2019, 02:41:26 AM »
Hi fearless
Thanks for testing!
This is the intended behavior to ensure that the new environment variables are properly propagated.  :icon_idea:

Biterider

Hi Biterider,

I have problems with paths ...
MSVS_PATH=%programfiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\Hostx64\x64
RADASM_PATH=D:\RadAsmXXX

I do not have these directories, it would be cool if during installation, you could specify the path to these directories.

The web installer is very convenient  :thumbsup:

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 392
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: ObjAsm C.1.0 release
« Reply #4 on: August 16, 2019, 04:02:40 PM »
Hi LiaoMi
Thanks for your feedback.  :thumbsup:
I documented what to do in the (manual) installation notes. The affected files that uses these 2 paths are \ObjAsm\Build\OA_SET.cmd and \ObjAsm\Code\ObjMem\InstallObjMem.cmd. The last one is only relevant if you use RadASM. MSVS_PATH on the other side is important to locate the link and lib utilities.

I'll try to put some input boxes to ask for these paths during installation. In the meantime, please adjust them manually.  :rolleyes:

Regards, Biterider

HSE

  • Member
  • *****
  • Posts: 1148
  • <AMD>< 7-32>
Re: ObjAsm C.1.0 release
« Reply #5 on: August 17, 2019, 01:27:23 AM »
Fantastic the installer  :thumbsup:

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 392
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: ObjAsm C.1.0 release
« Reply #6 on: August 18, 2019, 01:13:10 AM »
Hi HSE
I think it was you idea to build a Web Installer  :thumbsup:

Biterider

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 392
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: ObjAsm C.1.0 release
« Reply #7 on: August 18, 2019, 01:16:16 AM »
Hi
I took LiaoMi's idea and added a custom page to setup the environment variables.  :cool:
I polished a bit the code and uploaded a new version of the installer.

The link is the same as above.

Regards, Biterider

HSE

  • Member
  • *****
  • Posts: 1148
  • <AMD>< 7-32>
Re: ObjAsm C.1.0 release
« Reply #8 on: August 18, 2019, 03:13:19 AM »
I think it was you idea to build a Web Installer

LiaoMi's idea! (but after download the ten pieces I agree totally  :biggrin:)

LiaoMi

  • Member
  • ****
  • Posts: 593
Re: ObjAsm C.1.0 release
« Reply #9 on: August 31, 2019, 09:45:40 PM »
Hi Biterider,

all files have a modified creation date, October 2017, in the archives this date is also visible, what is the reason for this change?  :rolleyes:

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 392
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: ObjAsm C.1.0 release
« Reply #10 on: August 31, 2019, 11:38:06 PM »
Hi LiaoMi
I normalized all timestamps for all files from this release, so it becomes easier to check what has been modified afterwards.
The new timestamp corresponds to the start of this third main release of ObjAsm.


Regards, Biterider



2B||!2B

  • Member
  • **
  • Posts: 72
Re: ObjAsm C.1.0 release
« Reply #11 on: December 01, 2019, 08:55:37 PM »
Hi Biterider,

I can not compile any of the projects with ObjASM

Code: [Select]
C:\masm32\bin\ML.EXE /c /coff /Cp /nologo /Zd /Zi /I"C:\masm32\include" "Demo02.asm"
WARNING: Legacy SysSetup argument - WINDOWS - using WIN32
User Interface: WINDOW
Binary Format:  EXE
Bitness:        32
OOP Support:    ENABLED
String Type:    WIDE (UNICODE)
Mode:           RELEASE
Demo02.asm(12) : Error A2210: Syntax error: IncludeAPIs
Inheritance path: OA_Primer
Inheritance path: OA_Primer,OA_DesLUT
Inheritance path: OA_Primer,OA_Stream
Inheritance path: OA_Primer,OA_Streamable
Inheritance path: OA_Primer,OA_Streamable,OA_WinPrimer
Inheritance path: OA_Primer,OA_Streamable,OA_WinPrimer,OA_Dialog
Inheritance path: OA_Primer,OA_Streamable,OA_WinPrimer,OA_Dialog,OA_DialogModal
Inheritance path: OA_Primer,OA_Streamable,OA_WinPrimer,OA_Dialog,OA_DialogModal,OA_DialogAbout
Inheritance path: OA_Primer,OA_Streamable,OA_WinPrimer,OA_WinApp
Inheritance path: OA_Primer,OA_Streamable,OA_WinPrimer,OA_WinApp,OA_SdiApp
Inheritance path: OA_Primer,OA_Streamable,OA_WinPrimer,OA_WinApp,OA_SdiApp,OA_DemoApp02
Demo02_Main.inc(65) : Error A2102: Symbol not defined : DialogAbout
 Demo02_Main.inc(65): Included by
  Demo02.asm(20): Main line code
Demo02_Main.inc(75) : Warning A4150: Too many arguments in macro call: New: , esi, [esi].hWnd, eax, offset szAboutText
 Demo02_Main.inc(75): Included by
  Demo02.asm(20): Main line code
Demo02_Main.inc(83) : Error A2160: INVOKE requires prototype for procedure
 Demo02_Main.inc(83): Included by
  Demo02.asm(20): Main line code
Demo02.asm(25) : Error A2210: Syntax error: ResGuard_Start
Demo02.asm(26) : Error A2102: Symbol not defined : TPL_DemoApp02
 $GetInstance32(1)[Objects.inc]: Macro called from
  MethodInvoke(89)[Objects.inc]: Macro called from
   OCall(5)[Objects.inc]: Macro called from
    Demo02.asm(26): Main line code
Demo02.asm(27) : Error A2102: Symbol not defined : TPL_DemoApp02
 $GetInstance32(1)[Objects.inc]: Macro called from
  MethodInvoke(89)[Objects.inc]: Macro called from
   OCall(5)[Objects.inc]: Macro called from
    Demo02.asm(27): Main line code
Demo02.asm(28) : Error A2102: Symbol not defined : TPL_DemoApp02
 $GetInstance32(1)[Objects.inc]: Macro called from
  MethodInvoke(89)[Objects.inc]: Macro called from
   OCall(5)[Objects.inc]: Macro called from
    Demo02.asm(28): Main line code
Demo02.asm(29) : Error A2210: Syntax error: ResGuard_Show
Demo02.asm: 33 lines, 1 passes, 366 ms, 1 warnings, 8 errors

Make error(s) occured.
Total compile time 499 ms

What wrong with it?
I am using ObjAsm C.1.0 with UASM 2.49.

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 392
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: ObjAsm C.1.0 release
« Reply #12 on: December 01, 2019, 10:03:48 PM »
Hi 2B||!2B
I notice 2 things here:

1. "C:\masm32\bin\ML.EXE /c /coff /Cp..." you are using ML , not UASM
2. "WARNING: Legacy SysSetup argument - WINDOWS - using WIN32" you are using probably one of the projects from previous versions.

I suggest to make a fresh install and verify all environment variables. Sometimes a reboot is required to load them with the new values.

Biterider

2B||!2B

  • Member
  • **
  • Posts: 72
Re: ObjAsm C.1.0 release
« Reply #13 on: December 02, 2019, 08:39:38 AM »
Hi 2B||!2B
I notice 2 things here:

1. "C:\masm32\bin\ML.EXE /c /coff /Cp..." you are using ML , not UASM
2. "WARNING: Legacy SysSetup argument - WINDOWS - using WIN32" you are using probably one of the projects from previous versions.

I suggest to make a fresh install and verify all environment variables. Sometimes a reboot is required to load them with the new values.

Biterider

Hi Bitrider,

No, the ML.exe is actually the UASM itself. I have renamed it to be that so all radasm projects use it by default.

HSE

  • Member
  • *****
  • Posts: 1148
  • <AMD>< 7-32>
Re: ObjAsm C.1.0 release
« Reply #14 on: December 02, 2019, 12:17:11 PM »
Hamlet:
There is some differences between OA32 and OAF.
Because spacename, now you must write $Obj(DialogAbout)  or OA_DialogAbout .
Now you have to make New without Init, and later OCall object Init.

Regards. HSE.