|
-
Oct 3rd, 2015, 04:38 AM
#5
Re: SHBrowseForFolder / BrowseInfo - retrun path newly created or not?
 Originally Posted by fafalone
Code:
tCNE.pidl = VarPtr(0) 'this is a shortcut for the pidl of the desktop; this is to watch every folder/object
Are you sure that's safe to do? Assigning the address of a temporary Integer to tCNE.pidl probably works fine most of the time, but I'm not so sure it's totally bulletproof.
 Originally Posted by fafalone
Code:
SHCNRF_NewDelivery = &H8000
That literal value should have the type-declaration character for Longs (&) appended to it (just like the value assigned to SHCNE_UPDATEIMAGE), otherwise VB will treat it as a negative Integer value.
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
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
|