For windows xp users i can just release the dll itself. but keep in mind it will not compile properly under vista or 7 as far as i know. Could be that another library is not present but im not sure.
using this dll:
`initialize plugin
INIT QMIDI 3435973836
`register file type command
`example
REGISTER FILETYPE ".mid", "Qmidi Studio","Music file type", getappdir$()+"/Qmidi Studio.exe", getappdir$() + "/fileicon.bmp"
`this will register your app file type to windows.
`1 function required for using
function getAppDir$()
local s as string
s = appname$()
for p = len(s) to 1 step -1
if mid$(s, p) = "\" then exitfunction left$(s, p - 1)
next p
endfunction ""
`thats it do some testing with it and see how it works.
now for inside your application you will need to check and see if a file is auto loading with it. use this command to check.
if cl$()<>"" then qlen=len(cl$()):bob$=left$(cl$(),qlen-1):quickld$=right$(bob$,qlen-2)
`now the contents of quickld$ contains the file that needs to be loaded automaticaly
Questions....comments?
place this dll in the plugins-user folder of your compiler
All thats asked is that you give Rudolpho credit if used... Hes a great coder that deserves credit.
I will compile my other plan on an xp machine and explain how it works shortly for the vista and 7 users...
edit: i take that back... it seems to work on xp and vista but needs to be run as the administrator. Possible UAC may also need to be disabled
Development & Editting