CIN code and linking to external libraries

I am writing CIN code to encapsulate access to some external shared libraries on both windows and solaris platforms.
following the LV manuals for external code to build my first CIN was a success.
most of the problems are all linking problems, most propably becuz i missed something in the .lvm file. the situation am facins is as follows:
1. my CIN .c file need to include other external .h files, say (external.h), i tried the following in the .lvm
CINCLUDES = -Ic:\external\lib
but didnot work, ofcourse when i hardcode the path of the .h file the CIN source file it works.
2. i also need to link to an external library file, say libExternal.lib. here i could not find any clue on were to go. i tried to use cinlibr
aries = -Ic:\external\lib\libExternal.lib but i got the following error:
NMAKE : fatal error U1077: 'c:\cintools\lvsbutil' : return code '0x2' Stop.
i know that there should be a way to specify the additional libraries folder (for example -Ic:\external\lib) then use the library name as a an additional linker option by specifying its name (libExternal.lib). but seems that my makefiles knowledge isnot good enough to help me through this..
so... any clue on how to handle these issues?
best regards,
mutaz

Hi Soni and Brij
Thank you very much for your replies.  I have now got this working.  For reference, I am using the syntax that Soni suggested for the CSS, e.g.
<!--SPM:<SharePoint:CssRegistration Name="https://triadgroupplc.sharepoint.com/_catalogs/masterpage/Triad/triadmaster.css" runat="server"
after="corev15.css"/>-->
and the syntax that Brij suggested for the JavaScript, e.g.
<!--SPM:<SharePoint:ScriptLink ID="ScriptLink10" language="text/javascript" name="~sitecollection/_catalogs/masterpage/Triad/WelcomeBanner.js" runat="server" />-->
I am basing my Master Page on the OOTB seattle.html page.  I have found I need to place these lines of code after the existing CssRegistration and ScriptLink lines.
Thanks again for your help.
David

