• Welcome to Dark Bit Factory & Gravity.
 

Using Crinkler with MASM32

Started by energy, August 14, 2009

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

energy

Hi!
Does anybody have an example, how to use Crinkler with Masm32??

Thanx in Advance...
eNeRGy
coding: jwasm,masm
hobby: www.scd2003.de

Rbz

#1
Here one example for you, make sure to add a correct path /LIBPATH: for make.bat file.
Challenge Trophies Won:

Jim

OK, so you'd be wanting to call crinkler without integration in Visual Studio?
Does this post help?
http://www.dbfinteractive.com/forum/index.php/topic,2110.0.html

Jim
Challenge Trophies Won:

energy

will test....
Thanx my friends!!!
:P
coding: jwasm,masm
hobby: www.scd2003.de

rain_storm

Once you've got it up and running this thread might be of interest to you :

http://www.dbfinteractive.com/forum/index.php/topic,3149.0.html

Challenge Trophies Won:

energy

Thanx rainstorm...
will have a big test this evening in case of a wedding last weekend...
Im curious to test...
Thanx to all   :goodpost:
eNeRGy
coding: jwasm,masm
hobby: www.scd2003.de

energy

Perhaps im a bit stupid,
i got RbRaz test working by linking with SDK Libs.
But here with my conversion of 4klangs Software Synthesizer for 4Ks
i didnt get it to work...
Files attached!

If anybody can try....
Thanx in Advance...
coding: jwasm,masm
hobby: www.scd2003.de

rain_storm

No problem just unpack 4Klang_SoftSynth to the root directory of your C drive
Now go to C:\4Klang_SoftSynth and create a text file call it whatever you want
Open that text file and type in the following

CD C:4Klang_SoftSynth
"C:\masm32\bin\ml.exe" /c /coff /Cp 4Klang_SoftSynth.asm
"C:\crinkler\crinkler.exe" /subsystem:windows /entry:start /libpath:"C:\masm32\lib" kernel32.lib user32.lib winmm.lib 4Klang_SoftSynth.obj 4Klang\4Klang.obj /OUT:4Klang_SoftSynth_crinkled.exe

and save it as "whatever.bat"
run the bat file

I assume that you have crinkler.exe at this location "C:\crinkler\crinkler.exe"
I also have assumed that you have installed masm32 to the default location. It should work as is

Challenge Trophies Won:

energy

Hi Rain_storm.
That what i tried.
the exe will be generated with 2.2k  but if i start it, all it does is running in memory but nothing else more and i had to shut down it
handy...
Did yu tried it on yur system? is it running?


coding: jwasm,masm
hobby: www.scd2003.de

Rbz

#9
@energy/rain_storm: I've compiled it with same command line as Rain_storm, except for crinkler libpath which should be your msvc library path (you can't use masm libs), and works fine for me, file attached here.



Challenge Trophies Won:

energy

Yes RBraz works fine for me too!
:P
Im at moment a bit confused cause i linked with MS SDK libs and crinkler 1.1, not MASM libs.
What Version of MSVC yu have installed?
Thanx for yur help
coding: jwasm,masm
hobby: www.scd2003.de

energy

Problem solved ...
downloaded newest WSDK Server 2008
Thanx.....  :-*
coding: jwasm,masm
hobby: www.scd2003.de

ferris

http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

energy

coding: jwasm,masm
hobby: www.scd2003.de

rain_storm

Quote from: energy on August 20, 2009
Hi Rain_storm.
That what i tried.
the exe will be generated with 2.2k  but if i start it, all it does is running in memory but nothing else more and i had to shut down it
handy...
Did yu tried it on yur system? is it running?

Yes it compiled same as you say but I assumed that it was just a framework, a blank proggy that you can do whatever with. Like with the GL frameworks.

Challenge Trophies Won: