English
Includes

XDATA - Includes for XProfan 10

 
XDATA - Includes for XProfan 10 and higher
copyright 2006 by Thomas (ts-soft) Schulz

Echtes Compilieren with XProfan

this pkg exists from 2 Include-Files, Examples as well as the GoLink Linker by jeremy Gordon (https://www.jorgon.freeserve.co.uk/)

Mithilfe this Paketes can compilierte windows-Resources (*.res) in reinem XProfan compiliert go. These can Mithilfe the ResHackers
of/ one Profan-Runtime added, or. to a DLL gelinkt go (this watts the GoLink Linker enclosed, ResHacker not pkg)

Desweiteren can these Resources with the 2ten Include-File slight in XProfan-Programs used go.

The Funktionalität dull itself on benutzerdefinierte Resources too as RCDATA famous (each manner of File, Exe, Dll, BMP, Txt, Wav etc. possible)

[size=16]Funktionsbeschreibung XDATA_Compiler.inc:[/size]

XDATA_Create(FileName$) Dateiname ggfls. with way, as Dateiextension ought to *.res uses go (won't examined)
These function erstellte a new Resourcedatei (evtl. available gleichnamige File deleted), with the erforderlichem Dateikennungen
Result: Filehandle, which for further Operationen needed becomes.

XDATA_Open(FileName$)
These function opens a already erstellte *.res (of these routines or anderem Resource-Compiler) and setting whom Dateizeiger ans end,
circa further Resources hinzuzufügen.
Result: Filehandle, which for further Operationen needed becomes.

XDATA_Close(Filehandle&)
These function closes The Resources-File. is absolutely to termination the Hinzufügens to execute!

XDATA_Add(Filehandle&, FileName$, Nr&)
These function fügt The File FileName$ as Resource with the number Nr& the Resources-File hinzu.
Nr& of 1 - 32767, each Nr must only once of these routines added (überschreiben you don't say so)

XDATA_Link(FileName$)
These function linkt The übergebene Resource-File FileName$ mithilfe of GoLink to a DLL
The way to GoLink.exe can in the head this Include set go, if itself GoLink.exe not Programmpfad befindet!

[size=16]Funktionsbeschreibung XDATA_Functions.inc:[/size]
XDATA_Get(ResNr&, hModule&) hModule& is Optional. with are missing becomes The Resource in the Exe sought
These function loading The Resource with the number ResNr& into memory. the stature can live to appeal this function
from the global Variable XDATA_Size& determined go. (of/ one new Variable zuordnen, there these each further loading of Resources
überschrieben becomes.
Result: Speicheradresse the loaded Resource, to that enable, these on XDATA_Free() transfer!

XDATA_Free(hRes&)
gives The loaded Resource again spare

XDATA_Save(ResNr&, FileName$, hModule&) hModule& is Optional
save ResNr& as File under FileName$

XDATA_CatchBMP(ResNr&, hModule&) hModule& is Optional
loading The Resource and erstellte one ImageObjekt from it, which with DrawPic and DrawSizedPic used go can.
Result: hPic&, which end with DeleteObject again freizugeben is.

XDATA_PlaySound(ResNr&, Modus&, hModule&) hModule& is Optional
game a as Resource encompassed Wav-File ex. mode corresponds to the Spielmodus of PlaySound

what one so everything employ can, überlasse I eurer imagination (z.B. SKControll.dll in Prfrun32.exe and Mithilfe of MemoryModule benefit )

Greeting
Thomas

Feedback How always erwünscht

199 kB
Kurzbeschreibung: on title line
Hochgeladen:12/30/06
Downloadcounter263
Download
 
12/29/06  
 



Update on Version 1.1

+ Error with of/ one variables fixed.
+ Feherbehandlung in XDATA_Compiler.inc correct
! Umbenannt XDATA_Link To XDATA_LinkToDLL
+ XDATA_LinkToExe

Mithilfe the ResHackers, whom your on the Profan-CD or Internet finds, can now The Resources directly in The Runtime gelinkt go, without the the ResHacker extra called becomes. i think time, the ought to whom Use with benutzerdefinierten Resources vastly relieve.
One Script created The Resources and linkt these to Runtime or to a DLL, according to wish

Greeting
Thomas
 
12/30/06  
 



Wow - I wished The Ressourcengeschichte too over Kompilerschalter the xpse regulate - one places means in the jeweiligen Source solid which Ressourcen How processing or angehangen go should.

XData would still perfect this or?
How should I vorgehen?
 
12/30/06  
 



@iF
You can only this a Types of Resources produce, with whom standard-Resources is the Header something komplizierter. the kannste naturally by XPSE automatisieren. The Resourcentyp X_DATA (XProfan-Data) ought to only of this Inc. come, Standardname is RCData

must naturally ensuring, the ResHacker or. GoLink found go, these by Profane-Code supplant is me yet not geglückt

Greeting
Thomas
 
12/30/06  
 



OK then were I...
 
12/31/06  
 



iF
OK then were I...


this year becomes probably not wealthy
 
01/01/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

8.155 Views

Untitledvor 0 min.
Gast.0815 vor 17 Tagen
Member 862464104/09/24
Georg Teles01/02/24
RudiB.04/23/20
More...

Themeninformationen

this Topic has 2 subscriber:

unbekannt (4x)
iF (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie