Recent

Author Topic: How do I get version information into my application??  (Read 11597 times)

starbuck999

  • Newbie
  • Posts: 4
How do I get version information into my application??
« on: October 19, 2007, 07:24:33 am »
This is driving me nuts.  I have been searching for two hours on this topic.  The worst part is I figured it out about 3 or 4 months ago and now can't remember.

Here's what I've tried to do:

1.)  I used lazvisual to put in icon and version infomation.   It created a *.rc file.
2.)  I compiled with lazarus and my version information did not change.
3.) I searched for 2 hours
4.) I came up with a couple posts that said to use windres in the terminal.  So I did the following:
Code: [Select]
windres -i pGerman.rc -o pGerman.res
and received the following errors:
Code: [Select]
'gcc' is not recognized as an internal or external command, operable program or batch file.
Windres: warning: preprocessor failed
Windres: no resouces

5.) I went back to lazvisual and found an "LResources" tab.  it created a *.lrs file.  I googled that and found nothing helpful.  What can I do with that? anything?

If somebody could please point out what I'm doing wrong I'd really appreciate it.  I would like to have version information and an application icon for my application.

thanks,

antonio

  • Hero Member
  • *****
  • Posts: 605
RE: How do I get version information into my application??
« Reply #1 on: October 19, 2007, 03:49:12 pm »
LazVisual has no support. I lost contact with developers in Brazil.

LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat
RE: How do I get version information into my application??
« Reply #2 on: October 19, 2007, 04:59:23 pm »
You said the word "Terminal" so, does this mean its on Linux? If its on Windows you can try with a program I made. Otherwse try to putt GCC and CPP (?) in the same folder as the resource file. This files can be fount in :
lazarus>fpc>2.0.4>i385-win32>bin
In windows you can see the version doing like this:
right click on the exe >properties >details

antonio

  • Hero Member
  • *****
  • Posts: 605
Re: RE: How do I get version information into my application
« Reply #3 on: October 19, 2007, 05:16:32 pm »
Quote from: "BPsoftware"
try to put GCC and CPP (?) in the same folder as the resource file.


And WINDRES. This should solve the error message about GCC.

starbuck999

  • Newbie
  • Posts: 4
How do I get version information into my application??
« Reply #4 on: October 19, 2007, 08:26:17 pm »
@BPsoftware:  I said terminal out of habit :oops: -- I'm actually doing this on a windows box, but normally spend time in linux.

@antonio:  Thanks!  I had that much right already :D

Wow, that worked embarrassingly well, once I had the gcc and cpp executables in the same directory.

Thanks for all the help.  Now that it's morning and I'm not tired, I probably could've thought to do a search for gcc and cpp and see what came up.  That probably would've led to the solution, but it was faster to have help from you guys.  Just goes to show that one shouldn't work when they're too tired!  :wink:

BPSoftware -- What's the Windows program you made?  I'd like to try it.

Thanks again.

antonio

  • Hero Member
  • *****
  • Posts: 605
How do I get version information into my application??
« Reply #5 on: October 19, 2007, 08:49:36 pm »
Quote from: "starbuck999"


BPSoftware -- What's the Windows program you made?  I'd like to try it.


The link is: http://freewebs.com/bpsoftware/Wi%28n%29Xtap/Wi%28n%29XtaP%5F0%5F5%5F0/BPS-Wi%28n%29XtaP_0_5_0.rar

 

TinyPortal © 2005-2018