Load c++ library using SWIFT

Dear Team
can i load a c++ shared library using SWIFT Language ??
may i have a sample ?
Kind regards
dgu

You'll be happy to know that Swift has it's own forum in the Dev Center now.

Similar Messages

  • Cannot dynamically load dylib library using Alchemy?

    hello,
    I'm on Mac osx Leopard , i have build a dylib from C code who
    basically invert a string ("hello" becomes "olleh")
    I want to compile and create with Alchemy a .swc file who
    call my dylib file.
    Finally i want to import my .swc file in flex builder and
    being able to use my invert function who is in my dylib library
    Is it technally possible ?
    Thanks everyone for your help.

    Every line of C/C++ code you want to use in Alchemy must be
    compiled using Alchemy. You cannot link in naively compiled code.
    So if you have the source for each library, you can compile them
    using the alchemy toolset and then link those static libs into a
    swc with a glugen or raw alchemy interface.

  • Cannot load my library onto my ipod since getting icloud?  Itunes states that I need to download from icloud?  Can I not use my ipod as I did pre-icloud?

    cannot load my library onto my ipod since getting icloud?  Itunes states that I need to download from icloud?  Can I not use my ipod as I did pre-icloud?

    Chris CA wrote:
    You cannot backup photos to iCloud.
    You can enable Photo Stream (in Settings > iCloud) but only for 30 days and only a max of 1000 photos.
    Then what does this mean? It was copied from the kb article that I posted above.
    Reducing the size of your Camera Roll backup
    If you take lots of photos and videos with your iOS device, you may notice your Camera Roll takes up most of your iCloud Storage backup. To check the size of the Camera Roll backup on your device:
    On your Home Screen, tap Settings.
    Tap iCloud.
    Tap Storage & Backup.
    Tap Manage Storage.
    In the Backups section, tap your device.
    In the Backup Options section, the backup size is displayed under Camera Roll.
    To reduce the size of your Camera Roll backup, save your photos and videos locally to your computer with iTunes, and then manually back up your iOS device. If you want to keep your photos and videos on your iOS device, you can turn off Camera Roll in Backup (see the "Deleting backups and turning off Backup for your Device" section above) orpurchase additional storage.

  • How to Load 2 library files using System.loadLibrary in one .java file!!!

    Hello,
    Someone please help me. What I am trying to do is load two .DLL files in my program. Program works fine when I
    do the following way i.e. I have two .java files and in each I am loading one .DLL file. But I don't want to have
    two .java files I want to load both the .DLL files in one program.
    **************** Example.java **********
    import java.io.*;
    import java.util.*;
    public class Example
    public native int A(String in);
    static
    System.loadLibrary( "API2" );
    public static void main( String args[])
         Ex ex = new Ex();
         int r;
         r = ex.A("TEST");
    public Example()
    *****************Ex.java*****************
    public class exsysml
    public native int A(String in);
    public exsysml()
    System.loadLibrary("API3");
    The above way works. But I need only one .java file to load both the .DLL files. i.e.
    import java.io.*;
    import java.util.*;
    public class Example
    public native int A(String in);
    static
    System.loadLibrary( "API2" );
    System.loadLibrary( "API3" );     
    public static void main( String args[])
         Example ex = new Example();
         int r;
         r = ex.A("TEST");
    public Example()
    but when I do this way it doesn't work and I get a UnSatisfiedLinkage Error at ex.A("TEST"). While doing the top way it works.
    How can I fix this to just have one .java file and load both the library files as done in the bottom program but doing this program doesn't work. Any help is appreciated.
    Thanks!

    what I figured out so far is that we can only load one library file in a single class and define all the native methods present in that library in the class where we are loading it. Means we can't load multiple library files in a single class. It's just my thought else if someone provides a better solution. I may be wrong so that's why I need your help.
    Thanks

  • Unable to Load JdbcOdbc library -- Linux

    I know this question has been asked a lot, but I couldn't find a helpful answer in all my searches. I'm trying to use JdbcOdbc to connect to MySQL via ODBC on Linux. I have to use ODBC as part of an assignment, which is rather annoying, since the MySQL J/Connectivity JDBC driver works perfectly. But the assignment sort of assumes I'm on Windows and using MS Access, although I did have a choice to use MySQL.
    That's the background.
    This is the error I'm getting when trying to connect to ODBC. It's loading the driver all right (ie: no problems if I comment out the lines that tries to connect to the database).
    *Driver.connect (jdbc:odbc:flightData)
    JDBC to ODBC Bridge: Checking security
    No SecurityManager present, assuming trusted application/applet
    JDBC to ODBC Bridge 2.0001
    Current Date/Time: Wed Mar 19 09:12:20 CST 2003
    Loading JdbcOdbc library
    Unable to load JdbcOdbc library
    Exception in thread "main" java.lang.NullPointerException
    at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:435)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:153)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at testData.main(testData.java:17)
    I've tried variations on the URL and the connect pattern, but it seems almost certain that it cannot load the library, and it's not the URL that's the problem yet.
    What I've done:
    I did a search on google and on this forum. I found that the directory containing libJdbcOdbc.so should be in /etc/ld.so.conf. I added it and I ran ldconfig -v; the library is listed in the output of that command, so I think it is loaded. I don't know how to check if a particular library is loaded?
    In this forum, I found that there might be a problem with the access permissions. I read that I should set the AllPermission policy to see if that's a problem, but I'm not exactly sure how to do that. Policytool is kind of cryptic, and on top of that, its GUI window is not displaying properly for me. If somebody could tell me the contents I should put in ~/.java.policy to enable all permissions, it might help.
    In addition, I've tried using the JDBCTest tool, and it also was unable to connect to ODBC. However, if I use the tool called DataManager that is a part of the ODBC implementation, it can connect to the database easily (which indicates that the database is properly set up via ODBCConfig, I think).
    My System:
    I'm running Debian Linux 3.0 (Woody) / unstable. I'm using the Blackdown version of Jdk1.4, which I retreived via apt-get. I'm not absolutely certain what I've got running ODBC; I also got it via apt-get. As mentioned, the tools odbcinst, ODBCConfig, and DataManager are all installed on my system.
    I'm really confused by this problem, since all the advice I've been able to find has helped other people, yet I'm still lost!
    Thanks,
    Dusty

    After running ldd on libJdbcOdbc.so, I realized I had to make a couple of symlinks from odbc.so.1 in /usr/lib to odbc.so.
    Dusty

  • Sybase gateway problem - Failed to load dynamic library 'hsdbsyb'

    Having problems getting the Sybase gateway working on XP. Environment in Oracle 9.2.0.6 on Linux, Sybase on AIX 5.1 (moving to linux, gateway currently working well on this box) gateway on XP. I get the following error when trying to use my db link: Help appreciated
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for SYBASE]DRV_InitTdp: DBTYPE.C (473): ; The specified module could not be found.
    ; at FIND_IMAGE_SYMBOL
    DBTYPE.C (7): ; [C079] Failed to load dynamic library 'hsdbsyb'
    tnsnames on linux box has:
    CIT001TSTW =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = lons00106694)(PORT = 1521))
    (CONNECT_DATA =
    (SID = cit001tst)
    (HS = OK)
    on gateway windows box (has oracle client and gateway software and sybase client)
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\progra~1\oracle)
    (PROGRAM = extproc)
    (SID_DESC=
    (SID_NAME = cit001tst)
    (ORACLE_HOME = c:\progra~1\oracle)
    (PROGRAM = tg4sybs)
    initcit001tst.ora
    HS_FDS_CONNECT_INFO=CIT1_LON_TST_SQL.cit001tst
    HS_FDS_TRACE_LEVEL=ON
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_TRACE_LEVEL=4
    HS_FDS_FILE_NAME=trace
    # Environment variables required for Sybase
    set SYBASE=c:\progra~1\sybase\oc1251
    sql.ini
    [CIT1_LON_TST_SQL]
    win3_query=WNLWNSCK,loncmxs0004.uk.net.intra.,5000
    query=NLWNSCK,loncmxs0004.uk.net.intra.,5000

    Yes, this VI is damaged. I can not open it.
    Colin
    LV7.1/8.2/8.2.1/8.5/8.6/9.0/2010/2013; testing system development
    Please Mark the solution as accepted if your problem is solved and donate kudoes
    Home--www.colinzhang.net

  • Yet AGAIN! "You can't open your current photo library using this version of iPhoto"

    I have read every thread on this topic I could find in these forums, and tried most solutions, and I still can't get iPhoto to work. 
    Equipment:  MacBook Pro June 2010, OS 10.6.8.  Bought a Macbook Air February 2012, OS 10.7.2
    Not sure why, but I can't open iPhoto.  Here's what I have tried.
    Original message on MBPro:  "You can’t open your current photo library using this version of iPhoto". 
    1.  Tried to rebuild library as per this thread https://discussions.apple.com/message/8429269#8429269.  I get the list of checkboxes, but when I hit "okay" I get the same "you can't open your current photo library ..." message again.
    2.  Ran software update - no sign that iPhoto is out of date.
    3.  Copied new version of iPhoto from brand new MBAir to MBPro, replacing older version .  Got same "you can't open your current photo library ..." message again.
    4.  Tried to rebuild library using new version of iPhoto - guess what - same message.
    5.  Downloaded free trial version of iPhoto Library Manager as suggested in the thread referenced above.  The dmg loads to my desktop just fine but nothing happens when I click on it -- this has never happened before.  Perhaps it is looking for iPhoto, which of course I can't get to work.
    So I have been unable to access my old iPhoto library with (sob) thousands and thousands of family photos in it.  I run TimeMachine on to an external hard drive every hour so I hope that if my iPhoto library is corrupted, there is a safe copy on that external drive ...
    Between this hassle -- hours of time wasted -- and recent debacle of upgrading iTunes which erased my library and all of my playlists, which also took hours and hours to restore ... my 25 year devotion to Apple products is taking a major hit.  I'm getting very weary of heart-pounding fear every time a new software upgrade arrives ... but that's a topic for another time. ;-)
    Thank you very much indeed for all suggestions.

    I'm going to start from scratch as  the link you references is very, very old.
    Try this:  launch iPhoto with the Option key held down and try to create a new, test library and import some photos. If you are able to then the problem lies with your current library. If you get the same message then maybe the iPhoto application is the problem.
    Try the following again:  make a temporary, backup copy (if you don't already have a backup copy)  of your library and apply the three fixes in order as necessary.
    Fix #1
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your HD/User/Home()/ Library/Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your HD/User/Home()/Library /Caches/com.apple.iPhoto folder. 
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    Fix #2
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #3
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    If all of these fail there's one more option:
    Start over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1.  Move the existing library folder to the desktop.
    2. Open the library package like this.
    Click to view full size
    3. Launch iPhoto and, when asked, select the option to create a new library.
    4. Drag the each subfolder in the Originals folder (iPhoto 09 and earlier) or the entire Masters (iPhoto 11) folder from the iPhoto Library on the desktop into the open iPhoto window.
    Click to view full size
    This will create a new library with the same Events as the original library but will not keep the metadata, albums, books slideshows and other projects.
    OT

  • You can't open your current photo library using this version of iPhoto.

    I tried to open iphoto this morning and recieved this message: "iphoto damaged or incomplete." There was also a white circle with a slash through the icon in both dock and applications folder.  Recently I had loaded idvd from ilife since it was not included on my MBP.  I reinstalled iphoto using the disc and then the following began to occur.
    I received this message when I tried to launch iPhoto after reinstalling. Yesterday it was working fine. "You can’t open your current photo library using this version of iPhoto." It gave me the option of quitting but nothing else.
    I followed directions on another thread to rebuild using the database by holding down command+option while launching iphoto.  None of my folders came back and all the photo boxes are empty, although there are dates.
    I do have a backup on an external but am not sure how I would restore using that (I've never had to in the past).
    This is iphoto 11 - version 9.1. I am unsure how to check what version was installed when I purchased this MBP (Nov. 2012). I am also runnign OSX 10.8.3
    Is there anyway to remove the update and recent install and revert to what I had yesterday? Or even two days ago?
    Any help would be appreciated. I don't want to have to re-create my folders.
    Thanks in advance!

    When you installed iDVD, you must accidentally also have reinstalled and downgraded iPhoto.
    This is iphoto 11 - version 9.1. I am unsure how to check what version was installed when I purchased this MBP (Nov. 2012). I am also runnign OSX 10.8.3
    You have two options, either delete your current iPhoto version and reinstall iPhoto from the AppStore, or go to the -menu and run Software update to upgrade your current iPhoto version to iPhoto 9.4.3, the current version.
    To reinstall: See this document http://support.apple.com/kb/ht4718
    Scroll down to the paragraph: Restoring iLife applications after Internet Restore of OS X Lion or OS X Mountain Lion
    It explains how to reinstall the bundled iLife applications, that came preinstalled, from the AppStore.
    Regards
    Léonie

  • Error while creating database - Cannot load backend library 'oci.dll'

    Hi all,
    I am newbie to Timesten imdb (in memory database). I do not wish to use oracle rdbms.
    I have installed the Timesten IMDB on Win2003.
    E:\TimesTen\tt70_32\bin>ttVersion.exe
    TimesTen Release 7.0.5.0.0 (32 bit NT) (tt70_32:17000) 2008-04-05T00:54:16Z
    Instance admin: m4sadm
    Instance home directory: e:\TimesTen\tt70_32
    Daemon home directory: e:\TimesTen\tt70_32\srv\info
    While installing, I followed the viewlet at: [http://www.oracle.com/technology/products/timesten/viewlets/tt70_install_win_viewlet_swf.html]
    Now, I am planning to create a database, and so following the viewlet at: [http://www.oracle.com/technology/products/timesten/viewlets/tt70_create_db_win_cc_viewlet_swf.html]
    However, when I give the command (according to the viewlet), I get the following error:
    Command> select * from v$version;
    5102: Cannot load backend library 'oci.dll' for Cache Connect. OS error message '<empty>'.
    The command failed.
    Can anyone provide pointers to resolve this?

    I'm guessing you chose No to the install question about using Cache Connect to Oracle? This would cause certain libraries not to be installed at install time, specifically libraries that would enable you to use TimesTen Cache Connect to cache data from Oracle tables.
    The table "v$version" that you use in your select
    select * from v$version
    only exists on an Oracle RDBMS. It doesn't exist on TimesTen. Moreover the second viewlet you refer to is about using the TimesTen Cache Connect feature to cache tables from Oracle RDBMS. If you're not interested in using Oracle RDBMS, as you say, it would be my assumption that you're also not interested in using the TimesTen Cache Connect feature? So I'm a little confused here about your intentions. Are you interested in using TimesTen as a standalone datastore, or do you want to use it to cache data from tables located in an Oracle RDBMS?
    Thanks.

  • Download older version of a file from SharePoint Document Library using CSOM and 404 error

    Hi,
    I am trying to download previous versions including Major and Minor versions of documents from SharePoint Online using CSOM. I get 404 error when I try to download the file. I found several posts on various discussion forums where people are getting same
    error but none of those have any solution/answer. Below is one of the threads and sample code I have tried that results in 404 error. If I use the link in browser directly, I am able to download the file. Also I am able to download the current version of file
    using CSOM without any problem, it is only the older versions that give me 404 in CSOM.
    http://qandasys.info/how-to-download-the-historical-file-version-content-using-csom/
    public int GetStreamFromFile(string docid, string lib, string fileurl, ClientContext clientContext, int iuserid, string Version, bool isCurrrent)
    if(!isCurrent)
    List LibraryName = clientContext.Web.Lists.GetByTitle(lib);
    clientContext.Load(LibraryName);
    clientContext.ExecuteQuery();
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml = "" + fileurl +
    Microsoft.SharePoint.Client.ListItemCollection collListItem = LibraryName.GetItems(camlQuery);
    clientContext.Load(collListItem, items => items.Include(item => item.Id, item => item["FileLeafRef"], item => item["LinkFilename"],
    item => item["FileRef"], item => item["File_x0020_Size"], item => item["DocIcon"], item => item.File.Versions));
    //clientContext.Load(collListItem);
    clientContext.ExecuteQuery();
    foreach (Microsoft.SharePoint.Client.ListItem oListItem in collListItem)
    //string fileurl1 = (string)oListItem["FileRef"];
    //string filename = (string)oListItem["LinkFilename"];
    foreach (FileVersion version in oListItem.File.Versions)
    if (Version == version.VersionLabel)
    //Added excutequery to get object one more time as per blog
    //http://social.technet.microsoft.com/Forums/de-DE/sharepointdevelopmentprevious/thread/88a05256-8694-4e40-863d-6c77512e079b
    clientContext.ExecuteQuery();
    FileInformation fileInformation = ClientOM.File.OpenBinaryDirect(clientContext,version.Url);
    bytesarr = ReadFully(fileInformation.Stream);
    Darwaish

    Hi,
    According to your description,
    I know you want to get older version of a file from SharePoint Document Library using Client Object Model.
    The following code snippet for your reference:
    public void GetVersions()
    ClientContext clientContext = new ClientContext(“http://SPSite”);
    Web site = clientContext.Web;
    clientContext.Load(site);
    clientContext.ExecuteQuery();
    File file = site.GetFileByServerRelativeUrl(“/Shared Documents/mydocument.doc”);
    clientContext.Load(file);
    clientContext.ExecuteQuery();
    ListItem currentItem = file.ListItemAllFields;
    clientContext.Load(currentItem);
    clientContext.ExecuteQuery();
    FileVersionCollection versions = file.Versions;
    clientContext.Load(versions);
    clientContext.ExecuteQuery();
    if (versions != null)
    foreach(FileVersion _version in versions)
    Console.WriteLine(“Version : {0}”,_version.VersionLabel);
    More information:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.file.versions.aspx
    Best Regards,
    Dennis Guo

  • Error-can't view photos in photo library using this version of iphoto .

    Hi, I recently bought a macbook air and wanted to transfer pictures to it from my old mac (macbook 10.4.11). I viewed the pictures through file sharing, but was unable to finish saving most of the pictures that day.
    When I try and view my iphoto photos now from/and on the macbook or the macbook air, it tells me I am unable to view the photos (you can't open your current photo library using this version of iPhoto. You have made changes to your photo libray using a newer version of iPhoto. Please quit and use the latest version of iPhoto.) I can't download the latest version of iphoto on that computer because it's 10.4.11. When I try to view the photos on the macbook air through file sharing (like I had done previously and it worked) it gives me the same message as above and I have the most recent version of iPhoto on the macbook Air. Anyone able to help me out?? I am unable to view any of my photos, is there any other way of opening photos other then through iphoto?? Thanks, Bo

    If you opened an older iPhoto library with a newer version of iPhoto you received a warning that the library would be converted and that this can not be undone so you will have to either:
    1 - Load your backup from before the conversion;
    2 - upgrade to iPhoto '09 on the old system (which will require an OS upgrade too); or
    3 - create a new library on the old system and reimport the photos form the originals folder on the library that you mistakenly upgraded
    LN

  • Error in SAPGUI-on AIX- Can't load JNI library

    Error in SAPGUI-on AIX- Can't load JNI library
    I am getting error as below:
    ^C# ./sapgui /H/punlparidm06 /S/sapdbIND
    ERROR #############################
    07.03. 12:48:37.619 ERROR: Attempt to load shared library /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so failed.
    07.03. 12:48:37.619 ERROR: The library file exists, so either the program
    07.03. 12:48:37.619 ERROR: don't has the privileges to access the library
    07.03. 12:48:37.619 ERROR: or the library is not loadable by the shared object loader
    07.03. 12:48:37.619 ERROR: Technical information:
    07.03. 12:48:37.619 ERROR: Error location: GuiJniLoader.loadPlatinLibrary()
    07.03. 12:48:37.619 ERROR: Error message : /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so: load ENOEXEC on shared library(s) /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so
    ERROR #############################
    java.lang.UnsatisfiedLinkError: /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so: load ENOEXEC on shared library(s) /local/SAPClients/SAPGUI7.00rev2.1/bin/libJPlatin.so
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2144)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1973)
    at java.lang.Runtime.load0(Runtime.java:773)
    at java.lang.System.load(System.java:887)
    at com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:114)
    at com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:24)
    at com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:289)
    at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:316)
    at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:860)
    at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:275)
    at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:44)
    at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:447)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1670)
    at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1750)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.platin.Gui.main(Gui.java:65)
    java.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library
    at com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:25)
    at com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:289)
    at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:316)
    at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:860)
    at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:275)
    at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:44)
    at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:447)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1670)
    at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1750)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.platin.Gui.main(Gui.java:65)
    ERROR #############################
    07.03. 12:51:52.173 ERROR: GuiConnection: Connect failed
    07.03. 12:51:52.173 ERROR: JniAgiLibAdaptor.<init>: Cannot load JNI library
    ERROR #############################

    Hi,
    It seems to be a permission issue.
    Just check the permissions and grant 755 using chmod comand.
    Hope it helps.
    Reward suitable points!!!!!

  • Can't open current photo library " using this version of iPhoto"

    "You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto."
    Got a surprise today. My husband used his new Mac with Ilife9 to reach into the network and get the iphoto library on my machine. I have no idea what he did to make my files convert to a new format, but converted they are.
    How can I get them back exactly the way they were without updating my software.
    Can he export them, or I import them, somehow, to replace the my "changed" files into files my version of iphoto can open?
    His iphoto library (taken from me) would be identical to the one I have that won't open with my version of Iphoto.
    Any tricks to restore my pics and the peace of my home?

    "You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto."
    Got a surprise today. My husband used his new Mac with Ilife9 to reach into the network and get the iphoto library on my machine. I have no idea what he did to make my files convert to a new format, but converted they are.
    He opened your iPhoto library and approved the upgrade after being notified that it was non reversible - If he wanted a copy of your iPhoto library then he should have copied it to his computer leaving yours alone and then opened the copy on his computer converting it there
    How can I get them back exactly the way they were without updating my software.
    Load your backup - the conversion is not reversible
    Can he export them, or I import them, somehow, to replace the my "changed" files into files my version of iphoto can open?
    His iphoto library (taken from me) would be identical to the one I have that won't open with my version of Iphoto.
    Any tricks to restore my pics and the peace of my home?
    If you do not have a backup then your choices are to upgrade your computer to iPhoto '09 or to start over with your original photos losing all edits, keywords, albums,etc -- to do this quit iPhoto on your computer and drag the iPhoto library to the desktop - launch iPhoto and be sure that the iPhoto preference to "split items imported from the finder into events" is NOT checked and create a new library and open the iPhoto library on the desktop and go to the originals folder and drag each folder in it onto iphoto - this will recreate yoru events with the original photos
    LN

  • Error when trying to load iPhoto library from External HD

    I copied my iPhoto library to my 3TB Seagate External HD to save space on my MacBook Air, but when I try to load that library (either by holding option as I open it and select the one in my HD or by double clicking the one in my HD) I get this error message: "Your photo library is either in use by another application or has become unreadable." My iPhoto library is taking up too much space, please help!

    What format is that external drive?

  • Exception calling "Update" with "0" argument(s): "To add an item to a document library, use SPFileCollection.Add()"

    Hi i am trying to add a new item and update existing field value in a document library with powershell 
    but i receive below error message.
    PS C:\Users\spfarm> C:\Scripts\add.ps1
    Exception calling "Update" with "0" argument(s): "To add an item to a document
    library, use SPFileCollection.Add()"
    At C:\Scripts\add.ps1:24 char:16
    + $newItem.Update <<<< ()
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DotNetMethodException
    #Add SharePoint PowerShell Snapin which adds SharePoint specific cmdlets
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    #Variables that we are going to use for list editing
    $webURL = "http://tspmcwfe:89"
    $listName = "test"
    #Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    #Get the SPList object to retrieve the "Demo List"
    $list = $web.Lists[$listName]
    #Create a new item
    $newItem = $list.Items.Add()
    #Add properties to this list item
    $newItem["Title"] = "My second item!"
    $newItem["Info"] = "s15"
    #Update the object so it gets saved to the list
    $newItem.Update()
    $web.Dispose()
    adil

    Hi Adil,
    Document Library is different from a normal list. The document library contains files inside it. You need to update the code to add a document to the library. Then you can get hold of the List Item represented by that file and update its properties. Here
    is an example:
    $WebURL = "http://aissp2013/sites/TestSite"
    $DocLibName = "Docs" 
    $FilePath = "c:\blogs.txt" 
    # Get a variable that points to the folder 
    $Web = Get-SPWeb $WebURL 
    $List = $Web.GetFolder($DocLibName) 
    $Files = $List.Files
    # Get just the name of the file from the whole path 
    $FileName = $FilePath.Substring($FilePath.LastIndexOf("\")+1)
    # Load the file into a variable 
    $File= Get-ChildItem $FilePath
    # Upload it to SharePoint 
    $spFile = $Files.Add($DocLibName +"/" + $FileName,$File.OpenRead(),$false) 
    $item = $spFile.Item
    $item["Title"] = "New Title"
    $item.Update()
    $web.Dispose()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

Maybe you are looking for

  • Rename view,procedure,function,trigger in oracle.

    hi all, Just i am thinking a concept in oracle. can i rename view,procedure,function,trigger in oracle. i know it is not possible bcos it is a script. can u please confirm me

  • RoboHelp X5 and MS Word 2007

    Hi, I am going to have a new laptop soon. Currently, I am using RoboHelp X5 and MS Word 2003. I have the option to install MS Word 2007 on my new laptop. My question is "Does MS Word 2007 work with RoboHelp X5?" Thank you!

  • HP Photosmart PSC 2400 all in one - will it work? or what else?

    I have been using an old eMac connected (by cable) to my printer (HP PSC 2400 Photosmart all in one), wirelessly connected to my macbook and mini for printing. Well, i think the eMac just bit the dust. Can I hook the HP to the airport extreme? And if

  • Error after saving in CS3

    I was working on a project in PPro 2.0 and decided to give it a try in CS3 and saved it there. That was a mistake. I discovered, that CS3 trial version cannot read MPG! Now when I try to open the project back in PPro 2.0, I get the following serious

  • Finally a SOLUTION for the black-screen problem!

    It took me almost a MONTH to find a solution to this wide-spread problem - and I had to do it by myself. I've got a Qosmio x300 (about 18 months old) and started having the black screen / lock-down problem about 6 months ago but it was sporadic. When