[cwpro8forum] Re: MacOS X Examples/Dynamic Library
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Mar 27 00:52:53 CST 2003
on 3/26/03 11:52 PM, MW Ron at MWRon at metrowerks.com wrote:
>> I do have problems with usage of dynamic macho library.
>>
>> After some search I have found CW example "MacOS X Examples/Dynamic Library"
>> This example have 2 projects.
>> One build dylib.
>> Second build app that use it.
>>
>> All seems to be good until you RUN app under debugger.
>> IT WORKS.
>>
>> But if you go to Finder and simply double click application, you will get
>> crash with the following log
>
> I don't get the crash but it won't run under the release unless you put the
> install path and the DLL to the same one. The problem is that the Working
> directory isn't the same
>
> If you put the output path and the Install path to the same thing then it
> will run.
Well, I have another glitch with "Working directory"!
In project Macho-BSD, I do
ofstream f;
f.open( "server.ini", ... );
Where you think this file is created ?!
I expect that it must be created in the same folder of App.
(Note, app is not package! this was macho-powerPlant app).
Well, it is created on ROOT of system volume.
Why?
How I can create file in the CURRENT folder of app ???
It is night here, and I go to rest from this nightmare of macho :-)
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list