digitalmars.D.learn - how to create and compile reesources for dmd 64
- Cassio Butrico (7/7) Sep 19 2014 Hello everyone,
- K.K. (6/13) Sep 20 2014 Somebody correct me if I'm wrong, but I'm pretty sure dmd doesn't
- Cassio Butrico (5/20) Sep 20 2014 DMD compila sim para 64 b.
- Cassio Butrico (6/24) Sep 20 2014 DMD compiles yes to 64 b.
- Kagamin (1/1) Sep 21 2014 Can depend on how you compile resources.
- Cassio Butrico (3/4) Sep 21 2014 true, but I do not know what should I do to compile the resource
- Kagamin (3/3) Sep 21 2014 MinGW resource compiler can compile to both res and coff. For ms
- Cassio Butrico (4/7) Sep 21 2014 how to compile in mingw-w64 resource compiler?
- ketmar via Digitalmars-d-learn (14/15) Sep 21 2014 On Sun, 21 Sep 2014 20:13:41 +0000
- Cassio Butrico (4/22) Sep 21 2014 ok I'll try doing what you said,
- Cassio Butrico (8/36) Sep 21 2014 The problem is how to convert COFF r.res in r.res OMF.
- ketmar via Digitalmars-d-learn (5/6) Sep 21 2014 On Sun, 21 Sep 2014 23:46:05 +0000
- Cassio Butrico (8/15) Sep 21 2014 right, .res is not COFF,
- Cassio Butrico (3/19) Sep 21 2014 Does anyone managed to compile a one resource on 64 bit windows.
- Kagamin (2/2) Sep 22 2014 You probably compile resource to compiled resource format. If you
- kiran kumari (4/11) Sep 24 2014 see more example
Hello everyone, When I create and compile resouces to 32 works perfect, but when I try to compilat of 64 error LNK1136: invalid or corrupt file. I do not know if it has to do with comverter COFF to OMF. can someone give me a light? Thank you for your attention.
Sep 19 2014
On Friday, 19 September 2014 at 22:20:59 UTC, Cassio Butrico wrote:Hello everyone, When I create and compile resouces to 32 works perfect, but when I try to compilat of 64 error LNK1136: invalid or corrupt file. I do not know if it has to do with comverter COFF to OMF. can someone give me a light? Thank you for your attention.Somebody correct me if I'm wrong, but I'm pretty sure dmd doesn't actually support or compile 64-bit, despite what it tries to tell you. If you really need 64bit than GDC will probably work.
Sep 20 2014
On Saturday, 20 September 2014 at 15:24:23 UTC, K.K. wrote:On Friday, 19 September 2014 at 22:20:59 UTC, Cassio Butrico wrote:DMD compila sim para 64 b. e roda perfeitamente. so não consigo compilar os resources. Obrigado por tentar me ajudado voce foi o unico que tentou.Hello everyone, When I create and compile resouces to 32 works perfect, but when I try to compilat of 64 error LNK1136: invalid or corrupt file. I do not know if it has to do with comverter COFF to OMF. can someone give me a light? Thank you for your attention.Somebody correct me if I'm wrong, but I'm pretty sure dmd doesn't actually support or compile 64-bit, despite what it tries to tell you. If you really need 64bit than GDC will probably work.
Sep 20 2014
On Saturday, 20 September 2014 at 20:33:36 UTC, Cassio Butrico wrote:On Saturday, 20 September 2014 at 15:24:23 UTC, K.K. wrote:DMD compiles yes to 64 b. and runs perfectly. so I can not compile the resources. Thanks for trying helping me you're the one who tried.On Friday, 19 September 2014 at 22:20:59 UTC, Cassio Butrico wrote:Hello everyone, When I create and compile resouces to 32 works perfect, but when I try to compilat of 64 error LNK1136: invalid or corrupt file. I do not know if it has to do with comverter COFF to OMF. can someone give me a light? Thank you for your attention.Somebody correct me if I'm wrong, but I'm pretty sure dmd doesn't actually support or compile 64-bit, despite what it tries to tell you. If you really need 64bit than GDC will probably work.
Sep 20 2014
On Sunday, 21 September 2014 at 10:56:38 UTC, Kagamin wrote:Can depend on how you compile resources.true, but I do not know what should I do to compile the resource so that it is accepted.
Sep 21 2014
MinGW resource compiler can compile to both res and coff. For ms AFAIK (didn't use) the compiled resource should be additionally converted to coff.
Sep 21 2014
On Sunday, 21 September 2014 at 19:45:58 UTC, Kagamin wrote:MinGW resource compiler can compile to both res and coff. For ms AFAIK (didn't use) the compiled resource should be additionally converted to coff.how to compile in mingw-w64 resource compiler? never used mingw :( instalai the minw64 today.
Sep 21 2014
On Sun, 21 Sep 2014 20:13:41 +0000 Cassio Butrico via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> wrote:how to compile in mingw-w64 resource compiler?it tooks the standard text .rc files and produces .res of COFF. smth like: =3D=3D=3D r.rc =3D=3D=3D #include "windows.h" 1024 ICON "icon.ico" then invoke windres from mingw like: windres.exe -i r.rc -o r.res and it will produre .res file that can be linked with ms linker (if i remember it right). take it all with a grain of salt though, i don't have windows and ms tools to check it.
Sep 21 2014
On Sunday, 21 September 2014 at 21:41:41 UTC, ketmar via Digitalmars-d-learn wrote:On Sun, 21 Sep 2014 20:13:41 +0000 Cassio Butrico via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> wrote:ok I'll try doing what you said, Thanks for the tip.how to compile in mingw-w64 resource compiler?it tooks the standard text .rc files and produces .res of COFF. smth like: === r.rc === #include "windows.h" 1024 ICON "icon.ico" then invoke windres from mingw like: windres.exe -i r.rc -o r.res and it will produre .res file that can be linked with ms linker (if i remember it right). take it all with a grain of salt though, i don't have windows and ms tools to check it.
Sep 21 2014
On Sunday, 21 September 2014 at 22:07:47 UTC, Cassio Butrico wrote:On Sunday, 21 September 2014 at 21:41:41 UTC, ketmar via Digitalmars-d-learn wrote:The problem is how to convert COFF r.res in r.res OMF. do not know if there is a way that I found on the net did not help me. It is a little hard not having someone with the same operating systema to help me. But anyway Thanks, learned a few new things today.On Sun, 21 Sep 2014 20:13:41 +0000 Cassio Butrico via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> wrote:ok I'll try doing what you said, Thanks for the tip.how to compile in mingw-w64 resource compiler?it tooks the standard text .rc files and produces .res of COFF. smth like: === r.rc === #include "windows.h" 1024 ICON "icon.ico" then invoke windres from mingw like: windres.exe -i r.rc -o r.res and it will produre .res file that can be linked with ms linker (if i remember it right). take it all with a grain of salt though, i don't have windows and ms tools to check it.
Sep 21 2014
On Sun, 21 Sep 2014 23:46:05 +0000 Cassio Butrico via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> wrote:The problem is how to convert COFF r.res in r.res OMF.resulting '.res' is not COFF, it's "windows resource file format". some linkers supports it directly, but i'm not sure about VS linker.
Sep 21 2014
On Sunday, 21 September 2014 at 23:53:34 UTC, ketmar via Digitalmars-d-learn wrote:On Sun, 21 Sep 2014 23:46:05 +0000 Cassio Butrico via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> wrote:right, .res is not COFF, when compiling in dmd. dmd r.res test.d works but dmd -m64 r.res test.d of error in r.res and that's it.The problem is how to convert COFF r.res in r.res OMF.resulting '.res' is not COFF, it's "windows resource file format". some linkers supports it directly, but i'm not sure about VS linker.
Sep 21 2014
On Monday, 22 September 2014 at 00:12:11 UTC, Cassio Butrico wrote:On Sunday, 21 September 2014 at 23:53:34 UTC, ketmar via Digitalmars-d-learn wrote:Does anyone managed to compile a one resource on 64 bit windows.On Sun, 21 Sep 2014 23:46:05 +0000 Cassio Butrico via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> wrote:right, .res is not COFF, when compiling in dmd. dmd r.res test.d works but dmd -m64 r.res test.d of error in r.res and that's it.The problem is how to convert COFF r.res in r.res OMF.resulting '.res' is not COFF, it's "windows resource file format". some linkers supports it directly, but i'm not sure about VS linker.
Sep 21 2014
You probably compile resource to compiled resource format. If you compile it to coff, linker should accept it.
Sep 22 2014
`On Friday, 19 September 2014 at 22:20:59 UTC, Cassio Butrico wrote:Hello everyone, When I create and compile resouces to 32 works perfect, but when I try to compilat of 64 error LNK1136: invalid or corrupt file. I do not know if it has to do with comverter COFF to OMF. can someone give me a light? Thank you for your attention.see more example http://techgurulab.com/course/java-quiz-online/
Sep 24 2014