News:

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

Main Menu

Recent posts

#41
The Campus / invoking an offset procedure
Last post by LordAdef - January 14, 2025, 04:19:06 AM
Hi guys,

I've got a struct, and I saved a proc offset in order to call it:
mov foo.init, offset blablabla

All is good and I can call the proc:
call foo.init

But I want to use invoke and send values. Prototyping the proc doesn't help:
invoke foo.init, 12, 34, 23

Any ideas?
Cheers
Alex

ps: I re-introduced myself in the welcome forum
#42
Miscellaneous Projects / Re: ScratchPad
Last post by HSE - January 14, 2025, 03:08:26 AM
Quote from: jimg on January 14, 2025, 12:54:14 AMWhat kind of communication should there be?

I'm using almost same Hutch's Simple inter application communication with RegisterWindowMessage and HWND_BROADCAST. Very easy.

LookingFor is an example.

#43
Miscellaneous Projects / Re: ScratchPad
Last post by jimg - January 14, 2025, 12:54:14 AM
True.  I never considered communications between instances.  What kind of communication should there be?
#44
The Campus / Re: Problem with .ico
Last post by HSE - January 14, 2025, 12:03:05 AM
Hi Villuy,

Quote from: Villuy on January 13, 2025, 07:04:11 PMMASM gives an error:

Look like RC.exe error. What version you have? (and what ml.exe?)  :biggrin: That was.

Quote from: jj2007 on January 13, 2025, 09:18:35 PMThey look nice, no doubt, but they are in *.png format...

Very interesting, I don't know that. New .ico versions can be .png inside, with a little diferent file header  :thumbsup:

HSE




#45
The Campus / Re: Problem with .ico
Last post by Villuy - January 13, 2025, 11:47:26 PM
I have bypassed problem by using rc.exe from Microsoft SDK.
#46
Miscellaneous Projects / Re: ScratchPad
Last post by HSE - January 13, 2025, 11:36:53 PM
Hi Jim!

Quote from: jimg on January 13, 2025, 05:24:18 PMLet me know if still confusing please.

:thumbsup: New windows are not new program instances, and you can communicate between them. But there is no communication between instances.

HSE
#47
The Campus / Re: Problem with .ico
Last post by Villuy - January 13, 2025, 10:00:10 PM
Quote from: jj2007 on January 13, 2025, 09:18:35 PMThey look nice, no doubt, but they are in *.png format...

There are two buttons: | PNG | Other |

This author has whole gallery of masterpieces, yes:

https://www.iconfinder.com/iconsets/packyuuyake
#48
The Campus / Re: Problem with .ico
Last post by jj2007 - January 13, 2025, 09:18:35 PM
They look nice, no doubt, but they are in *.png format...
#49
The Campus / Problem with .ico
Last post by Villuy - January 13, 2025, 07:04:11 PM
I try to add icon to .res file:

https://www.iconfinder.com/icons/17558/document_icon

MASM gives an error:

error RC2176: old DIB in MyIcon.ico; pass it through SDKPAINT

Some files are ok, but most are like this. Apparently MASM not understands modern .ico file formats.
#50
Miscellaneous Projects / Re: ScratchPad
Last post by jimg - January 13, 2025, 05:24:18 PM
Updated in first post.  Deleted leftover test code.  Fixed Find so enter immediately searches.

HSE-  Let me know if still confusing please.