473,385 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How i can type code in Dll to be called when register it

kZero
23
I want make dll for example when i type in cmd
regsvr32 Dllfile.dll

the dllfile.dll show message box or do any code i will type

i attemped to put the code in Class_Initialize section but it dosnt work

Please Any one help me quickly
Nov 28 '06 #1
9 1337
kZero
23
Please Help
Nov 28 '06 #2
sashi
1,754 Expert 1GB
I want make dll for example when i type in cmd
regsvr32 Dllfile.dll

the dllfile.dll show message box or do any code i will type

i attemped to put the code in Class_Initialize section but it dosnt work

Please Any one help me quickly
Hi there,

Could pls post your code segment on your next post as it would ease in providing solution. Good luck & Take care.
Nov 28 '06 #3
kZero
23
thx for your reply


Function DLLMain()
MsgBox "Function Excuted"
End Function

i want when register the dll ( regsvr32 ) it excute the Function

i can do it with alot of anticrack programs but i wanna make it in the dll

this is example for what i need but it injected with anti-crack program to show message box

Download the Dll
Nov 28 '06 #4
sashi
1,754 Expert 1GB
thx for your reply


Function DLLMain()
MsgBox "Function Excuted"
End Function

i want when register the dll ( regsvr32 ) it excute the Function

i can do it with alot of anticrack programs but i wanna make it in the dll

this is example for what i need but it injected with anti-crack program to show message box

Download the Dll
Hi there,

I asked for code segment and not pre-compiled binary. There is nothing much can be done with pre-compiled binary. I am seriously not going to take the risk by registering this <.dll> . Take care.
Nov 28 '06 #5
kZero
23
Hi there,

I asked for code segment and not pre-compiled binary. There is nothing much can be done with pre-compiled binary. I am seriously not going to take the risk by registering this <.dll> . Take care.

thx for your caring about my problem

i dunno any code segment u are talking about

all i want

normal dll file just when u going to register this dll by regsvr32 the dll show message box " Are you sure u want to register "
if vbyes then register
if vbno then dont register

there is alot of anti-crack programs do it by injection but i want do it only with VB6

Please if u can help me
Nov 28 '06 #6
sashi
1,754 Expert 1GB
thx for your caring about my problem

i dunno any code segment u are talking about

all i want

normal dll file just when u going to register this dll by regsvr32 the dll show message box " Are you sure u want to register "
if vbyes then register
if vbno then dont register

there is alot of anti-crack programs do it by injection but i want do it only with VB6

Please if u can help me
Hi there,

Correct me if at all am wrong, do you want someone from TheScripts to write the .dll for you?
Nov 29 '06 #7
kZero
23
Hi there,

Correct me if at all am wrong, do you want someone from TheScripts to write the .dll for you?

i typed HOW bro iam not begginer to ask anyone to do it for me i know its not easy but really i need it if it possible
Nov 29 '06 #8
sashi
1,754 Expert 1GB
i typed HOW bro iam not begginer to ask anyone to do it for me i know its not easy but really i need it if it possible
Hi there,

In case you didn't understand the message in my earlier post, the answer is "NO", hope you understand better now. Take care.
Nov 29 '06 #9
link
71
I haven't heard about dll to be done like that...is this the only solution for your anti-crack program?
Nov 30 '06 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Ken Durden | last post by:
I already posted this to comp.programming.threads, but the group over there seems to be arguing from a purely theoretical standpoint rather than addressing the reality of compiler optimizations and...
4
by: womanontheinside | last post by:
I have a library which was written in C, you call a function, it provides the result by a callback to specific function names. I am trying to wrap the calls to this inside a class, but this causes...
0
by: ma740988 | last post by:
Consider #include <iostream> #include <string> #include <map> using namespace std; struct dstream // data_stream class {
15
by: damian birchler | last post by:
Hi I'm wondering of what type a structure is. Of course, it is a _structure_, but an array isn't an _array_ either. So of what type is a structure? I'd say a pointer, am I right?
2
by: Tim::.. | last post by:
Can someone please tell me why I keep getting the following error! I can't see what is wrong! It has only started occuring since I changed the folder structure of my application???? Thanks ...
16
by: Enekajmer | last post by:
Hi, 1 int main() 2 { 3 float a = 17.5; 4 printf("%d\n", a); 5 printf("%d\n", *(int *)&a); 6 return 0; 7 }
10
by: Marc Gravell | last post by:
Given a generic method "of T", is there a good way of ensuring that any static ctor on T has executed? Following code demonstrates (TestClass1) that via generics you can use the Type instance long...
318
by: jacob navia | last post by:
Rcently I posted code in this group, to help a user that asked to know how he could find out the size of a block allocated with malloc. As always when I post something, the same group of people...
232
by: robert maas, see http://tinyurl.com/uh3t | last post by:
I'm working on examples of programming in several languages, all (except PHP) running under CGI so that I can show both the source files and the actually running of the examples online. The first...
2
by: .rhavin grobert | last post by:
i have (do try to have?) the following... & = breakpoints in debugger // ---------------------------------------------------------------- // cx.h class CX { public: CX(CX* pcx = NULL);...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.