English
Forum

Laufzeitbegrenzung very simple and uncertain :)

 
- Page 1 -



Torsten
Rümker
Hello first.

OK, me was straight tedious and there's me new (?) Possibility invaded, How one for care can, the one Program not termless weitergenutzt go can.
CompileMarkSeparation
IF @Val(@GetfDate$(@Par$(0))) < @Val(@Date$(3))-7

    Messagebox("Testzeitraum abgelaufen","Testzeitraum abgelaufen",0)
    End

END

OK, means of these code runs the program a week long to the compilieren and then is schluß.
Well as long as To someone on the date the File rumpfuscht

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
05/14/06  
 



 
- Page 1 -



Sven
Bader
neither The swell manner but I think, that it many so make:

I write a Unix Timestamp somewhere into Untiefen the Registry and ziehe it at next Start of actually Timestamp ex. now have I The difference in sec, shared through 86400 are it days.
30 - tage& are then The verbleibenden days the Testzeit.
now check I, whether the worth larger 30 is means someone manipulating has or whether it small 0 is, speak The Time run down is.
The worth remaining naturally too to Deinstallation consist, would otherwise simply To bypass. at that Start must to whom Reading examined go, whether the Key present is, if not becomes it first prepares.

to that Topic zumüllen the Registry: slower becomes therefore nothing, as long as one no Menüerweiterungen or so prepares, its Yes a data base The through Size not slower becomes. In this case are it too no 20 byte.

The now() function stammt from the Wettbewerbsbeitrag 2006 of Clemens Date and Uhrzeit to charge
CompileMarkSeparation
Def RegOpenKeyEx(5) !"ADVAPI32","RegOpenKeyExA"

PROC DaysLeft

    declare key$,handle#, datum&
    key$ = ".lol" erfundener dateityp
    dim Handle#,4

    if (RegOpenKeyEx($80000000,Addr(key$),0,1,Handle#)=0)  Registryschlüssel nicht vorhanden

        datum& = val(ReadIni$( "HKEY_0", key$,""))

    else

        WRITEINI  "HKEY_0",key$,""= str$(now())
        datum& = now()

    endif

    dispose handle#
    return int(30-(now()-datum&)86400)

Endproc

print str$(DaysLeft()) + "
übrig"
 
06/12/06  
 




Torsten
Rümker
so, now must so did i once more what say.
I want Yes not same Grundsatzdiskussion trigger

there writes one time one Codesnipsel, the one falls in if one Langeweile has,

means: myself use Laufzeitbegrenzungen in the usual senses none. separate beschränke simply The Possibility updates to obtain.
this is relatively simply, I no einziges Program have, that I really as ready bezeichnen would. this is of course not too sure, but since I a) fundamentally whom people credit and b) sooner Special programs for Eigenbedarf (or. for employment in of my firm) write, reicht it me but.

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
06/12/06  
 



[quote:38318b2941=TS-Soft]Renommierte Programmer make something like not. If someone something like power, shows this only its Programmierschwäche on (gives better Solutions). [/quote:38318b2941]
You redest here Perhaps of a whole Industriezweig which itself u.A. so engage How one Lizenzen vergibt. the rechtfertigt no Programmierschwäche.

One simple example from the life: I denk time eachone becomes already a WindowsKopie over internet Lizensiert having. I have not yet erlebt the one Windowskäufer itself over this take action beschwert has - integrally in the contrary - it bekundet gladly the it seins is - it hats indeed payd. naturally bear Nichtkäufer against very plenty often that this one möglicher Verstoß yours *Irgendwas* darstellt.

[quote:38318b2941]who itself on it einläßt is too yourself guilt and backing something like too yet[/quote:38318b2941]
Well the sound a little bit to Verurteilung especially since the set self universally valid is.
 
06/13/06  
 



 
- Page 2 -



RGH
[quote:34343f5d18=iF]One simple example from the life: I denk time eachone becomes already a WindowsKopie over internet Lizensiert having.[/quote:34343f5d18]
now, the goes too phone, there with Weitem not each Notebook without further in that internet comes. not each Noteebook and not everyone users has WLan and the Internetzugang self is not yet everywhere self-evident. and with Weitem not everyone the internet has, has too a Flatrate. and with all others causes Datentransfer cost. (additionally go most computer and Notebooks with a already registered Windows XP sales, so that Otto Normaluser these Hürde not any more take must.)

i think, with one renommierten Spielehersteller had I less Problems, me on a Internetregistrierung einzulassen, and this grabbed my Firewall to open. But if one Program one more or less unidentified Share- or Freewareprogrammierers to dwell telephone wants, then let I this naturally not To. what about me think, any The here read along (me eingeschossen) count sooner yet (!) to second group.

But if the program hereon hinweist that it a Intrernetverbindung uses and aufbaut and the User not only declared, what gesendet and receive becomes, separate it too The Possibility gives, alternatively the program to interrupt, then is it Yes aale. and with einemem Program of/ one known firm would I too hereon einlassen. (because if a known firm here unrechtmäßiges power, would the very quick in the Press, see z.B. SONY with its Rootkits as Kopierschutz.)

and against the write of data into Registry speaks too nothing, as long as The Deinstallationsroutine the Program these data then again ordnungsgemäß deletes.

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
06/13/06  
 




Frank
Abbing
[quote:3745e6534e]i think, with one renommierten Spielehersteller had I less Problems, me on a Internetregistrierung einzulassen, and this grabbed my Firewall to open. But if one Program one more or less unidentified Share- or Freewareprogrammierers to dwell telephone wants, then let I this naturally not To. what about me think, any The here read along (me eingeschossen) count sooner yet (!) to second group.[/quote:3745e6534e]
think so did i and can there only consent.

