English
Forum

Done: static functions in Includes

 

Nico
Madysa
Hello iF!

I have in my Hauptprogramm some APIs through ImportDLL() import, and of course to folgendem pattern
CompileMarkSeparation
var hUser& = ImportDLL(USER32,u_)
var hKern& = ImportDLL(KERNEL32,k_)
var hGDI&  = ImportDLL(GDI32,g_)
var hPros& = ImportDLL(prospeed,)pre>

the connected are some Include Files, of them a, eigens for this program erstellte on even these functions zurückgreift, bspw. with
CompileMarkSeparation
now force me some particular circumstances moreover, XPSE To benefit, which however jedesmal aufs new behauptet, it be The function u_GetWindowRect() in XYZ.INC uncharted.

over again I will hereon allude, that these procedure maßgeschneidert for this program is what about me accordingly on items, which first in the Hauptprogramm definiert go grab can wants. yet force me these Error Message moreover, constantly {$noerr} To use, by which though naturally too any real Error ignoring go, what me ditto mißfällt.

my question now: is a such Kapselung of Include Files really necessary or could XPSE not simply gnädiger his?
 
Nico Madysa
03/24/09  
 




RGH
probably has here XPSE the trouble, that to Compilezeit naturally not famous is, which functions The DLLs to Laufzeit on the executing computer having go.
(this is z.B. too the reason for, that the Compiler of XProfan fehlende functions not any more anmeckert, separate this the Runtime überlässt.)

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/24/09  
 



~ setting time this thing before it. Perhaps goes it then.

mfg
 
03/24/09  
 




RGH
Peter Bierbachh
~ setting time this thing before it. Perhaps goes it then.

mfg


certainly not! the helps only, if The external functions in Headerfiles declared are! here goes it around the Import of functions by ImportDLL()! (here rewards itself one look into Help!)

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/24/09  
 



@Nico: The NOERR-joint can for individual cases of pushKeyWord prevented go - but I have a idea How I z.B. ImportDLL(USER32,u_) nevertheless make possible can. alternatively could I one omen for functions invent which not angewarnt go should, something like How __.
 
03/24/09  
 




Matthias
Arlt
Peter Bierbachh
~ setting time this thing before it...


this thing has incidentally too a names. it name itself Tilde.
only time so, if the concept time andernorts auftaucht...

Greeting
Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
03/24/09  
 




Nico
Madysa
iF
@Nico: The NOERR-joint can for individual cases of pushKeyWord prevented go


Haha, I knew still, that it there yet something for individual case given - only, that I forget having, that the thing PushKeyWord hieß - thanks!

iF
alternatively could I one omen for functions invent which not angewarnt go should, something like How __.


and How wärs, if You simply ausläsest, which prefix in ImportFunc/ImportDLL indicated and is any functions with the ausgelesenen Präfixen ignored? the klappte then in my obigen Examples Yes with everything DLLs except for The Prospeed - then müßten XPSE-User hold with Import-x() one prefix indicate, a Einschränkung, on which even I gewöhnen could.
 
Nico Madysa
03/25/09  
 



it name itself Tilde.

for me is a thing...
naturally I had already voller Erwartung on The instruction gewartét.

having To dwell with a Kameraden above already a bet completed.
means, you are already correctly. jolly, with you stay I
is one Forum voller joke.

mfg
 
03/25/09  
 




Matthias
Arlt
Gratuliere to won bet
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
03/25/09  
 



@Nico: so similar make I the with whom Units, only that I there also yet compare whether The functions from the .def-File coincide and the Difference the that prefix not of/ one Stringkonstante stored* becomes. the ought to but hinzubekommen his if the prefix on a . (in Worten: point) end.

find I anyhow somehow comic (but nevertheless too against verständlich) the Roland the prefix with import... in a String expects.
 
03/25/09  
 




RGH
iF
@Nico: so similar make I the with whom Units, only that I there also yet compare whether The functions from the .def-File coincide and the Difference the that prefix not of/ one Stringkonstante stored* becomes. the ought to but hinzubekommen his if the prefix on a . (in Worten: point) end.

find I anyhow somehow comic (but nevertheless too against verständlich) the Roland the prefix with import... in a String expects.


the prefix is now time a Zeichenkette, So one String.

i'd though not whom point vorschreiben (Yes not even recommend). The Unterstrich would for this special drop The first electoral. The point part Objekt of method/quality or. class of method quality and has accordingly in the XProfan-Syntax a defined weight.
yet allow I in Bezeichnern almost any characters, but I have already the öfteren above thought, Bezeichner on letters (A..Z,a..z), Digits (0..9) and Unterstriche (_) To limit, where the first characters one character or Unterstrich his must. The worry around the Herzkranzgefässe some altgedienter User, The it bislang differently held, has me yet of it abgehalten. ;)

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/25/09  
 



even if z.B. I do not always a class definiere - so einklassiere (I wished not klassifizieren write ) I nevertheless almost everything to this Syntax - the Overview because of behaupte I simply there are everything classes!

One example:

ogl.clear
ogl.push
ogl.pop

heard everything To ogl - How I find very useful and the ziehe I seither too in grösseren Programs so through.

one could means say, ogl be here to the Syntax a class - if too no real.

And if one z.B. a class DLL any functions einholt, then lying it still not at all remote To say: thisDll.method

the not integrally correctly is, is me clear - against XProfan however not Objektbezogen operates How z.B.

declare a$,b$
b$=a$.mid$(1,10)

with which the mine principle insich against coherent is and in the working day wide praktischste usage found has.

the against virtually is that none (Specifically) of my Opportunities you on something (How z.B. The abolition the Punktes from whom Bezeichnernamen) detain must I me the XProfan by XPSE Yes on my needs zurechtrücke.
 
03/25/09  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

12.661 Views

Untitledvor 0 min.
Ernst05/07/16
p.specht12/21/13
E.T.01/17/12
Roland Schäffer02/05/11

Themeninformationen



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