|
Re: Free registry dll (and much other functions)
[Re: Error014]
#42706
03/16/05 05:57
03/16/05 05:57
|
Joined: Oct 2002
Posts: 4,753 Munich, Bavaria, South of Germ...
TripleX
OP
Expert
|
OP
Expert
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
|
In Antwort auf:
aber könnte man dann nicht auch besonders böse 3dgs programme machen die mal eben die registry plätten ?
Ja wäre ohne probleme möglich!
Also bin grad vom training nach hause gekommen.. Fix und fertig ;-)
Lad die ergebnisse dann morgen hoch.. Und dann muss ich erstmal einen anderen Auftrag erfüllen (n kleines GUI).
mfg TripleX
|
|
|
Re: Free registry dll (and much other functions)
[Re: Error014]
#42707
03/16/05 05:58
03/16/05 05:58
|
Joined: Sep 2000
Posts: 3,936 CH
Perro
Expert
|
Expert
Joined: Sep 2000
Posts: 3,936
CH
|
Quote:
Was ich ja mal schön und nützlich fände, wäre ein Plugin, mit dem man direkt jeden Pixel ansprechen (das geht vermutlich nicht) und ggf. ändern kann (also etwa einfärben). Geht sowas überhaupt? Wahrscheinlich nicht
ist dass nicht genau dass was pixelshader machen?
|
|
|
Re: Free registry dll (and much other functions)
[Re: BigBrainz]
#42713
02/05/06 14:05
02/05/06 14:05
|
Joined: Oct 2002
Posts: 4,753 Munich, Bavaria, South of Germ...
TripleX
OP
Expert
|
OP
Expert
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
|
This is possible with the current version of my plugin, which I'll release in the next weeks. If you can't wait, here is the source code: Code:
DLLFUNC var DllSearchFolder(STRING* title,STRING* str1,STRING* str2) { BROWSEINFO brinfo; char buffer[MAX_PATH]; char buffer2[MAX_PATH]; int Image = NULL; ITEMIDLIST* iteminfo;
brinfo.hwndOwner = ev->hWnd; brinfo.pidlRoot = NULL; brinfo.pszDisplayName = buffer; brinfo.lpszTitle = title->chars; brinfo.ulFlags = NULL; brinfo.lpfn = NULL; brinfo.lParam = NULL; brinfo.iImage = Image;
iteminfo = SHBrowseForFolder(&brinfo); if(!iteminfo) { return(_VAR(0)); }
SHGetPathFromIDList(iteminfo,buffer2);
if(str1 != 0) { strncpy(str1->chars,buffer,MAX_PATH); } else { DllStringSend1(buffer); } if(str2 != 0) { strncpy(str2->chars,buffer2,MAX_PATH); } else { DllStringSend2(buffer2); }
return(_VAR(1)); }
|
|
|
Re: Free registry dll (and much other functions)
[Re: TripleX]
#42714
10/26/06 17:06
10/26/06 17:06
|
Joined: Feb 2006
Posts: 324 Germany
maybenew
Senior Member
|
Senior Member
Joined: Feb 2006
Posts: 324
Germany
|
a little outdated, but:
why do i get a function not found error for every function i want to call?!?
well, problem solved, dont forget the dll_handle thing
Last edited by maybenew; 10/26/06 17:10.
|
|
|
|