Author Topic: Hard time with iczelion's code stock win10  (Read 162 times)

kiptron

  • Regular Member
  • *
  • Posts: 7
Hard time with iczelion's code stock win10
« on: March 26, 2020, 02:53:14 AM »
  I am having a difficult time linking the examples by Iczelion. Various linker warnings/errors.
Finally got  one to compile/link O.K. but it won't show the  Bug's Bunny image.  I have a stock
Win 10 64 bit machine. If this is old news I apologize..  Thanks kiptron

jj2007

  • Member
  • *****
  • Posts: 10094
  • Assembler is fun ;-)
    • MasmBasic
Re: Hard time with iczelion's code stock win10
« Reply #1 on: March 26, 2020, 02:58:49 AM »
Welcome to the Forum, kiptron :thup:

Your problems are impossible to judge without some basic information:
- error messages
- commandline
- linker version

Vortex

  • Member
  • *****
  • Posts: 2104
Re: Hard time with iczelion's code stock win10
« Reply #2 on: March 26, 2020, 04:36:20 AM »
Hi kiptron,

Welcome to the Masm Forum.

Here is how to build the project ( Iczelion's Simple Bitmap example ) :

Code: [Select]
\masm32\bin\ml /c /coff /Cp SimpleBitmap.asm
\masm32\bin\rc SimpleBitmap.rc
\masm32\bin\link /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib SimpleBitmap.obj SimpleBitmap.res

kiptron

  • Regular Member
  • *
  • Posts: 7
Re: Hard time with iczelion's code stock win10
« Reply #3 on: March 26, 2020, 05:08:44 AM »
  Hi Vortex  Your post looks like a 32 bit build. The 64 bit version uses bin64\...  Include64\... Lib64\...  etc etc
I am working to get Iczelion's example tutorial 25 which is written with 64 bit mnemonics and compiler(ml64) and linker.
  Hope you are well in these crazy times   kiptron

Vortex

  • Member
  • *****
  • Posts: 2104
Re: Hard time with iczelion's code stock win10
« Reply #4 on: March 26, 2020, 05:14:52 AM »
Hi kiptron,

Thanks, I am doing well. Let's wish health for everyone.

You can check the topic Examples for Win64 Iczelion tutorial, here is the bitmap example :

http://masm32.com/board/index.php?topic=4190.msg44531#msg44531

HSE

  • Member
  • *****
  • Posts: 1249
  • <AMD>< 7-32>
Re: Hard time with iczelion's code stock win10
« Reply #5 on: March 26, 2020, 06:17:39 AM »
I am working to get Iczelion's example tutorial 25 which is written with 64 bit mnemonics and compiler(ml64) and linker.
Hi kiptron!

Mikl examples were developed with a diferent package, they are using originals Vasili files and other libraries. Mikl explain that somewhere in the forum.

If I remember well, the package is in https://wasm.in/

Regards. HSE.


kiptron

  • Regular Member
  • *
  • Posts: 7
Re: Hard time with iczelion's code stock win10
« Reply #6 on: March 26, 2020, 06:34:56 AM »
  Thank you HSE, Your explanation is the only one which makes sense. I wish to use the stock masm32(64) functionality
without unknown individual libraries involved. I guess I need to start from scratch and sort my way through it. A very snowy
day here in Lake Tahoe Ca.  USA   Thanks again and be well  kiptron   

Mikl__

  • Member
  • ****
  • Posts: 803
Re: Hard time with iczelion's code stock win10
« Reply #7 on: March 26, 2020, 05:04:29 PM »
Hi, kiptron!
I can probably help you. I would like to see the following files
  • asm-file
  • rc-file
  • bat-file
It is Baikal Lake
« Last Edit: March 26, 2020, 08:24:44 PM by Mikl__ »

kiptron

  • Regular Member
  • *
  • Posts: 7
Re: Hard time with iczelion's code stock win10
« Reply #8 on: March 26, 2020, 09:26:54 PM »
Hi  Mikl.  Lots of compatibility issues with that old code. Resource  file (.rc) syntax has changed.
Prologue and epilogue handled differently. ( or not at all ? ). The latest examples in the SDK are
much simpler and work fine. I will stick with those. Thank you to all who responded to my confusion.
I did not realize how old and out of date those tutorials are.   kiptron

BugCatcher

  • Member
  • **
  • Posts: 58
Re: Hard time with iczelion's code stock win10
« Reply #9 on: March 26, 2020, 10:35:22 PM »
Superman's fortress of solitude?

Mikl__

  • Member
  • ****
  • Posts: 803
Re: Hard time with iczelion's code stock win10
« Reply #10 on: March 26, 2020, 11:21:11 PM »
Hi, kiptron!
Aah! I understood! The problem is that I am Russian hacker.  I must not will see the code that is written in NSA or USSS.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7036
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Hard time with iczelion's code stock win10
« Reply #11 on: March 27, 2020, 01:00:48 AM »
Mikl__,

> I am Russian hacker.

I don't believe you, far too easy to track. To be a "Russian Hacker" you would have to work for the CIA propagating fake news.


hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Mikl__

  • Member
  • ****
  • Posts: 803
Re: Hard time with iczelion's code stock win10
« Reply #12 on: March 27, 2020, 01:29:59 AM »
hutch--,
comrade Colonel, you decoded me