| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I am getting random crashes on trying to get mounted folder details. Most of the time crashes come when my folder is on "Windows 2000 Server". Following is the code with inline comments I am using to get the machine name.
//Buf1 is of type "Ptr" pbp->ioParam.ioBuffer = buf1;
//pbp is ParamBlockRec pointer if (err = PBGetVolMountInfo(pbp)) goto errorabort;
Has the code also set up ioVRefNum and ioNamePtr?
// I am not sure if casting to AFPVolMountInfo * is ok!
sourcecp = (uchar *) (buf1+((AFPVolMountInfo *)buf1)
->serverNameOffset);
Cheers,
--Dave
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >Help: PBGetVolMountInfo (random crashes) (From: Dave Kip <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.