EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Saving from applications on a Macintosh

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#7383
Posted: 08/21/2008 01:36:01
by Volodymyr Zinin (EldoS Corp.)

The information was obsolete. Currently it's ok.
#7387
Posted: 08/21/2008 04:26:15
by Søren Kristensen (Basic support level)
Joined: 03/04/2008
Posts: 62

Hi

I downloaded the build but I am not able to compile the C++ Mapper sample. The definition in cbfs.h
Code
typedef void (*CbFsOpenFileEvent)(
    CallbackFileSystem* Sender,
    LPCWSTR FileName,
    ACCESS_MASK DesiredAccess,
//    DWORD FileAttributes,
    DWORD ShareMode,
    PVOID* FileHandleContext
    );

does not match the sample mounter.cpp:
Code

.....
void CbFsOpenFile(CallbackFileSystem*, LPCTSTR, ACCESS_MASK, DWORD, DWORD, PVOID*);
.
.
.
void CbFsOpenFile(CallbackFileSystem* Sender, LPCTSTR FileName,   ACCESS_MASK DesiredAccess, DWORD FileAttributes, DWORD ShareMode, PVOID* FileHandleContext)
{
.
.

I guess that the parameter FileAttributes should be removed from mounter.cpp and the header applies to the build!
#7388
Posted: 08/21/2008 04:57:58
by Volodymyr Zinin (EldoS Corp.)

Sorry. Just uncomment this attribute in the definition of CbFsOpenFileEvent.
#7389
Posted: 08/21/2008 06:11:41
by Eugene Mayevski (EldoS Corp.)

The attributes parameter is obsolete in CBFS 2.0 and must be removed from the samples. I will correct the samples and re-upload the build.


Sincerely yours
Eugene Mayevski
#7403
Posted: 08/22/2008 01:44:04
by Søren Kristensen (Basic support level)
Joined: 03/04/2008
Posts: 62

I have downloaded the latest build and I am still able to reproduce the problem!
#7404
Posted: 08/22/2008 02:08:59
by Volodymyr Zinin (EldoS Corp.)

Are you using the CallbackFS sample (modified by you) for testing? Could you give me the sources of it?
#7417
Posted: 08/25/2008 01:11:51
by Søren Kristensen (Basic support level)
Joined: 03/04/2008
Posts: 62

Yes

I am using the sample, the Mounter.cpp follows here


[ Download ]
#7418
Posted: 08/25/2008 01:20:00
by Søren Kristensen (Basic support level)
Joined: 03/04/2008
Posts: 62

Note that the last message I got was:

Could not save <filename> because write access was not granted
#7423
Posted: 08/26/2008 03:57:38
by Volodymyr Zinin (EldoS Corp.)

The problem is reproduced very seldom with the latest version of CallbackFS. There is not any data corruption, just something with the last write time attribute of an image file that is being processed by Photoshop via the appletalk protocol. Sometimes Photoshop "thinks" that this attribute contains wrong value and shows a notification message that the file was changed since the last savings.
But this attribute has the same value as the appletalk protocol set and the file info on the MacOS computer shows correct value too.
I've just checked it and during ~20 minutes of consecutive savings the message box was shown only one time. Also as I wrote before the same problem I've been able to reproduce with NTFS volume too. So there is big possibility that the problem can be caused by a bug in the appletalk protocol implementation for Windows.
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

Topic viewed 13486 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!