Berkeley DB 4.8 - C++ STL API on Mac OSX 10.6.2

Hallo,
I build Berkeley DB 4.8.24 with new STL API and it works fine. Then I wanted to process the examples_stl. It's no problem to build all the examples. But then I try to run any application I got a "Segmentation fault" error.
I selected the StlAccessExample.cpp and the error results from line 82: typedef db_map<char *, char *, ElementHolder<char *> > strmap_t;
Can someone tell me what is wrong?
Edited by: user10870838 on 12.11.2009 05:29

Hi,
I followed the advise from the readme and I used make exstl_access:
+./libtool --mode=compile g++ -c -I. -I../dist/..  -O -I../dist/../stl ../dist/../examples_stl/StlAccessExample.cpp+
libtool: compile:  g+ -c -I. -I../dist/.. -O -I../dist/../stl ../dist/../examples_stl/StlAccessExample.cpp -fno-common -DPIC -o .libs/StlAccessExample.o+
+./libtool --mode=link g++ -O -o exstl_access  StlAccessExample.lo libdb_stl-4.8.la -lpthread+
libtool: link: g+ -O -o .libs/exstl_access .libs/StlAccessExample.o -Wl,-bind_at_load ./.libs/libdb_stl-4.8.dylib -lpthread+
+./libtool --mode=execute true exstl_access+
When I use the g++ (g++-4.2.1) in this way: g++ -o StlAccessExample StlAccessExample.cpp -I /usr/local/BerkeleyDB.4.8/include/ -L /usr/local/BerkeleyDB.4.8/lib/libdb_stl.dylib I get Segmentation fault.
Edited by: user10870838 on 12.11.2009 23:57

Similar Messages

  • External program calling photoshop API?  Mac OS X

    Is it possible to include the photoshop api headers (CS2 SDK) in an XCode project and have the project instantiate photoshop and perform automation actions? I'm doing this in windows, but am new to Mac programming. Or is the API from the SDK strictly for plugins?
    Does anyone have XCode examples for CS2. I can't get Codewarrior. They are really rude if you call and ask about it.

    ADM is not a 64bit framework. Better to ask questions about plug-in dev here:
    http://forums.adobe.com/community/photoshop/photoshop_sdk

  • Microsoft Word API for Mac OS: Troubleshooting the Find/Replace function

    In my previous topic at
    http://discussions.apple.com/thread.jspa?threadID=2623068&tstart=0
    we found out the way to connect to the Ms-Word from Objective-C through ScriptingBridge.
    The connection works and the given text can be found and replaced using the method executeFindFindText: Although it generates exception and I am forced to put it in @try block and then continue with everything else in @catch.
    There is another, more important problem: the WordFind class does not seem to "give feedback" i.e. I could not find the way to programatically find out whether my find/replace was successfull, nor could I set WordFind object properties prior to running.
    The Class WordFind has many properties e.g.
    @property (copy) NSString *content; // Returns or sets the text in the find object.
    @property (readonly) BOOL found; // True if the search produces a match.
    @property BOOL matchWholeWord; // Returns or sets if the find operation locates only entire words and not text that's part of a larger word.
    I tried to set the property "matchWholeWord" or read the properties "found" and "content" but in vain.
    As I understand, the property "found" should be the key component in my process because it should
    return the BOOL value I need.
    What am I doing incorrectly? Any suggestions?
    Here is the final code:
    #import <Cocoa/Cocoa.h>
    #import "Word.h"
    int main(int argc, char * argv[])
    if(NSApplicationLoad())
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    wordApp=[SBApplication applicationWithBundleIdentifier:@"com.microsoft.Word"];
    if([wordApp isRunning])
    WordDocument *activeWordDoc=[wordApp activeDocument];
    WordTextRange *allTextRange=[activeWordDoc textObject];
    WordFind *findObj=[allTextRange findObject];
    NSString findText=@"FirstText";
    NSString *replaceText=@"SecondText";
    [findObj setMatchWholeWord:YES];
    NSLog(@"WholeWord: %i", [findObj matchWholeWord]);
    @try
    [findObj executeFindFindText:findText
    matchCase:NO
    matchWholeWord:NO
    matchWildcards:YES
    matchSoundsLike:NO
    matchAllWordForms:NO
    matchForward:YES
    wrapFind:WordE265FindContinue
    findFormat:NO
    replaceWith:replaceText
    replace:WordE273ReplaceAll];
    @catch(NSException * e){
    NSLog(@"Search Found:%i",[findObj found]);
    NSLog(@"Search Content:%@",[findObj content]);
    [pool drain];
    return 0;

    DavidMan wrote:
    So, what is your suggestion?
    Do it in pure AppleScript.
    Whom to complain? Microsoft or Apple?
    I'm not sure. All this stuff was new with Office 2008. It might work better with Office 2011. I would definitely ask on the Mac Office forum to see if anyone there knows any more: http://www.officeformac.com/productforums/

  • How to retrieve a part of XML document

    Dear Everyone
    I am using
    Oracle: Berkeley DB XML 2.4.16: (October 21, 2008)
    Berkeley DB 4.6.21: (September 27, 2007)
    with python api on mac OSX.
    I want to copy a part of XML document within the document.
    For example, assume that we have the following XML in dbxml.
    <A>
    <B id="1">
    <C>hello</C>
    <D>hi</D>
    </B>
    </A>
    I want to copy <B> with different "id" like,
    <A>
    <B id="1">
    <C>hello</C>
    <D>hi</D>
    </B>
    <B id="2">
    <C>hello</C>
    <D>hi</D>
    </B>
    </A>
    How can I do this?
    One more question. I want to retrieve a part of XML as string.
    For example,
    I want to have a string ' <B id="1"><C>hello</C><D>hi</D></B>'
    How can I do this?
    Thank you very much for your kind help in advance.
    Best regards,
    -Yoshi

    Hi,
    I couldn't add a document like you described:
    dbxml
    dbxml> createC test.dbxml
    dbxml> putD "mydoc" "<C>hello</C><D>hi</D>" "s"
    stdin:5: putDocument failed, Error: Error: XML Indexer: Fatal Parse error in document at line 1, char 13. Parser message: Expected comment or processing instruction (Document: mydoc)
    but, if I fix it and make it well formed it worked, so for
    the experiment I did that:
    dbxml> putD "mydoc" "<mydoc><C>hello</C><D>hi</D></mydoc>" "s"
    Document added, name = mydoc
    I could have added as two separate documents, document 1: <C>hello</C>,
    document 2: <D>hi</D>, but, I don't know what you are trying to do, so
    I'll stick with this example to the first.
    Then I ran a query to show what you did:
    dbxml> query 'collection("test.dbxml")/mydoc/*'
    2 objects returned for eager expression 'collection("test.dbxml")/mydoc/*'
    dbxml> print
    <C>hello</C>
    <D>hi</D>
    I can do the same thing using a query that returns something:
    dbxml> query 'for $i in collection("test.dbxml")/mydoc/* return $i'
    2 objects returned for eager expression 'for $i in collection("test.dbxml")/mydoc/* return $i'
    dbxml> print
    <C>hello</C>
    <D>hi</D>
    This duplicates, but the wrong way:
    dbxml> query 'for $i in collection("test.dbxml")/mydoc/* return ($i,$i)'
    4 objects returned for eager expression 'for $i in collection("test.dbxml")/mydoc/* return ($i,$i)'
    dbxml> print
    <C>hello</C>
    <C>hello</C>
    <D>hi</D>
    <D>hi</D>
    dbxml> query 'for $j in (1,2) for $i in collection("test.dbxml")/mydoc/* return $i'
    4 objects returned for eager expression 'for $j in (1,2) for $i in collection("test.dbxml")/mydoc/* return $i'
    dbxml> print
    <C>hello</C>
    <D>hi</D>
    <C>hello</C>
    <D>hi</D>
    And, finally, for your last string example:
    dbxml> query 'for $i in collection("test.dbxml")/mydoc/C for $j in collection("test.dbxml")/mydoc/D return concat("<C>",$i,"</C>", "<D>", $j, "</D>")'
    1 objects returned for eager expression 'for $i in collection("test.dbxml")/mydoc/C for $j in collection("test.dbxml")/mydoc/D return concat("<C>",$i,"</C>", "<D>", $j, "</D>")'
    dbxml> print
    <C>hello</C><D>hi</D>
    I don't get the 'id' change though.
    I hope this helps.
    -g

  • Berkeley DB 5.0.21 on OpenSolaris 2009.06 with Sun Studio CC v12 update 1

    Dear all,
    I have compiled Berkeley DB on OpenSolaris 2009.06 x86 with following C/C++ compilers:
    semihc@giant$ uname -a
    SunOS giant 5.11 snv_111b i86pc i386 i86pc Solaris
    semihc@giant$ cc -V
    cc: Sun C 5.10 SunOS_i386 2009/06/03
    semihc@giant$ CC -V
    CC: Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
    I did however observe an issue with the configure script which incorrectly deduced that Sun C++ compiler cannot support templates. When inspected I noticed that configure script is using an invalid C++ code to validate template support. Followings are the diff file to resolve this issue.
    semihc@giant$ diff configure configure.org
    18031d18029
    < return 0;
    18039d18036
    < return 0;
    18153c18150
    < //dbstl_configure_test::max<double>(4,4.2); // instantiate T as double
    dbstl_configure_test::max<double>(4,4.2); // instantiate T as doubleAfter this change I managed to compile BDB with following settings:
    ../dist/configure prefix=/stow/db-5.0.21 enable-debug enable-diagnostic enable-cxx enable-stl enable-sql enable-sql_codegen enable-sql_compat
    I would appreciate if Berkeley DB team amend confiigure script to reflect above changes.
    Regards

    Thank you for the update,
    Once the work was underway it was realized that a
    a standards-compatible C++ compiler is needed to build dbstl.
    From the documentation:
    At:
    http://download-llnw.oracle.com/docs/cd/E17076_02/html/installation/build_unix_conf.html
    If your compiler is not ISO C++ compliant, the configure may fail with this argument specified because the STL API requires standard C++ template features. In this case, you will need a standard C++ compiler. So far gcc is the best choice, we have tested and found that gcc-3.4.4 and all its newer versions can build the Berkeley DB C++ STL API successfully.
    and At:
    http://download-llnw.oracle.com/docs/cd/E17076_02/html/programmer_reference/stl.html#stl_intro_portability
    For this reason, you need a standards-compatible C++ compiler to build dbstl. As of this writing, the following compilers are known to build dbstl successfully:
    *MSVC8
    *gcc3.4.4 and above
    *Intel C++ 9 and above
    For *nix platforms, if you can successfully configure your Berkeley DB build script with --enable-stl, then you should be able to successfully build dbstl library and application code using it.
    Sandra

  • Oracle Mobile Server with SQLLite/Berkeley Db and dbsql

    Hi all,
    i am not sure if i am correct here but hopefully i am.
    In the past we have had Oracle Mobile Server with Oracle Lite.
    We decided to switch to new mobile Server because oracle webtogo is not longer supported and incompatible with windows 7. My administrator did migration of mobile server but migration utility reported that the available applications are incompatible.
    So I decided to create a completely New Publication with a Java application. The new Publication contains only one publication Item. For the first tests I simply wanted to spool out the data contained in my local database.
    In bin directory of sqlite folder i can find a utility named "dbsql". I understood it in this way that I can attach to an existing database file and take a look into that database.
    If i call dbsql.exe BerkeleyTest all seems to be ok. But if i try to select some data from that file i only get the errormessage that databse is in wrong format or encrypted. What am i doing wrong there?
    Am I right that the sql interface (I need that interface because I dont want to rewrite dataaccesslayer of my app) is only available in sqlite but not on "BerkeleyDb"?
    Is anyone here to help me a little bit with my problem here?
    Regards!
    Martin

    I do not know much about Oracle Mobile Server with Oracle Lite, does it use SQLite or BDB?  I do know that databases created by SQLite cannot be read by Berkeley DB SQL (of which dbsql.exe is part of), and databases created by Berkeley DB SQL cannot be read by SQLite.  Also, databases created by Berkeley DB outside of the SQL API cannot be read by the BDB SQL API.  You can open BDB SQL databases with BDB outside of the SQL API, but I would not recommend that outside of a few BDB utilities described in the documentation.  So if your BerkeleyTest database was created by SQLite or BDB outside of the SQL API, then it makes sense that dbsql.exe is returning an error when trying to read it.
    Calling dbsql.exe BerkeleyTest does not open the database, that happens when the first operation is performed on it, which is why you did not get an error until you tried to select something.
    Lauren Foutz

  • Can I get the Berkeley DB tutorial for download

    Hi ,
    I would like to download the Berkeley DB tutorial , It will helpful if anybody can provide me th link.
    thank you

    Hi,
    Reference guide url: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html
    APIs, installation, getting started, additional documentation: http://www.oracle.com/technology/documentation/berkeley-db/db/index.html
    Regards,
    Bogdan Coman, Oracle

  • How to convert FCP subtitles created in Text to EXPORT as one .stl file for broadcaster

    I created about 300 subtitles in Text, one version for English and one for German, that included narration and on-screen dialog, for a one-hour film I produced. An exported QT file creates a burned-in subtitle. However, the European distributor wants the film without subtitles and wants the subtitles as a .stl file (with the TimeCode for start and end of each subtitle text), one for English and one for German. I can create a QT file without subtitles. But I could not find a way to convert the FCP text into a file.
    a. In FCP, I see no option to export to create an .stl file. How does one go about making the .stl file?
    b. Some software I found like Subtitle Extractor creates an .stl file from an existing track in DVDSP's subtitle tracks, like S1 or S2, etc. I also see no such option in DVDSP to export to create an .stl file. Does this mean I would need to re-write all the subtitles in FCP into DVDSP? This means re-writing over 600 subtitles from FCP to DVDSP! This will take months. Any faster and effective solution? DVDSP is a solution only if this Subtitle Extractor software works! Any feedback on this? I tried to run a quick test in DVDSP but no .stl file was created and it resulted in an error.
    c. I need to identify which subtitles are narration, and indentify the person speaking the dialog for the .stl file. Do I do this on the stl file or FCP (assuming there is a way to convert the FCP work)?
    Using FCP 7.0.3, Mac OSX 10.6.8, 3.06 GHz Intel Core 2 Duo, 4GB Mhz, 500 GB drive

    I've worked with title exchange pro and I thought it was great.  The software author was very helpful when I had a probllem.    I used it in a different way (converting a pre existing stl file into a subtitle track in fcp - a series of text clips with the appropriate timings and placement that I could copy into a sequence - to proof subtitles created by a service before using for a digital cinema print), but I'm pretty sure it'll do what you want. 
    http://www.spherico.com/filmtools/TitleExchange/

  • Vector move_to bulk iterator behavior

    Hi,
    I'm having problems with the following code:
    typedef db_vector<FMDSTOR_RECORD> recVector_t;
    recVector_t _data;
    recVector_t::const_iterator it = data.begin(dbstl::BulkRetrievalOption::bulkretrieval()),
    endIt = _data.end();
    it.move_to(start);
    for(; it != endIt; ++it)
    const FMDSTOR_RECORD& rec = *it;
    I'm not certain that my usage here is correct, I'm trying to do a bulk retrieval from a vector at a specific start position. However as far as I can tell, the move_to method doesn't honor the bulk usage, instead it overrides the beginning of the data array inside of the cursor with the record positioned at start index. Later on in the while loop I eventually get a corrupted record once the bulk iterator backs up to the beginning of the array.
    Is move_to not allowed on bulk iterators? If so, how else can I do a bulk retrieval using stl?
    Thanks,
    Klaudiusz

    Hi Klaudiusz,
    Please have a look at the examples under the db-<version>/examples_stl subdirectory, especially StlAdvancedFeatures.cpp and StlAdvancedFeatures.h, where there is an example of performing a bulk read retrieval (look for the bulk_retrieval_read() method).
    Also, for reference: BDB C++ STL API Reference, STL API chapter (from Berkeley DB Programmer's Reference Guide).
    Note that bulk retrieval iterators can only move in a single direction, that is, from beginning to end, hence the only operator they support is operator++ (reverse iterators only support operator--). The db_vector_base_iterator::move_to method allows for random moving, rather than sequentially, and in this case dbstl will not perform bulk retrieval because in such an access pattern there is not much performance gain from bulk retrieval.
    Regards,
    Andrei

  • Removing corrupt environment without losing database data?

    OK, I'm using Berkeley DB 4.3.28, Java API with no transactions or concurrency. We have several environments with multiple databases under them. Occasionally the environment gets corrupted. The original coder didn't understand this had to be coded for, so I'm trying to fix that.
    Normally, all database environments are opened with the following settings:
    setErrorPrefix(prefix);
    setPanicHandler(new EmsPanicHandler(prefix));
    setJoinEnvironment(true);
    I've recreated the environment corruption and used the following code to remove and recreate the environment (as suggested here: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/cam/fail.html)
              EnvironmentConfig env_config = new EmsEnvironmentConfig("CleanEnvironment");
              env_config.setAllowCreate(true);
                    env_config.setErrorPrefix("string");
                    env_config.setPanicHandler(new MyPanicHandler());
              Environment m_env_handle = null;
            try {
                 File m_file = new File(environment);
                 if (!m_file.exists())
                      System.err.println("Environment "+environment+" does not exist. Skipping");
                      return;
                 System.out.println("Attempting to remove environment "+environment+" with recovery enabled");
                  //m_env_handle = new Environment(m_file, env_config);
                 Environment.remove(m_file, true, env_config);
                 System.out.println("Attempting to recreate environment");
                 m_env_handle = new Environment(m_file, env_config);
            } catch (Throwable t) {
                System.err.println("Exception trying to recover environment "+environment+": "+t.getLocalizedMessage());
            finally
                 if (m_env_handle != null)
                      System.out.println("Closing environment "+environment);
                      try {
                           m_env_handle.close();
                           System.out.println("Environment "+environment+" closed successfully");
                      catch (Exception e)
                           System.err.println("Exception trying to close environment "+environment+": "+e.getLocalizedMessage());
            }This removes and recreates the environment without giving me an error message and apparently without touching any of the underlying databases.
    Unfortunately, when I try using a database in the environment again, I can open the environment, but I get this error when trying to open the database:
    java.lang.IllegalArgumentException: Invalid argument
            at com.sleepycat.db.internal.db_javaJNI.Db_open(Native Method)
            at com.sleepycat.db.internal.Db.open(Db.java:329)
            at com.sleepycat.db.DatabaseConfig.openDatabase(DatabaseConfig.java:478)
            at com.sleepycat.db.Environment.openDatabase(Environment.java:81)
            at com.nmss.db.berkeleydb.Name_Address_Map.open(Name_Address_Map.java:358)
            at com.nmss.db.berkeleydb.Name_Address_Map.retrieveAddress(Name_Address_Map.java:296)
            at com.nmss.framework.inventory.Command.add(Command.java:269)
            at com.nmss.framework.inventory.Command.processArgs(Command.java:59)
            at com.nmss.framework.inventory.Command.<init>(Command.java:39)
            at com.nmss.framework.inventory.Command.main(Command.java:483)The Environment config is the same one I posted at the start of the message:
    setErrorPrefix(prefix);
    setPanicHandler(new MyPanicHandler(prefix));
    setJoinEnvironment(true);
    The Database config is:
    DatabaseConfig db_config = new DatabaseConfig();
    db_config.setType(DatabaseType.BTREE);
    db_config.setAllowCreate(true);
    Can anyone tell why I would be getting this error? Or does removing the environment simply invalidate any database files that were underneath it?
    db_verify used against the database returns 0.
    Thanks,
    Mike
    Message was edited by:
    msully
    Message was edited by:
    msully

    So the latest - I totally removed my old databases and rebuilt my app, with the following environment config:
            setErrorPrefix(prefix.toUpperCase());
            setPanicHandler(new EmsPanicHandler(prefix));
            setInitializeCache(true);
            setTransactional(true);
            setInitializeLogging(true);
            setInitializeLocking(true);
            setAllowCreate(true);Now I am getting the error:
    /var/tmp: no base system shared memory ID specified
    java.lang.IllegalArgumentException: Invalid argument
            at com.sleepycat.db.internal.db_javaJNI.DbEnv_open(Native Method)
            at com.sleepycat.db.internal.DbEnv.open(DbEnv.java:235)
            at com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:714)
            at com.sleepycat.db.Environment.<init>(Environment.java:30)
            at com.nmss.db.berkeleydb.LogHandler.getEnvironment(LogHandler.java:226)
            at com.nmss.db.berkeleydb.LogHandler.open(LogHandler.java:197)
            at com.nmss.db.berkeleydb.LogHandler.store(LogHandler.java:235)
            at com.nmss.util.LogHandlerImpl.publish(LogHandlerImpl.java:45)
            at java.util.logging.Logger.log(Logger.java:452)
            at java.util.logging.Logger.doLog(Logger.java:474)
            at java.util.logging.Logger.logp(Logger.java:590)
            at com.nmss.util.Logger.log(Logger.java:87)
            at com.nmss.framework.inventory.Command.add(Command.java:306)
            at com.nmss.framework.inventory.Command.processArgs(Command.java:59)
            at com.nmss.framework.inventory.Command.<init>(Command.java:39)
            at com.nmss.framework.inventory.Command.main(Command.java:483)

  • Backend File Structure

    Could you please tell me if there is a way in Berkeley db Java Edition (in DPL APIs if possible) to choose which file structure to use for my application in the back-end (i.e. B+tree, hash table, Record number). Or, Is it done automatically by the system? (i.e. Btree for main file and hash tables for collection in the main file and record number if Sequence is used as primary key).
    Also, is the Btree that is used is a B+tree?
    Thank you,
    Samir

    Hi Samir,
    I think you have the two products confused. BDB (C-based product) has multiple access methods (BTREE, RECNO, etc). BDB-JE does not, it only supports BTREE and there is no configuration option.
    For BDB (and of course BDB-JE), the DPL only supports use of the BTREE access method.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to add Index?

    Dear All
    I am using dbxml 2.4.16 and Berkeley DB 4.6.21 on Mac OSX Leopard using Python APIs.
    I want to add index.
    The XML document is like
    <a:tag1>
    <a:tag2 id="bbbb"> <a:tag3 id="123">hello</a:tag3> </a:tag2>
    <a:tag2 id="ccccc"> <a:tag3 id="341">hi</a:tag3> </a:tag2>
    </a:tag1>
    where
    xmlns:a="http://somewhere"
    In this case, how can I add an index to "id" of tag2?
    For example
    container.addIndex("", "id", "node-attribute-equality-string", ucontext)
    will give index to "id"s of tag2 and tag3.
    I tried
    container.addIndex("", "tag2/@id", "edge-attribute-equality-string", ucontext)
    container.addIndex("a", "tag2/@id", "edge-attribute-equality-string", ucontext)
    container.addIndex("http://somewhere", "tag2/@id", "edge-attribute-equality-string", ucontext)
    container.addIndex("http://somewhere", "a:tag2/@id", "edge-attribute-equality-string", ucontext)
    but it seems that these did not work.
    (I checked on dbxml shell using lookupIndex.)
    Any suggestions are welcome.
    -oyasai

    Hi Oyasai,
    you almost got it right. To clear things up, the first parameter to addIndex() is the namespace URI - not the prefix. The second parameter is just the element or attribute name - not an XPath expression, as one might think and, indeed, you did think. The third parameter is the index syntax string, which is 'edge-attribute-equality-string', in your case. (I don't know the Python API, so I don't know if a fourth parameter is necessary. In Perl, it isn't.)
    The way to have BDB actually use that index is, unless I'm mistaken, to include the parent element name in the XPath used for querying, like this:
    collection()[ //a:Broadcast/@cgID='kind' ]Michael Ludwig

  • Facebook Export - Existing Albums Not Found

    I have recently tried using Bridge to export photos to Facebook. However once I sign in, the box labeled "Existing Albums" is empty. This seems odd because I have over twenty existing albums on my Facebook page. Every time I want add photos to an existing album, I am forced click "Create a Photo Album" to create a new one then transfer the files from the new album to an existing one via the Facebook site.
    Anyone else having this issue? Any solutions?
    (Using Bridge CS5 v4.0.2.1 on Mac OsX 10.5.8)

    Dear users,
    I’m glad to share a news with you. The Bridge Facebook module has ported to new Facebook API, also it fixed this issue (Existing albums do not show up). We have published the new version of Facebook to update server. You can update it by following steps
    1) launch Bridge and open Export panel.
    2) Select Manage Modules menu from fly-out menu of the Export panel.
    3) Select Check for Updates from Module Options menu.
    4) Wait for a while, a message pop up to notify you the update is complete.
    5) Restart Bridge, then you can use the new Facebook module.
    Also, Bridge will automatically update Export Modules when you attempt to use a module. Please note that don’t do any export job when updating and Facebook presets might need to re-login before working.
    The main change is the authorization steps. It uses a dialog instead of Explorer.
    Thanks
    Bridge Quality Engineer
    Chenglong

  • Fwrite() and fread() of a shared FAT32 formatted file is taking long time in MAC osx Lion C program

    Hi
    Is there any provision or api in MAC to open a file in shared mode same as windows
       hUSBdrive = CreateFile(pDriveName, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, NULL);
    we have the follwing scenario where a file is shared among two processes for read/write.one is running on Linux and the other one is running on MAC.where both the processses are reading/writing into the same memory location in the file say "X"
    FAT 32 formatted raw data file which is located on the device, is shared among two processes.
    One process is running on Linux device which is connected to MAC book through usb.In this linux process, the file is opened using fopen() and we have used fcntl() with O_DIRECT flag.This process continuously reads/writes data on memory location "X" in the shared file .
    The other process is running on Mac which has simple c program that opens the file on the connected device i.e from usb drive and reads/writes data using fread()/fwrite().fopen() is used to open the file and FILE_NOCACHE flag is used to avoid caching.
    The value at memory location "X" is updated by mac by using fwrite() and the linux process reads the memory location "X" by using fread(). Linux process is taking around 30 sec to get the updated value.
    If the value is updated by Linux process at memory location "X" by using fwrite() the MAC process is also taking long time more than a minute to read the updated value by usng fread().
    fwrite()/fread() on mac is taking long time where as the windows application which uses the same apis is taking msec time.
    Do we need to use other api s or flags to open file?
    thanks in advance.......

    does any one face this kind of problem?
    fwrite() and fread() takes long time?
    Is there any problem in read/write to a fat32 file on MAC?

  • July 2nd Release

    Cristinel Anastasoaie
    July release - New admin user interface updates, additional customer reports and bug fixes
    We are announcing a new Business Catalyst release, scheduled to go live on Monday, July 2nd.
    With this release, we have focused on improving the new user interface and make it ready for prime time, added additional reports and continued updating the new file manager. Additionally, we  started to deliver on a series of fixes and product improvements that have been requested by our partners during the last few months.
    Infrastructure updates
    To ensure the highest security and performance levels for our services, we're applying a software update on all our database servers. For more details about the update, read our Business Catalyst Service Maintenance, June 2012 - Updated blog post.
    Features and enhancements
    New admin interface is now the default interface for new users
    With this release, the new admin user interface will become the default interface for new users and customers, regardless of when the website has been created. To ensure a smooth transition to the new interface, we will continue to allow  customers use the interface of their choice and the system will remember their selection the next time they login to admin.
    Customers and secure zones report
    Secure zones are a great way of creating membership websites which were lacking some basic reporting features that would have enabled customers to view detailed information about their subscribers or send them email campaigns related to their subscription.
    With this release, we are enhancing our reporting system by allowing customers to create and save reports of customers and secure zone subscriptions. This report will automate many of the manual tasks a site owner has to do today to extract actionable reports for customers subscribed to secure zones. Additionally, once such a report is created it can be used in the email marketing system to send email campaigns to these customers.
    For the next release we are looking into exposing the opt-in status so that customers can view their subscribers communication preferences and act based on this information.
    Redirect system domain and URLs to default domain for better SEO performance
    Starting with this release, we are allowing users to redirect system domains and URLs to the default site domain or corresponding URL using 301 redirects. This will help customers achieve better SEO performance and avoid duplicate content penalties from search engines. To enable this redirect, users will have to edit the system domain and check the Redirect to default domain check box.
    With the July release, we are going to enable the same functionality for secure URL as well, with the exception of payment pages and POST requests, which will remain on the secure domain.
    Note: when admin user is logged in admin using the system domain, the system will not redirect front-end pages while session is still active; user must log out of admin for the redirect to work.
    User interface consistency for renamed modules
    The new admin user interface  has been updated to consistently use  new names for these modules:
    Media downloads (former Literature)
    News (former Announcements)
    Events (former Bookings)
    There are still two  areas where the old naming is being used:
    Module & tag names (e.g. { module_announcement }, { tag_announcementurl_value })
    FTP folder names (e.g. /Layouts/Announcement)
    These will take a significant engineering effort to update, as we need to support  existing sites that could be already checked out to local file systems, or replicating existing sites. Together with some of the partners that are using this features intensively, we decided to leave these areas with the old naming for now, and redirect the engineering effort in two larger projects currently under way: handling partner enhancement requests and a better web apps engine.
    Offline payment security improvements
    The security of the current offline payment workflow has been improved in order to meet international security standards for offline payments:
    A new, additional “Offline payment password” must be set, and updated every 90 days
    Pass phrases are now unique to each order. You can no longer use the one pass phrase to access every secure PDF 
    This will help transactions be more secure and protect business owners from potential attacks. Here's a more detailed view of this feature.
    Delete paid and Creative Cloud sites from the Admin Console
    We moved the "Delete Site" functionality to the Admin Console of the website in order to help Creative Cloud users and beginners cancel an existing paid website that they don't need anymore. Here's a snapshot of this new feature.
    Other changes
    Invite Partner user: starting with the release, partners can add other partners as site admins through the Site Details screen in the Partner Portal. This functionality has been moved from the User Management interface and it is enabling partners to collaborate on developing a site without impacting the site admin limit
    File Manager alpha: drag'n'drop can be used to move one file at a time between different folders
    File Manager alpha:  expired sessions will prompt you to re-enter your password and resume your work on already opened files
    Billing Settings admin menu is hidden for all users of trial or Creative Cloud redeemed  sites
    MetaWeblogAPI switch to https - Starting with this release, we will push a security update for the MetaWeblogAPI of Business Catalyst to disallow use of an unsecured connection (http) as that sends login credentials in plain text.
    Updated time zone for CRM entities: we have updated several CRM screens so that they display entities based on site's time zone instead of the Asia Pacific datacenter time. The following lists have been updated: Customers, Orders, Cases, Event Bookings, Opportunities and Modules>Comments
    Updated free trial sign-up: Free trial sign up with an existing Business Catalyst or Adobe ID user now creates an additional trial site and places it under the user's partner portal
    Deprecated functionality
    CRM User Passwords will no longer be exposed through API and custom reports - with this release we are completing our security policy update for CRM passwords and will stop delivering CRM user passwords through API and Custom Reports. For more details about the security update, read our Important Security Policy Updates for CRM Users - Effective February 8th announcement
    Blog trackbacks, not present in new user interface, have been removed from the new sites templates as well. While existing trackbacks will continue to work, we recommend to remove them from your sites due to spam issues, and use instead social modules for significantly more effective content sharing
    Triangle Dreamweaver extension for versions CS3 and CS4 will stop functioning after July 30th. Please use these newer alternatives.
    Separate menu visibility setting has been dropped from the new admin user interface and replaced with a more granular permission system that also control the menu visibility. More details about the new permissions system on our February release notes blog post
    Issues fixed by May release
    Updated caching engine to refresh cache when resizing images under 52 KB
    Added single sign-on between Creative Could and Business Catalyst
    Dreamweaver: the free partner site for standard and premium partners appears in sites listing
    Issue 3085538 - Fixed an issue that caused a blank page to be displayed when  trying to download a literature item that does not have a physical file on the disk
    Issue 3186843 - Fixed an issue that was causing changes to the template to not propagate to the pages
    Issue 3188096 - fixed an incorrect logic in template caching mechanism causing preventing users from seeing the changes in the template
    Issue 3189902 - Updated the system limit recipients list to remove the email only users
    Issue 3192349 - Removed search/new case from old PP support
    Issue 3192268 - Updated the "Syndicate this Blog RSS" option tooltip from the Blog details page to specify that only new blog post will be added to the feed once the setting is activated
    Issue 3201622 - Fixed a Creative Cloud integration problem forcing users to purchase an website when they still had available entitlement sites
    Issue 3199468 - Fixed an issue preventing new business owner users that on sites created by  free partners  to post cases
    Issue 3120761 - Fixed a bug causing 'An error occurred' message to be displayed when trying to add a Hyperlink in a Message from a Case
    Issue 2991429 - Fixed a bug causing deleted field in a Web Form from a Template site  to be carried on a new site when replicating sites from a template site
    Different internationalization small bugs for French and Japanese
    Business Catalyst new admin interface updates
    Removed Advertising Group permission from user roles permission selection screen
    Updated permissions to stop requiring Administer system permission for creating email accounts
    Changed the corresponding permissions for import screens so that users can import entities if they have permissions to edit or delete
    Updated the CRM>Customers>Customer Detail>Subscriptions screen stop displaying an "ERROR: You do not have any catalogs. Please create one." error message when site has no catalogs
    Updated the generate the XML feed screen behavior to display the resulting URL clearly and allow users to copy and paste it
    Updated invite user email content to include links to the site admin so that invited users can use the email to retrieve the admin URL
    Fixed a push site live issue resulting in a crash when used by admin users that were also partners
    Updated the edit web app item screen to have a single default action
    Fixed an issue causing a Java Script error when trying to open link manager from within radTree link picker
    Fixed an issue preventing users from resending the invitation email for an email account right after adding it as admin user
    Fixed an issue causing the "Lost your password" link to open the "Retrieve Password" dialog with in the old interface when used in a  "Sign-In" dialog triggered by 401 exception
    Added e-commerce & website reports in the recent items menu
    Fixed an issue causing the CRM search results to be displayed over the search field
    Fixed an issue preventing users from adding catalogs using the quick actions menu, right after adding another catalog
    Fixed an issue preventing users from adding web apps using the quick actions menu, right after adding another web app
    Fixed an issue preventing users from creating or updating blog posts when the interface language wasn't set to English
    Removed delete action for system and secure domains
    Updated email campaign wizard to open the email preview in the new browser window
    Updated an error message displayed in the domain management user interfaces when trying to add a domain that exists on another site
    Added workflow approval process link in page details
    Removed sales quota from forecast report
    Updated "Add Domain" link behavior in webBasics sites to display the "Push Site Live" button when trying to add a domain on a trial site
    Updated the new File Manager to prevent users from removing the "{tag_pagecontent}" from a template; starting with this release, the system will display an warning and will not save the template
    Fixed a bug preventing the system from saving a web app when users were selecting a template and moved to the next step
    Fixed a a bug causing web app fields to not be saved when creating a new web app
    Fixed an issue causing the left navigation menu to break when switching between the File Manager and the admin dashboard
    Fixed a bug in the client site validation in the "My Details" screen that was generating a Java Script error
    Fixed the scrolling in email marketing reports on the Mac OSX/Safari configuration
    Fixed an issue causing the  link manager to stop working when loaded in a pop-up window
    Fixed an icon rendering issue on the recent items menu
    Fixed several issues generating Java Script errors when managing users and email accounts
    Fixed an issue in the File Manager making the "[See Details]" buttons to open the image manager in the old admin interface
    Fixed an issue on Internet Explorer causing the admin interface to remain in a loading state after downloading the import template
    Fixed an issue causing quick actions menu to stop working when trying to add a page after editing and saving a page
    Fixed an issue making the breadcrumb info to change in the current displayed page after subsequent clicks on a selected web app entry in the menu
    Updated the Websites Report interface to correct a design issue
    Updated the  Customer Reports>New Customer Report>Fields interface behavior to stop forcing users to  select a data field when trying to go back to report type selection step
    Fixed a bug generating a error when trying to insert an image with the Image Manager when editing a page
    Fixed an issue in website reports causing an error when trying to export   as PDF
    Added the "Upgrade" button for sites under consolidated billing
    Updated error messages for TOU management, billing management, sign-in dialogs, API errors
    Fixed an issue causing the system to send the password recovery email when pressing ENTER in the "Edit Admin" user screen
    Fixed a Java Script error preventing users to access the File Manager
    Fixed a rendering issue with the File Manager on Internet Explorer 9
    Updated File Manager to allow customers upload files in site root
    Increased the indentation depth level to enable file list indenting to work for level 4+ folders; we should increase the depth level of indentation
    Fixed several issues causing interface to freeze or crash after moving files or folders
    What's next
    Setting page and template properties from new File Manager (mockups)
    Consistent Save & related action buttons in the new user interface (mockups)
    Redirect secure domain to default domain
    Other smaller improvements including use of absolute links in the email marketing editor, display email address in events subscribers list, random display web app items by category
    For up to date and more detailed information about near term improvements, join us in one of our June Partner Townhall meetings.
    Thank you,
    Cristinel Anastasoaie
    Adobe Business Catalyst Product Manager

    ok mate, first off please, layoff the pissed off giant block of text posting style, it makes it hard to read your post lol.
    second, the flexijack only supports line in, microphone in and optical out on this card thats why the option was greyed out/ removed
    its not needed with this card.
    and, just to make sure, you are pluging your mic into the white jack with red light coming out right?
    after that, you are selecting microphone as your audio input on the recording settings of windows volume control right?

Maybe you are looking for

  • ASA 5505 VPN VLAN Issue.

    I am unable to figure out why I can't access other vlan interfaces when I VPN into the ASA. I use 192.168.26.x as the main network. I can ping and RDP into that network, however, I cannot access anything on 192.168.20.x, 21.x, or 22.x - I can however

  • When im on the phone my ear keeps pressing the apps how do i stop it

    when im on my phone my ear only has to touch an app and it keeps beeping how do i stop it from happening

  • Inserting Comments into Universe SELECT and WHERE clauses

    I am converting an application from Crystal Reports to Business Objects.  In conjunction with that, I am (manually) converting our Business View to a Universe.  In Crystal we frequently documented our formulas using the Crystal Syntax "//...".  Out o

  • SMQ2 queue deletion.

    Hello Everyone, Is there a way to delete the SMQ2 queues in SRM? We have thousands of records and we do not want to delete each queue manually. Any help to get this? Regards, Khushbu.

  • Can pivot capable monitors be used in vertical position with Tiger OS?

    I'm a writer and want to purchase an LCD monitor with pivot cabability, so I can use it in the vertical position to see an entire page. I know that pivot monitors come with software to enable viewing in the vertical position for Windows PC's, but is