I had build this project for personal use,but I think that it will be applicative for others.
Therefor,I upload this with source code.
By a small modification,you can use this as SongsCollection.
Download this from:
http://www.manoscoder.gr/mbbs/category-view.asp
Manos.
OK, I assembled Frame.asm. It compiles OK but it doesn't work. There is no menu bar
Robert,
From menu File press New.
Then,menu bar will change and appears in menu the 'Wiew'.
Press View and then press Main Form.
Regards,
Manos.
Quote from: Manos on December 31, 2004, 08:39:55 AM
Robert,
From menu File press New.
Then,menu bar will change and appears in menu the 'Wiew'.
Press View and then press Main Form.
Regards,
Manos.
Yes, that is exactly how it works if you run the already included .exe file. However, I reassembled the application using Frame.asm as the main source file. It assembled and linked without any problems but when I run the new .exe file the window appears just as it does in the included .exe file but it is missing the menu bar. There are place-setters for the menu items but they are missing the text and do not have any functionality. Below is link to the .exe file so you can see what I am talking about
http://www.futureedge.com/Frame_asm/Frame.exe
Robert,
You are right.
I 'll try to fix the problem.
Thank you,
Manos.
Robert,
Unzip the attach file,add in the project folder and try again.
Manos.
[attachment deleted by admin]
Didn't help, same problem. Maybe it's the way I am assembling it. Since there was no build file attached I simply used the assemble/link feature of QEditor. It assembles clean that's for sure.
Robert,
Because you use QEditor the problem is in name of .rc file.
Change the name from ColectRes.rc to rsrc.rc
Try the attach file.
[attachment deleted by admin]
OK, that didn't work either. I am just too new at this Win32 assembly stuff to know right from wrong but I am beginning to think that there is no way to assemble the project using QEditor's 'Assemble and Link' feature. I think it requires a build.bat file which has that stuff in it about including resource files. I have seen something like that but have no idea how to put one together myself.
Hi Robert,
Why not try RadASM, it is a much more powerful RAD system. The dialog editor is top notch and you will find the wealth of plugins and tools designed specifically for it make coding much faster.
My source code is OK.
I builded this work with two differnts IDEs without problem.
For Donkey:
Have you any problem when build this code ?
Regards,
Manos.
Hi Manos,
I did not try to build it, it is in MASM and though I have a copy of MASM somewhere it is no longer installed on my system. Converting it to GoAsm was an option but I have not looked into it too closely. I am afraid I just don't have the time I used to to look at other's projects so it takes a while to get to them sometimes. I will take the time to re-install MASM once I reformat later this month.
The problem seems to be in .rc file
Robert,
If you use QEditor,
compile rsrc.rc,then assemble Frame.asm and then link.
Or select build.
Manos.
Quote from: Manos on January 01, 2005, 10:22:54 PM
The problem seems to be in .rc file
Robert,
If you use QEditor,
compile rsrc.rc,then assemble Frame.asm and then link.
Or select build.
Manos.
OK, I assembled rsrc.rc first. Then I opened up 'Frame.asm' and tried to build it with QEditor. But now, instead of QEditor's 'Assemble and Link' doing anything it just sits there waiting for me to enter something which I have no idea what. I can assemble/link other projects without any problems but for some reason it wants me to input something for this project. :(
Robert,
Copy the folder BooksCollection and paste this in folder masm32.
Then open QEditor from masm32 folder,open Frame.asm and then
from menu Project press ' Compile Resource File ',then press ' Assemble Asm File ',
then press Link Obj file.
Or press Build All.
Manos.
Robert, Manos,
I will take a look at this problem. The solution is usually something very simple. I will get back to you all just as soon as I can.
Robert,
Please be patient with Manos, he wants to help but there is a language issue. He has asked me for help and here I am.
Paul
Your last post. It works. Sorry about not replying back......I did reply but I clicked on 'Preview' then forgot to click on 'Post'
Thanks alot. Manos, I appreciate all your efforts and the way you said I followed it 'exactly' and it is good.
I just downloaded the original file, renamed the resource file to RSRC.RC, added the include and lib paths in frame.inc and it builds and runs fine.
Its just that Manos did not build the original in MASM32 format so it would not build without a few simple modifications.
Thanks guys,
Since you have it working there is no point in my posting my copy. I like it when the solutions are nice and easy.
Goodnight all.
Paul