Hello people.
I've managed to compile a Lazarus resource, test.lrs. It has cmd.exe in it (I think!), and I'm trying to make a (useless) stand-alone program that takes the cmd.exe from the resource and places it in C:\. I've tried, and failed, and the Lazarus wiki doesn't explain it very well. Could someone please supply some documented sample code that does this? Thanks in advance,
- Josh
Mailing lists / lazarus / 2010-07
Lazarus Resources (2)
5 messages · 3 people · –
- JJohn vd Waeter 2
- JJosh Lee 2
- MMattias Gaertner 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Josh, I don't know much about resources, but:
- What OS? In Win Vista or 7 you may not be allowed to write to C:\
- Is there an error message?
John
Josh Lee wrote 12 lines
Hello people.
I've managed to compile a Lazarus resource, test.lrs. It has cmd.exe in it (I think!), and I'm trying to make a (useless) stand-alone program that takes the cmd.exe from the resource and places it in C:\.
I've tried, and failed, and the Lazarus wiki doesn't explain it very well.
Could someone please supply some documented sample code that does this?
Thanks in advance,
- Josh
--
_______________________________________________
Lazarus mailing list
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
John, I run Vista.
Yes, there is error messages, I simply do not know the syntax to achieve it.
- Josh
Josh Lee wrote 5 lines
John, I run Vista.
Yes, there is error messages, I simply do not know the syntax to achieve it.
- Josh
Oh well, as you can see error messages, you can type them here?
John
Hello people. I've managed to compile a Lazarus resource, test.lrs. It has cmd.exe in it…
Hello people. I've managed to compile a Lazarus resource, test.lrs. It has cmd.exe in it (I think!), and I'm trying to make a (useless) stand-alone program that takes the cmd.exe from the resource and places it in C:\. I've tried, and failed, and the Lazarus wiki doesn't explain it very well. Could someone please supply some documented sample code that does this?
http://wiki.lazarus.freepascal.org/Lazarus_Resources#Getting_the_raw_data_of_a_lrs_resource
Mattias
