Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

GetDiskFragment 2806 problem. XCode porting...

 
   Mac (Home) -> General Discussion RSS
Next:  Porting rfom CW8.3 to Xcode problem  
Author Message
Fonarix

External


Since: Sep 20, 2006
Posts: 18



(Msg. 1) Posted: Mon Nov 27, 2006 4:52 am
Post subject: GetDiskFragment 2806 problem. XCode porting...
Archived from groups: comp>sys>mac>programmer>misc (more info?)

In old CW project I had shared library with resources, now I remade it
and got dylib in XCode.
In program I trying to load it with GetDiskFragment, to load one
necessary function from dylib as from shared library:


if ((err = FSMakeFSSpec(0, 0, (unsigned char*)&Name, &fSpec)) == noErr)
{
if ((err = GetDiskFragment(&fSpec, 0, 0, fSpec.name, kPrivateCFragCopy,
&connID, (Ptr *)&mainProc, errName)) == noErr)
{

}
}

GetDiskFragment fails with 2806 error...

I'm interested what is the fSpec.name?
Also in old shared library I* had resource dialod, Can I load it from
dyLib???

Thanks!!!
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Porting rfom CW8.3 to Xcode problem - Hi, There! I've ported some sources of project to XCode, but when I trying to launch in debbuger GetCursor returns NULL, I've learned that it deprecated now... I think this is a problem with resources - still using *.r files. Is that code have to be..

XCode and Dynamic Linking - I'm totally new to XCode and I can't for the life of me figure out how to get my binary to link against a dynamlic library. I have a very simple ncurses program: #include <ncurses.h> int main() { initscr(); addch('o'); refresh(); ....

What happened to XCode "Find in API" for Java - I seem to remember being impressed with the ProjectBuilder's ability to find the latest Java documentation on Sun's web site. Maybe it was the first XCode. In any case, I haven't used XCode for a while, and after the Feb 6 RefLib update, the Java..

Per-target names for Xcode stlib project - How can I control the name of the output file of a static library project on a per-configuration basis? I'm using Xcode 2.4.1. I know the usual way is to use the same name in per-configuration folders, but I am supposed to put everything in a single..

CustomView & NSImage problem - Hi, I have a CustomView and am displaying an NSImage. The image is higher than the view but instead of cutting off the bottom of the image it cuts off the top. What am I doing wrong? Any help appreciated. Thanks, Paul
       Mac (Home) -> General Discussion All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
  Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact