Oxygen Basic

Information => Open Forum => Topic started by: Aurel on November 15, 2013, 10:50:27 PM

Title: Resource Editor
Post by: Aurel on November 15, 2013, 10:50:27 PM
I have found Anolis resourcer that work ok ,need .NET 2.0
http://www.softpedia.com/get/Programming/File-Editors/Anolis-Resourcer.shtml
Title: Re: Resource Editor
Post by: JRS on November 17, 2013, 02:19:23 AM
Aurel,

I'm looking for a resource editor that will allow me to embed XP theme manifests into existing .exe files. The tool you posted didn't indicate this was a feature.

John
Title: Re: Resource Editor
Post by: Aurel on November 17, 2013, 06:18:40 AM
yes i know...
there is ResEdit
but not work with o2 exes.. ::)
he create invalid exe file...
XNresource editor also not work
..
Title: Re: Resource Editor
Post by: Charles Pegge on November 17, 2013, 09:02:26 AM
I've used GoRC and Res2Exe for compiling/attaching icons.

tools/Compilers/
Title: Re: Resource Editor
Post by: Aurel on November 17, 2013, 09:15:50 AM
I have found why XN resource made problem.
problem is in info version...
so instead of 1.0.0.0. use 5.0.0.1 and work on my XP machine
Title: Re: Resource Editor
Post by: Aurel on November 17, 2013, 09:18:11 AM
Quote
I've used GoRC and Res2Exe for compiling/attaching icons.
I try but not work for some reason  ::)

Anyway i am not sure how is this done in DLIb and bcause i have source & PureBasic
i will try compile this part of DLib .
Title: Re: Resource Editor
Post by: JRS on November 17, 2013, 01:56:41 PM
Quote
Insert Resource, choose "Custom", input "24" (without quotes) as resource type
Copy and paste the following XML sheets into the editor.

Code: [Select]
   <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly
       xmlns="urn:schemas-microsoft-com:asm.v1"
       manifestVersion="1.0">
     <assemblyIdentity
        processorArchitecture="x86"
        version="5.1.0.0"
        type="win32"
        name="test.exe"/>
     <description>Test Application</description>
     <dependency>
      <dependentAssembly>
        <assemblyIdentity
             type="win32"
             name="Microsoft.Windows.Common-Controls"
             version="6.0.0.0"
             publicKeyToken="6595b64144ccf1df"
             language="*"
             processorArchitecture="x86"/>
      </dependentAssembly>
     </dependency>
    </assembly>
You can replace test.exe and Test Application with any string you like. This will not affect the behaviour of the application.
Change resource ID to 1.
Add calls to InitCommonControls() in your WinMain(). Don't forget to include commctrl.h and link comctl32.lib. Rebuild your project, all done :-)

I'm going to give this a try.