| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Apr 15, 2004 1:26 am Post subject: sledge.dll problems |
|
|
hello all
i have been trying to play with this sledge.dll i have added the
| Code: |
#define command,sledge
#define function,CTRLALTDEL
|
to the script but the demo script still errors out any one know what i'am doing wrong? from the list of dll's i thought this one worked with vds 5......
p.s i have tried the define more then one way still get a error
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Apr 15, 2004 1:27 am Post subject: |
|
|
What error do you get?  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Thu Apr 15, 2004 1:31 am Post subject: |
|
|
On the VDSFLIST.DLL its like below:
| Code: | #define command,flist
#define function,flist |
Do you have the:
| Code: | | external sledge.dll |
I'm not familiar with Sledge.DLL Hope this helps someway.. |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Apr 15, 2004 1:33 am Post subject: |
|
|
yes i do have that to still no go  _________________ Have a nice day  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Apr 15, 2004 1:33 am Post subject: |
|
|
Can you post what error message you receive? _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Apr 15, 2004 1:43 am Post subject: |
|
|
I think that the DLL is most likely incompatible with VDS 5 judging by the
error message. The fact also seems more likely seeing as the dll was
authored before the new dll standard came out.
I suggest you try another dll such as 'vdsprot' or 'vdssave' to disable
control-alt-delete. You may also be able to do this via API.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Apr 15, 2004 1:45 am Post subject: |
|
|
that dll was nice and small to  _________________ Have a nice day  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Apr 15, 2004 1:46 am Post subject: |
|
|
but on the dll bug list it saids it worked to _________________ Have a nice day  |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Thu Apr 15, 2004 3:45 am Post subject: |
|
|
You can try this VDS 5 script, however of course remember that it will only work on
Windows 95/98/Me:
| Code: | #define command,visible
DIALOG CREATE,Visible in task list test,-1,0,196,33
DIALOG ADD,CHECK,chVisible,8,8,176,16,&Visible in task list,1,,CLICK
DIALOG SHOW
%%visible = 1
:evloop
wait event
goto @event()
:chVisibleclick
%%visible = @dlgtext(chVisible)
if %%visible
rem Show script in task list again
visible 1
else
rem Hide script from task list
visible
end
goto evloop
:close
if @not(%%visible)
rem Show script in task list again
visible 1
end
exit
:visible
loadlib kernel32.dll
rem DWORD GetCurrentProcessId(VOID)
%%dwProcessId = @lib(kernel32.dll,GetCurrentProcessId,int:,nil:)
if %1
rem RSPUNREGISTERSERVICE = 0;
%%dwType = 0
else
rem RSPSIMPLESERVICE = 1;
%%dwType = 1
end
rem DWORD RegisterServiceProcess(DWORD dwProcessId, DWORD dwType);
%x = @lib(kernel32.dll,RegisterServiceProcess,int:,int:%%dwProcessId,int:%%dwType)
freelib kernel32.dll
exit |
Trying to call RegisterServiceProcess on Windows NT based systems will cause an error
("Library function not found"). |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Apr 15, 2004 3:55 am Post subject: |
|
|
that is very cool tommy
thanks works good to i will have to see if i can get that to work my my program...i will have program check windows version if 98 then run that if xp run a diff code
thanks again _________________ Have a nice day  |
|
| Back to top |
|
 |
|