News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Distribution of a masm program

Started by gelatine1, January 29, 2016, 02:29:33 AM

Previous topic - Next topic

Siekmanski

Can you also post  your msvcrt.lib and msvcrt.inc ?
Creative coders use backward thinking techniques as a strategy.

gelatine1

I'm afraid I do not have msvcrt.lib... the .inc file was just in the masm include folder...
But I see the msvcrt.lib is being included in my file but it's really not there...
how can I include a file thats apparently not existing ?? What sorcery is this ?
i do have msvcrt.dll maybe that's it ?

jj2007

Quote from: gelatine1 on January 30, 2016, 03:30:48 AM
I'm afraid I do not have msvcrt.lib

\Masm32\lib\msvcrt.lib is part of the Masm32 package.

gelatine1

Quote from: jj2007 on January 30, 2016, 04:06:34 AM
Quote from: gelatine1 on January 30, 2016, 03:30:48 AM
I'm afraid I do not have msvcrt.lib

\Masm32\lib\msvcrt.lib is part of the Masm32 package.

I guess I'll reinstall masm then as it is really not there..

TouEnMasm

Quote
Where could i find good information on those topics (how to create them)?

resource based version control block :it is a VERSIONINFO resource,good information in this forum
manifest ,good information http://masm32.com/board/index.php?topic=1235.msg11991#msg11991
Lazy method for manifest is to let's it done by visual studio,compiling your project with it,when he is finished.
There is a tool who create them,Mt.exe.
https://msdn.microsoft.com/fr-fr/library/ms235591.aspx

Using the original msvcrt.lib is also a good soluce to avoid false alerts of antivirus
Fa is a musical note to play with CL

Vortex

Hi gelatine1,

A method to build msvcrt.lib :

\masm32\bin\polib.exe /OUT:msvcrt.lib %windir%\system32\msvcrt.dll

hutch--

As part of the installation, go to the masm32\tools\makecimp directory and run the batch file MAKEVCRT.BAT.

GoneFishing

Hi  gelatine1
Cool ! Well done .
I built your app from reply #14. Compiles and works fine !  :t
I think there's no need for installer in this case . Just unzip it for the girl you like most  ;)

HSE

Impressive! :eusa_clap:  How I can solve the cube?  :biggrin:

Apparently mouse (and menu) don't work in full screen mode, but perfectly in a window. (win7)


Equations in Assembly: SmplMath

gelatine1

Thank you all for the nice feedback :)

Right now Im looking to build the manifest according to the links provided by toutenasm (thanks!) I'm not sure what I should actually use in the xml and resource files to make it better or something..

And I got the msvcrt.lib file back. Hutch is there an essential difference between that and the method provided by vortex ?

Quote from: HSE on January 30, 2016, 07:37:31 AM
Impressive! :eusa_clap:  How I can solve the cube?  :biggrin:

Apparently mouse (and menu) don't work in full screen mode, but perfectly in a window. (win7)
Oh I have never actually tried the fullscreen mode (to be honest fullscreen modes annoy me very much :p but it was included in the first opengl tutorials so i used it..) I'll try to see if i can fix the mouse there. you could try to solve the cube by randomly doing some moves and in a finite time it will be solved :P

Siekmanski

Hi gelatine1,

It never executes the "turn,[startalpha],[endalpha]" proc
Because startalpha and endalpha are always both 255 ( at least on my windows 8.1 PC.... )

I've implemented a messagebox with the alpha values.

Used these params for glReadPixels to show colors and alpha,

GL_UNSIGNED_INT_8_8_8_8 equ 08035h ; not in your includes

invoke glReadPixels,ecx,eax,1,1,GL_RGBA,GL_UNSIGNED_INT_8_8_8_8,addr startalpha
invoke glReadPixels,ecx,eax,1,1,GL_RGBA,GL_UNSIGNED_INT_8_8_8_8,addr endalpha

It only shows the colors and alpha values, it doesn't turn.
Creative coders use backward thinking techniques as a strategy.

gelatine1

Quote from: Siekmanski on January 30, 2016, 08:26:49 PM
Hi gelatine1,

It never executes the "turn,[startalpha],[endalpha]" proc
Because startalpha and endalpha are always both 255 ( at least on my windows 8.1 PC.... )

I've implemented a messagebox with the alpha values.

Used these params for glReadPixels to show colors and alpha,

GL_UNSIGNED_INT_8_8_8_8 equ 08035h ; not in your includes

invoke glReadPixels,ecx,eax,1,1,GL_RGBA,GL_UNSIGNED_INT_8_8_8_8,addr startalpha
invoke glReadPixels,ecx,eax,1,1,GL_RGBA,GL_UNSIGNED_INT_8_8_8_8,addr endalpha

It only shows the colors and alpha values, it doesn't turn.

Alright thanks Siekmanski! I have same issue when I'm in fullscreen so I'll try to see what goes wrong there and maybe that will fix the problem on your pc too.

gelatine1

Okay in some cases the screen was created with only 16 bits per pixel so the alpha channel is ignored or not accurate enough. I changed it now and it works for me in fullscreen now. can you test if it works for you now ?

thanks

HSE

Hi Gelatine1!

Now mouse work in full screen, but don't make movements (in any mode). Only the face selected change color ( in some cases become Gray).

Regards. HSE
Equations in Assembly: SmplMath

Siekmanski

Creative coders use backward thinking techniques as a strategy.