| |
|
|
- Page 1 - |
|
| Hello IF...
contact I under windows2000 SP2 or SP4 on The On7.EXE The API CreateToolhelp32Snapshot with TH32CS_SNAPMODULE on, reacted thereafter the Menu not any more (tested with TNT). yet somewhere one Error? under windows98 runs everything normal.
Greeting
Andreas |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
| is the trouble XP not nachvollziehbar? |
|
|
| |
|
|
|
| now eigendlich is it uninteressant -thatswhy look I not even. it not heard to that Funktionsumfang CreateToolhelp32Snapshot with TH32CS_SNAPMODULE utilize to. the Control becomes gesubclasst - if you it beschießst with inquire which unabgearbeitet stay can it naturally crashen. |
|
|
| |
|
|
|
| Mmmh... Subclassing relating itself meinens Wissens to but on Messages - The send I Yes not. what I do, is a Systemschnappschuss create. at that create this Schnappschusses depends the box already on - a thorough investigation the Prozesses with a special Taskmanager is means you don't say so. it could one Error Windows2000 (or my OS) his, is this not the case, I will personally these DLL In any drop not use and rate here too each others of it ex. |
|
|
| |
|
|
|
| Well then rate time ex |
|
|
| |
|
|
|
| i was time so kind and Have The thing times under XP tested. under XP runs everything normal. On one second windows2000 computer I had but whom same Efekt.
here time View source to that testing for all 2000 User: CompileMarkSeparationDef @CreateToolhelp32Snapshot(2) !"kernel32","CreateToolhelp32Snapshot"
Def @GetWindowThreadProcessId(2) !"USER32","GetWindowThreadProcessId"
DEF @CloseHandle(1) !"kernel32","CloseHandle"
Declare FEN_Handle&,Thread_ID&,hSnapshot&,PR_ID&,Fenstertext$
Windowstyle 31
Windowtitle "Schnappschuß von On7.EXE"
Window 0,0-640,440
LET Fenstertext$=@INPUT$("Bitte Fenstertext von ON7.EXE eingeben:","Fenstertitel?","on6")
Let FEN_Handle&=@FindWindow(Fenstertext$)
LET Thread_ID&=@GetWindowThreadProcessId(FEN_Handle&,@ADDR(PR_ID&))
Print "Gefundene Thread-ID: "+@STR$(Thread_ID&)
Print "Gefundene Prozess-ID: "+@STR$(PR_ID&)
Color 12,15
Print "Bitte jetzt ins Fenster klicken!"
Color 0,15
Waitinput
IF Thread_ID&<>0
LET hSnapshot&=@CreateToolhelp32Snapshot($8,PR_ID&) hier flipp On7.exe aus (ON.DLL?)
IF hSnapshot&<>-1
@CloseHandle(hSnapshot&)
endif
endif
Print "Handle des Schnappschusses: "+@STR$(hSnapshot&)
While 0=0
Waitinput
wend
How You (hopefully ) see , beschieße I there quite nothing, separate call a integrally normal windows Taskmanager-API on, circa me loaded Module of/ one application lists To let. the there when calling of/ one Windows API a Access violation created becomes, comes me but already something strange to.... is too the first and only time, the me so what untergekommen is .
it would already nice, if someone other with a windows2000 system the time to check on could, so nobody, the these PCU/DLL benefit would like, sometime time Problems get. |
|
|
| |
|
|
|
| look time seems a Win2000 Problemchen To his. [...]
troublechen therefore because - it is not maßgeblich for a application entscheident whether one tappt im dunkeln under Win2000 with CreateToolhelp32Snapshot abchecken can. there's sure yet integrally others modes and Opportunities programs to that crash To bring lolz. |
|
|
| |
|
|
|
| [quote:29b19272c6=iF]troublechen therefore because - it is not maßgeblich for a application entscheident whether one tappt im dunkeln under Win2000 with CreateToolhelp32Snapshot abchecken can..[/quote:29b19272c6] it comes always hereon on, what write wants. under Umständen would I really extreme mad go, if one Abschecken of my application a such crash causes - and first right The people, The my application benefit and itself then with the arisen follow herumschlagen must.
The item relating itself on SP3 - I have recently one Update on SP4 pulled, there exit the Error on. As I said - lest anybody so ardent on The nose falls as I have sometimes - please times on other 2000 Systemen abschecken. |
|
|
| |
|
|
|
| PS: such item Please not german, there becomes me badly of . |
|
|
| |
|
|
|
| Have times the there angegebene version number the NTDLL.DLL the version number of SP4 compared. The lying yet below the there angegebenen Version, the might means this Error his. there it apparently yet no Servicepack for windows2000 gives, what this Error not created, can means of it go out, the The ON.DLL to Time on almost each 2000 computer at Scannen a bend power. who these DLL benefit would like, ought to the In any drop in the back of the head keep... |
|
|
| |
|
|
|
| very, who these DLL benefit would like ought to In any drop in the back of the head keep the windows2000 a bow has which moreover lead the if to the Program with CreateToolhelp32Snapshot Snapt the the program a bend power.
Ähm, with the usage of welchem Program under windows2000 - except time TNT - can You whom WindowsBug reproduzieren? |
|
|
| |
|
|
|
| among other things with my supra listed View source. Why - is there one Error drin? or there evtl. no differently Program the The Toolhelp functions uses circa a Schnappschuß To produce?
If one programs writes, with them somewhere a couple small Strichmannchen rumhopsen, is it alike whether it runs or not. program one but to that example one Sicherheitstool, would it no trouble this Tool through intentionally produced snapshot in nirvana To send and on the computer (again) things To can, The really utterly prohibited seien should.
Tüftelt the program to that example in the Registry around During low the User (evtl. self one Progger?) a such Schnappschuß created, can it straight under windows2000 even to that wastage one whole Userprofiles come.
As I said, for somebody the Strichmännchen proggt position the quite no trouble there - I take but at times the it here too people gives, you too gladly time others things zusammenschreiben would. |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
| Nö is nonsense and You weichst of my question too from.
[quote:ba06f04eae]Tüftelt the program to that example in the Registry around During low the User (evtl. self one Progger?) a such Schnappschuß created, can it straight under windows2000 even to that wastage one whole Userprofiles come.[/quote:ba06f04eae] this is so speculative the it you you don't say so his becomes this an example To bring. If I you right understood have can You, the trouble only with TNT - and Your obigen Source reproduzieren, and the too only under Win2000 weils a bow has. May I insist thats Konstellation so ungnädig is the the chance, the now strain too yet the program roughly in the Reg rumfummelt - only mutwillig herstellbar is.
I find But unspektakulär programs mutwillig crash To let, particularly if me in the he beginning clear is I for do must.
likewise - what about me spekuliere now too just around - could one ask How itself TNT behave if it in the Reg rumtüftelt and terminiert becomes. I go times not of it from the a wproc the signal abfängt and quick yet any compel works Done...
what I say wants - who such programs writes - of them You redest - the ought to too yet integrally others items mind. the can we not everything in a Thread slay - there's whole Forums which solely with this Thematik befassen. |
|
|
| |
|
|