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