|
-
May 21st, 2002, 10:09 AM
#1
Thread Starter
Fanatic Member
registering a dll
Below I have the api to register a dll
Public Declare Function RegMyServerObject Lib _
"C:\RM3\RM3.DLL" _
Alias "DllRegisterServer"() As Long
how can I change it so that the path is app.path ?
Thanks
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
May 21st, 2002, 10:44 AM
#2
Frenzied Member
VB Code:
Public Declare Function RegMyServerObject Lib _
"RM3.DLL" _
Alias "DllRegisterServer"() As Long
HTH,
D.
-
May 21st, 2002, 11:00 AM
#3
Thread Starter
Fanatic Member
Cheers Merrion, I did try that, but as I was being completley stupid and didn't have the dll in the same folder as my app, it didn't work , it does now
Ta Muchly
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
May 21st, 2002, 11:23 AM
#4
Fanatic Member
*Drags Ian out by the hair and back into chit chat - "You don't belong in here m8 - this is for programmers"
Hmmmph!
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|