Author Topic: LinkRes2Exe issue with version 0.2.3  (Read 1776 times)

0 Members and 1 Guest are viewing this topic.

jcfuller

  • Guest
LinkRes2Exe issue with version 0.2.3
« on: July 15, 2019, 09:12:27 AM »
Charles,
  It appears LinkRes2Exe is not supported with version 0.2.3

James


Charles Pegge

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #1 on: July 15, 2019, 09:32:38 AM »
Hi James,

LinkRes2Exe is still running over here. I tried it on co2,oxide and gxo2.

Also worked on 64bit ControlCraft (flying saucer)

Has your Windows10 clobbered it?

jcfuller

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #2 on: July 15, 2019, 09:35:25 AM »
Charles,
  It runs and appears to work but the resulting exe does not run on my tests. If I do not use it to link in a res file the same exe runs.

James

Charles Pegge

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #3 on: July 15, 2019, 09:41:25 AM »
All the EXEs are working here.

Is your Windows10 interfering?

jcfuller

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #4 on: July 15, 2019, 10:12:26 AM »
Charles,
  Try this.
James

Code: [Select]
$filename "testres.exe"
use rtl64
print version

'==============================================================================
RC file
'==============================================================================
#define MANIFEST 24
#define IDR_XPMANIFEST1 1

IDR_XPMANIFEST1 MANIFEST "xpmanifest.xml"

'==============================================================================
xpmanifest.xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="*"
name="Company.Product.Name"
type="win32"
/>
<description></description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

jcfuller

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #5 on: July 15, 2019, 11:05:39 AM »
Charles,
  I notice your version of GoRc is 0.9.0.5 while the current version is 1.0.2.1.
I was using 1.0.2.0 and just updated to the latest with the same reported results.
James

Brian Alvarez

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #6 on: July 15, 2019, 12:57:39 PM »
Hello Guys...

 jcfuller, you mean it doesn't work with the newest version and you had to roll back to version 0.9?

Charles Pegge

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #7 on: July 15, 2019, 01:03:11 PM »
This does not work with o2 version 0.2.2 either

Charles Pegge

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #8 on: July 15, 2019, 01:16:08 PM »
James,

This example works with a manifest:

jcfuller

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #9 on: July 15, 2019, 02:15:58 PM »
Charles,
  Compiled and ran fine using gorc 1.0.2.1 here.
  FreeBasic is shipping gorc 0.9.0.2
  There was a recent thread on the Fb Forum that brought up a bug that was fixed with the latest 1.0.2.1.

James

jcfuller

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #10 on: July 15, 2019, 03:16:00 PM »
Charles,
  It may not be a resource problem? My mainstay testing program is showing the resource dialog after some code editing.
I'll do more testing in the AM. Yankee Baseball time now.

James

Charles Pegge

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #11 on: July 15, 2019, 03:25:49 PM »
Okay James.

I'll include GoRc 1.0.2.1 in the next release anyway.

Charles Pegge

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #12 on: July 16, 2019, 11:53:55 AM »
It's a 64bit problem. Hard to trace but I think it's connected with some changes I made for byval UDT params.

Charles Pegge

  • Guest
Re: LinkRes2Exe issue with version 0.2.3
« Reply #13 on: July 17, 2019, 04:11:26 AM »
Hi James,

I've fixed it! You only need the dll: oxygen.zip