forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


sledge.dll problems

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Thu Apr 15, 2004 1:26 am    Post subject: sledge.dll problems Reply with quote

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 Sad 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 Sad


thanks

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Apr 15, 2004 1:27 am    Post subject: Reply with quote

What error do you get? Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Thu Apr 15, 2004 1:31 am    Post subject: Reply with quote

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 Confused Hope this helps someway..
Back to top
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Thu Apr 15, 2004 1:33 am    Post subject: Reply with quote

yes i do have that to still no go Sad
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Apr 15, 2004 1:33 am    Post subject: Reply with quote

Can you post what error message you receive?
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Thu Apr 15, 2004 1:37 am    Post subject: Reply with quote

ok here is the link to the dll


[url]
http://www.vdsworld.com/index.php?page=download&fileid=26
[/url]


the error i get is :

eorror external command or fuction

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Apr 15, 2004 1:43 am    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Thu Apr 15, 2004 1:45 am    Post subject: Reply with quote

that dll was nice and small to Sad
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Thu Apr 15, 2004 1:46 am    Post subject: Reply with quote

but on the dll bug list it saids it worked to
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Thu Apr 15, 2004 3:45 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Thu Apr 15, 2004 3:55 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group