Computing.Net > Forums > Programming > dummy dll's in VB6

dummy dll's in VB6

Reply to Message Icon

Original Message
Name: eaw8806
Date: April 4, 2003 at 16:40:38 Pacific
Subject: dummy dll's in VB6
OS: win98
CPU/Ram: pentiumII/128MB
Comment:

I have kazaa on my computer, and i am trying to get rid of the cydoor spyware stuff. If you just delete "C:\windows\system\cd_clint.dll", kazaa wont start. So i am trying to create a dummy dll to look like the old one, but not do anything. I have tried making dll's in VB6, and using them, and Kazaa recognizes them as dll, and attempts to use them, but then the whole thing crashes with that annoying "This program has performed an illegal operation and will be shut down" error. any way i can stop it from crashing?



Report Offensive Message For Removal


Response Number 1
Name: borelli34
Date: April 5, 2003 at 10:06:08 Pacific
Subject: dummy dll's in VB6
Reply: (edit)

The illegal operation is occuring because Kazaa is attempting to access a specific part of the module by name. In other words, there is a function or procedure that is being imported from that DLL and when Kazaa calls for it within your DLL it is calling a NULL pointer. The only way to make a "dummy" DLL is to know before hand what functions, procedures and variable/constant declarations are being imported to the application and then include those in the DLL without any actual code but rather just the headers of the references. Even then, it will most likely cause a problem because most functions require some sort of return value and without the CORRECT return value it will crash in a similar manner.

borelli34


Report Offensive Follow Up For Removal

Response Number 2
Name: ck
Date: April 5, 2003 at 18:59:06 Pacific
Subject: dummy dll's in VB6
Reply: (edit)

if it's specifically for kazaa you want to do a dummy dll ... then why not use kazaa lite instead? http://www.kazaalite.com/
or doesn't kazaa lite work on your computer? I have found that kazaa lite may not run on some computers (ie. my old 486) but normal kazaa runs fine


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: dummy dll's in VB6

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge