News:

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

Main Menu

JSON Parser

Started by iguananed, June 20, 2018, 06:43:43 AM

Previous topic - Next topic

hutch--

Why not just replace the icon ?

2B||!2B

fearless thanks. Sorry for the late reply

I just use the default RC that comes with the MASM32.

Microsoft (R) Windows (R) Resource Compiler, Version 5.00.1823.1 - Build 1823
Copyright (C) Microsoft Corp. 1985-1998. All rights reserved.


But i changed to use VC++ 2008 resource compiler and it compiled successfully. Very good example  :thup:

hutch--
Sorry, i have already changed icon and it did not work. I think because icon is new and big one ~360kb.
Later i learned that smaller icons with basic colors compile fine with MASM32 default resource compiler.

hutch--

Try the LoadResource API, it handles larger images.

HSE

Hi Fearless!

Playing a little with JSON I noted a little problem in cjsontree.

In principle is valid :{
  "obj1":{"value1":"x", "value2":"y"},
  "obj1":{"value1":"x2", "value2":"y2"},
  "obj1":{"value1":"x3", "value2":"y3"}
}

wich apparently is better to write:{
  "obj1":[
  { etc},
  { etc},
  { etc}
]
}


cjsontree correctly take as valid first format, but there is a problem in the tree:ffear1.json
|- value1:x
|- value2:y
+ obj1
+ obj1


Regards, HSE
Equations in Assembly: SmplMath