Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - avcaballero

Pages: [1]
Sol_Asm / Some questions
« on: July 12, 2016, 09:15:05 AM »
Hello, I have playing a bit with sol-asm. I have tried to create without success a dib section, maybe I did something wrong. I attach the source if anyone may help.

Besides, there are some other things I found:

* Compiler doesn't allow to initialize a structure variable with a negative number (it says it is too big). In this case miDIBInfo.biHeight = -cdYSize

* Is there a way to get the size of a structure?

* When you use a structure variable you need first to get its location in ESI. The solasm struc reminds me a lot to nasm structs. There, we can use [stvar + stName.Field], so you can save the "mov esi, stvar"

*  Though it can be done with external links, it would be good to compile resources, as icons, etc.

I liked solasm, thank you.

Pages: [1]