Similar Messages

  • Error codes and links appeared on my firefox window

    I use mozilla firefox as my default search engin. After installing google chrome on my laptop "hope to get faster internet" for nothing, i've noticed there's alot of error codes and links all over my firefox window...etc. "XML Parsing Error: unclosed token Location: chrome://browser/content/browser.xul Line Number 1, Column 16086:<?xml version=....As because of this my videodownloader toolbar is not visible. Please i need help... Tazzwon

    Marla,
    Sounds like you hid the Menu bar. Hit the '''Alt''' key to show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark.
    Anonymous,
    Open the View > Toolbars menu and select what you want to see.

  • How to generate QR Codes and link then to web site

    I need help generating QR Codes with Adobe Photoshop Elements 12; please

    Thanks for reply, would visual studio professional allow me to generate
    dynamic QR Codes or which software do you recommend

  • Processing code and Function Module  for IDOC

    hi forum,
    i m trying to make a file to IDOC scenario,
    the IDOC is being sent to a R/3 system,
    for the purpose, in R/3 i need to make a inbound processing code, can u tell me how to make a processing code and link it with a Function Module.......
    can u guide me....

    sudheer,
    If you are using standard idoc then you do not need to create new processing code.
    There would be standard processing code available. You need to set input partner profile with processing code.
    Let us know which idoc type you are using for inbound posting.
    Anyway..TC for Creating  processing code is : WE41(Outbound)  and WE42 (Inbound)
    Nilesh

  • How can I pass a file refnum into and out of external c++ code? What type does it convert to in c++?

    I am trying to write external c++ code that will read a file already opened by Labview and therefore assigned a refnum. (Unfortunately, I definately can't use the standard Labview vis.) However I am not sure what c++ type to use in order to manage the refnum.
    All help and thoughts appreciated. Thanks,
    Joanna

    You could do ALL your file handling in C or C++ (MFC CFile for
    example) and pass Microsoft file handles into and out of LabVIEW
    instead of LabVIEW file references into and out of C. This may be an
    easier way to attack the problem.
    You could create a DLL in MSVC that exports a FileOpen function, a
    FileClose function and a FileRead and/or FileWrite Function and then
    call that DLL from place to place as required in your code.
    It would help us if you would explain what kind of data you are trying
    to read or write and what the application is. Is it binary data?
    text files? Do you need some special Win32 file system feature like
    file mapped memory? I guess what I am asking is what is your
    motivation for doing file handling in C or C++?
    Douglas De Clue
    LabVIEW developer
    [email protected]
    "Rolf" wrote in message news:...
    > A LabVIEW file refnum is an internal Magic Cookie to LabVIEW and there is no
    > way to directly extract the actual information assigned to that Magic
    > Cookie.
    > However the CIN Reference Manual describes one function which allows to
    > retrieve a lower level "File" handle and at least on Windows 32 bit and
    > LabVIEW
    > from version 5 up to and including 6.1 this "File" LabVIEW datatype directly
    > maps
    > to the Win32 API "FILE" Handle.
    >
    > The function to use is
    >
    > MgErr FRefNumToFD(LVRefNum refNum, File *fdp);
    >
    > It is declared in extcode.h or one of its dependant headers and exported
    > from "labview.lib"
    > all located in the cintools directory and you can link this lib also to a
    > normal DLL project.
    > However calling this DLL then from any other process than LabVIEW or a
    > LabVIEW
    > executable will not initialize the DLL anymore correctly.
    >
    > Your best option if you need to write in C(++) should be to use the LabVIEW
    > file manager
    > functions described on the External Code Manual (manual/lvexcode.pdf) on
    > this File handle.
    > If you need to use directly some Win32 API functions with it please note
    > that although currently
    > the "File" in the LabVIEW file manager functions matches the FILE in Windows
    > 32 bit API
    > functions this is an undocumented and hence unsupported feature. The next
    > LabVIEW version
    > may actually use a different datatype for its "File" parameter to the
    > LabVIEW file manager calls
    > and your use of assuming File == FILE may simply crash.
    >
    > Also operating on a file refnum in LabVIEW which has been accessed directly
    > with Win API
    > functions may result in strange behaviour such as the file read/write mark
    > not being updated as
    > you would maybe expect it.
    >
    > "Jo" wrote in message
    > news:50650000000800000016520000-1023576873000@exch​ange.ni.com...
    > > How can I pass a file refnum into and out of external c++ code? What
    > > type does it convert to in c++?
    > >
    > > I am trying to write external c++ code that will read a file already
    > > opened by Labview and therefore assigned a refnum. (Unfortunately, I
    > > definately can't use the standard Labview vis.) However I am not sure
    > > what c++ type to use in order to manage the refnum.
    > > All help and thoughts appreciated. Thanks,
    > > Joanna

  • Cin node and c++ code

    Hi.
    I need to make a LabVIEW program to call and use c++ code. Not only calculate numbers using the c++ code, the LabVIEW program needs to send boolian signals and be able to talk to the c++ code. Such things possible? Any good article or information to teach how to do it?
    Thank you.
    Airo

    I'm not sure why it shouldn't be possible. At least as long as you are somewhat C savy and know how to configure your C compiler and linker to create specific output. However to be honest I think CIN programming has had its days. It does not really have that many advantages anymore but definitely some disadvantages above calling an external shared library through the Call Library Node.
    As a reference about CIN or DLL usage in LabVIEW I recommend the online help documentation Using External Code in LabVIEW accessible through Help->Shearch the LabVIEW Bookshelf.
    Rolf K
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Creating multiple libraries and using an external drive for data

    I'm a recent switcher and new to iphoto. On the windows platform, I used adobe album. I have a around 10k of images that I put on an external drive which is attached to my new imac. I deleted the iphoto folder and redirected it to my images on my external. All is working great. I'm looking for some advise on work flow of file/iphoto management. i.e. I'm assuming the more images I accumulate, the slower I photo is going to run? I hear you can create multiple iphoto libraries. Will that only load the photos that are associated with the library and I'm assuming optimize iphoto's performance versus always loading every photo you have taken every time you work in iphoto? If adding libraries is the way to go, can someone direct me to instruction on how to do this?
    This may be beyond this threads scope but I plan to put all my data (iphoto, imovies, itunes) onto an external drive in order to keep the imac main drive as clean a possible. Is my thinking correct in doing so. Any negative repercussion in doing so?

    Joe:
    I'm assuming the more images I accumulate, the slower I photo is going to run?
    You'll have to get quite a lot of photos into iPhoto before you start to see a real slowdown in performance. Users have reported libraries of 40K files and they perform just fine. However, do not keep all of rolls open as that will really do a job on the performance. Just open the rolls you need and close them all before quitting.
    Yes, you can use multiple libraries and only load what's in each. I use iPhoto Library Manager to manage and move quickly between 10 libraries. With the paid version of iPLM you can move albums and/or rolls between libraries as needed and keep the keywords, ratings, and comments intact.
    Using an external HD in order to maintain sufficient free space (10G minimum is what I recommend) on the boot drive to help optimize performance is a very good idea.
    As far as any negative aspects, it would be a good idea to have a second external HD as a backup to the working external HD. You can't be too careful with those image files (and other important files) that can't be replaced.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Best Practice for External Libraries Shared Libraries and Web Dynrpo

    Two blogs have been written on sharing libraries with Web Dynpro DC, but I would
    like to know the best practice for doing this.
    External libraries seem to work great at compile time, but when deploying there is often an error related to the external library not being a deployed component. 
    Is there a workaround for this besides creating a shared J2EE library which I have been able to get working?  I am not interested in something that works, but really
    what are the best practice for this. What is the best way to  limit the number of jars that need to be kept in a shared library/ext library.  When is sharing ref service/etc a valid approach vs. hunting down the jars in the portal libraries etc and storing in an external library.

    Security is mainly about mitigation rather than 100% secure, "We have unknown unknowns". The component needs to talk to SQL Server. You could continue to use http to talk to SQL Server, perhaps even get SOAP Transactions working but personally
    I'd have more worries about using such a 'less trodden' path since that is exactly the areas where more security problems are discovered. I don't know about your specific design issues so there might be even more ways to mitigate the risk but in general you're
    using a DMZ as a decent way to mitigate risk. I would recommend asking your security team what they'd deem acceptable.
    http://pauliom.wordpress.com

  • Problem with external libraries and Web DynPro

    Hello,
    we're stuck here.
    We're trying for a week now to include external libraries(e.g. Hibernate) into our Web DynPro Project, without success so far.
    We read every single forum and blog entry we could find on this topic.
    E.g.: /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
    We're running Netweaver 2004s SP9 Trial Version.
    The biggest problem is, that when we deploy an J2EE Server Component Library DC exactly like described in the blog entry above, although it is deployed correctly an lists under Server->Libraries in Visual Administrator, the external hibernate.jar doesn't get deployed onto the server. It's just an empty container named hib/lib without any entries in "Jars Contained". The sda file of the library DC also has only 2K and doesn't include the hibernate.jar which we added as used dc...
    Any help would be greatly appreciated.
    Or is there a simpler way to include external jars into Web DynPro Projects and deploy them to the server? (We already tried putting them into the lib folder without luck, we always get "NoClassDefFound...")
    Edited by: Christian Wieland on Jan 31, 2008 11:22 AM

    Hallo Christian,
    this is a bug which should be fixed in NW 7.0 SP9 patch1: [Look at this forum thread on the same issue: External Library DC in NW2004s SP09|External Library DC in NW2004s SP09].
    Regards, Bertram

  • Link between code and code groups and inspection type

    Hi All,
    I want to know the link between code and Code Group for UD and inspection type?
    There is an option of choosing Usage selected set in SPRO "Seeting for inspection type".If i dont enter anything there,will it show all the code groups in the system while taking UD?
    Pls guide

    Hi Shreya,
    Yes, the link between code and Code Group for UD and inspection type is specific selection of UD related to specific inspection type.  Ex. there are separate UD codes individually for Goods receipt against PO, Gr against Production or for In-process inspection ets. so If you assign the selected sets at SPRO Inspection type, then while doing UD system will show UD codes related to only that inspection type.
    If you don't enter anything there at SPRO, you will see all the code groups in the system while taking UD and one can get confused in selecting the relevant code.
    so assigning of UD selected sets, plant wise (tick) at " Inspection types" is best practice.
    Best Regards,
    Shekhar

  • How to use external libraries and JAR files with OpenScript

    Hello.
    I am trying to include ApachePOI, JODATime, and Javamail in my scripts to handle different aspects of our automated performance tests.
    I followed the documentation for Eclipse to be allowed to utilize these external libraries, however, when I attempt to run my tests the classes and methods that are being imported, show up with errors saying that they do not exist.
    I think perhaps that I am using them incorrectly. I cannot see them as script assets, package assets, or project assets using the properties for these items. An error pops up and says those screens are not displaying correctly or display incorrect information.
    If anyone can provide guidance on using these items, that would be great. Right now I'm trying to include them as "previously exported scripts" but I'm not sure that method will work.
    Any advice is appreciated.
    Thanks.
    --tiff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Tiff
    For OpenScript 9.* there is an out of the box solution for that, all you need to do in OpenScript go to:
    Script -> Script Properties -> Script Assets -> Add -> jar File ....
    And that is it.
    Alex

  • Using Cpp code and header files with LV8 CIN

    Hello,
    I have three pieces of C++ code and their header files that are called from a Main C++ code.  I want to call these from a LV8, code interface node (CIN).  I have the C++ compiler installed on teh same machine as LV8.  My questions are:
    1) How do I call the C++ code anf the header files from the LV CIN?  I have never doen this. Is there a concise manul for this somewhere?  Teh last thing any self-respecting engineer wants to do is read the manual.
    2)  Once I successfully call teh C++ and header files from within the CIN, can I create a LV runtime executable, just as I can with any other LV8 .vi?  Will this runtime .exe run stand-alone as a distribuatble application?  Do I need to include any special runtime files when I build the exectuable to support teh C++ code?
    Thank you.

    http://forums.ni.com/ni/board/message?board.id=231&message.id=2424&requireLogin=False
    handles your question.

  • Moving js and embed code into linked files

    Hello all,
    I am trying to "optimize" some of my web pages by moving as
    much code as possible into linked files. I'm using Flash 8 in
    conjunction with Dreamweaver 8. I am also employing some DW
    behaviors, like swap image, that generate javascript.
    I am wondering if it's possible to put the javascript code
    and all the code thats generated to embed Flash movies into a page
    into a linked file, and if so, how?
    Any direction will be much appreciated,
    Scott

    This Article covers rather more than you are asking about,
    but you may
    be inspired to streamline your page even further than you're
    planning on
    now:
    http://divahtml.com/articles-tutorials/site_maintenance/SSI_and_other_external_files.php
    E. Michael Brandt
    www.divaHTML.com
    divaPOP : standards-compliant popup windows
    divaGPS : you-are-here menu highlighting
    divaFAQ : FAQ pages with pizazz
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Trying to properly code a menu with buttons that can go back and forth between external swf files

    I have a project I've been working on that, when properly coded, has a "main menu" with 4 "doors" (buttons). When the corresponding buttons to these "doors" are clicked, it should go to and play an external .swf file. If that doesn't make sense, think of a DVD menu. You click play movie, it plays the movie. When the movie is over, there's two buttons on that swf file to either play the movie over or go back the main menu, which is an external .swf file (Remember, we go to the movie from the menu, which is a seperate file). So far, the buttons work. The menu works. However, from the movie, at the conclusion, when I click the button to go back to the main menu, it displays the movie clip and the buttons, but none of the buttons work. I'm starting to think it has to do with the fact the main menu was written in AS3 and the movie was made in AS2. If anyone can assist me in being to able to keep both files and still navigate between the two, being able to bring up the menu from the movie and be able to play the movie again, and so on and so on, that'd be GREAT. I'm somewhat of a noob to Flash, but I learn quickly and I'm open to any suggestions. Here's the code for main menu, which I guess acts as the parent file, and the movie. If I get this to work, I essentially would duplicate the same actions for the other 4 doors, once I complete the environments for them. Thanks
    Main.Fla/Swf (written in AS3)
    (This is the action on the first frame, that has all the buttons. For this question, I'm just trying to properly code for 'Door4', which is the "door" to the movie.)
    import flash.display.Loader;
    stop();
    var myLoader1:Loader=new Loader ();
    Door4.addEventListener(MouseEvent.CLICK, jayzSwf);
    function jayzSwf(myevent1:MouseEvent):void
              var myURL1:URLRequest = new URLRequest("jayzspeaks.swf");
              myLoader1.load(myURL1);
              addChild(myLoader1);
              myLoader1.x = 0;
              myLoader1.y = 0;
    Movie.Fla/Swf (written in AS2)
    (This is action on the button that returns to the menu)
    on (release) {
              this.createEmptyMovieClip("container",this.getNextHighestDepth());
              container.loadMovie("main.swf");

    At least you're going in the correct (mis)direction. You have AS3 loading AS2. So that's not a huge hurdle.
    I believe all you really need to do is send your Main.swf a signal that the content it loaded (e.g. jayzspeaks.swf) is done and you want to get rid of it.
    The code I pointed you to asks you to (upon download and import then) instantiate it in both AS2 and AS3. They give a very simple easy to understand line of code.
    // as2, load this in jayzspeaks.swf
    var myBridge:SWFBridgeAS2 = new SWFBridgeAS2("connectionID", clientObj);
    // as3, load this in main.swf
    var myBridge:SWFBridgeAS3 = new SWFBridgeAS3("connectionID", clientObj);
    Make sure the connectionID matches between them. Set it to whatever you want.
    When you're done with your as2 loaded content you'd send a signal (over localconnection) back to the AS3 Main like they say:
    myBridge.send("someFunctionToUnloadContent");
    myBridge.close();
    You'd need to make the as3 function "someFunctionToUnloadContent()" (example purposes only name) and it should unload the jayzspeaks.swf that was loaded in the loader.
    Make sure you get that close in there so you don't drill up a bunch of localconnection objects just like the simple source code says.

  • Table that links country tax code and jurisdict.code

    Which is the table that links country, tax code and jurisdict.code.

    This could be one way of finding what countries are using the tax codes:
    1. Determine all the countries where the calculation procedure TAXEUR has been assigned to
    2. Execute report "S_ALR_87012365"
    3. Enter Country code in the selection screen and hit execute
    4. The report will display all the tax codes created for the country
    5. Manually check if the tax code exists in the list
    An other way to do this which you might already know is to use FTXP and view the tax codes in the drop down list.
    I hope this helps.
    kiran

Maybe you are looking for

  • Usb Kensington mouse not recognized in Yosemite 10.10

    I have a simple Kensington USB mouse that I sometimes use on my MacBook Pro. But when I plugged it in the first time to my mac with 10.10 installed, I got a keyboard set-up prompt, asking me to hold down some buttons to calibrate it. So I rebooted th

  • JAVA 101: I need help with the terminology !

    WARNING: Long post, lots of silly questions. But It might help a lot of people. Hello, I'm having a tough time understanding BASIC JAVA technology in general and the way it is used to deploy web forms. Apart form the marketing droid stuff (Easy to in

  • Managing plugins & presets CC14

    Hi, Is there a definitive location for plugins in CC14? It seem like plugin data ends up in a lot of places. For example there seem to be plugins in the Macintosh HD > Library > Application Support > Adobe > Common > Plug-ins > 7.0 > MediaCore folder

  • Field Catalog error

    Hi ABAPers, I have defined an internal table I_ACV in the following manner. DATA: BEGIN OF i_acv_new OCCURS 0.         INCLUDE STRUCTURE zzscmm003. DATA:   multi(1) TYPE c,             z_ebeln  TYPE ekko-ebeln,             z_elikz  TYPE ekpo-elikz,  

  • Printer woes--drivers suddenly gone

    I have an HP Photosmart 7350 which was running just fine when for some demented reason I decided to update the drivers from the HP website. Since then, the Printer Utility can find the printer (and I can print a test page), but the Printer Browser ca