[quote:3745e6534e]But if the program hereon hinweist that it a Intrernetverbindung uses and aufbaut and the User not only declared, what gesendet and receive becomes, separate it too The Possibility gives, alternatively the program to interrupt, then is it Yes aale. [/quote:3745e6534e]
Roland, You promise me from the hearts.
 
06/13/06  
 



I find because of the enumerate of Selbstverständlichkeiten is this Thread ganzschön verunstaltet been.

there we here in the Programmiererboard are ought to itself the whole on The technical aspects sustain - I find it very pity the itself with such Topics often the find I angry and this is ok-Postings yield. Something like heard sooner into Regulars table.

The Headline sounds Laufzeitbegrenzung very simple and uncertain and not what find The Programmer here under which Umständen OK.

the we any against unseriöses behaviour are is for me a Selbstverständlichkeit and eachone, which here ehrenrührige tack chasing won't under 3 Doppelklicks bestraft. but this huch mere nothing of where loading or Übertragen- Getue is me then still slow a little bit over - particularly ifs NEN Thread versaut which itself utterly on The technical Umsetzung of Problemem relating.

The following Extremszenario: How functions one virus under Programming/generally/Beginner-Questions, then find I it utterly not Order if itself someone above echauffiert thats question set watts! even if it comic appear ought to properly professional stayed go. otherwise would it the Regulars table! Notes How viruses are angry and badly and Co are then fehl on the Space. Thomas would möglicherweise one Posting with the Content who viruses program is a badly Programmer round down. If someone nothing programmiertechnisches about deliver would like is the naturally OK, and from the Admins How me becomes naturally too desires the possible KomplettBauAnleitungen To viruses too zensiert go - but geplänkel How angry and badly still The viruses are has under Programming/generally/Beginner-Questions not vordergründig something to search and already not at all so the one Thread verlenkt becomes. I Please itself To remind that this as Extremszenario of me chosen watts.

naturally having Roland and Frank utterly right with the Gesagtem - it spielgelt fully and integrally naturally my opinion again.

The question was means Laufzeitbegrenzung very simple and uncertain: someone yet a idea?
 
06/13/06  
 




Torsten
Rümker
[quote:09a35d1a65=iF]The question was means Laufzeitbegrenzung very simple and uncertain: someone yet a idea?[/quote:09a35d1a65]
Jep, very the was my border iF

however I had hoped of another Page alternative Proposals for a simple Laufzeitbegrenzung To get, without that I on a extreme safety this machinery particular worth lay.
Experience can JEDEN machinery this manner somehow aushebeln, I How I To of my blemish confess must already yourself made have, circa a Testzeitraum the bad To tight kalkuliert was To verlängern.
(i know power one not, but I have each Program, that I so treats have short Time later always either deleted, or bought.)

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
06/14/06  
 




Carlo
Keil
after any Boxhandschuhe weggepackt get and again Friede, joy, Eierkuchen (hmmm, yummy) rule, again to that core the thing.

One comparison with the System-Date is evident utterly pointless. whom hebelt today almost eachone amateur from, if it not same a software using, The the power.
(Have I To Win 3.1-times time found. the Program has as Programmstarter worked and itself at first Start the date Pinned and before each later Start reset. Klevererweise watts the System-Date then a vorwählbare amount of sec to the Program Start again reset, so that one almost immediate again a korrekte Datumsanzeige having)
Who there said Interessante idea? (might me Please of/ one the Smiley-Artisten here a with drohenden forefinger there make? thanks)
my former uses Gegenmittel bestand therein, the date some Files in the system- and Temporärbereich as well as into Papierkörben To to check on: jüngeres as News date found? then Exitus or simply a important function How secure or new Lock.

my personal predilection is one in principle other Vorgehen: I schränke not whom Funktionsumfang or The Laufzeit one, separate the Mengengerüst. who with ten Datensätzen or two Druckseiten auskommt, the should the program hold so using. it would it eh never Register, sorgt but so nevertheless for currency.

Greeting
Carlo
 
06/14/06  
 




Nico
Madysa
and to that secret Save of date have I another method as The Registry, The anyhow with something like immediate suspect becomes. simply in the system- or Programmverzeichnis a possible unauffällige File lay out, The nobody suspect, something Wichtiges To secure. with one game could one tappt im dunkeln z.B. Map.001 or so name.
this is now naturally only an example, that too slight überlistet go can. it building hold hereon on, that the User not there guckt, where it on the logischsten is.
 
Nico Madysa
06/14/06  
 



CConsiderate hierbei the often the write in Systemverzeichnisse verwehrt his can - wg. Privilegien.
 
06/14/06  
 



hide in a Bilddatei is neither plenty schwerer and gängige practice
 
06/14/06  
 




Clemens
Meier
I find, a commonly, but encrypted (in example with eagle32) Konfigurationsdatei is best. many stick of course data into Registry or in a ini-File, but if one to that example any Texts and pretended values in a Konfigurationsdatei stick, moreover naturally too the jeweilig latest date/Uhrzeit the Beendens the Program, is the professional and particularly in reference on flexibility a very good Possibility.

naturally can eagle32 or others Verschlüsselungstechniken creak, but one normal User well hardly, especially since it with some Techniken years last would. and too the Abspeichern the Zeitpunktes at terminate the Program isn't sure and the User can with Tricks its Version longer use, as of Programmer vorgesehen.

100% safety there not, alike which take action one anwendet. though, the is correct not integrally, I wished once a Trialversion install, The me during the installation already mitteilte, that they run down be what about me finally The Full Version buy solle. clear, have I
 
XProfan 9.1; XP SP2; FF; Editpad
06/14/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.864 Views

Untitledvor 0 min.
Peter Max Müller11/13/17
Juergen Baier02/15/12
Hans Hermann04/09/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