How to define map of maps?

Hello,
i want to do something like that in pl/sql:
TYPE map_type
   IS
      TABLE OF NUMBER
         INDEX BY VARCHAR2 (1);
   --    map: 1 -> 'a'
   --         2 -> 'b'
   --         11 -> 'A'
   --         22 -> 'B'
   TYPE map_of_map_type
   IS
      TABLE OF map_type%TYPE
         INDEX BY VARCHAR (15);
   --          map: 'onedigit' -> { {1 -> 'a'}, {2 -> 'b'} }
   --               'twodigit' -> { {11 -> 'A'}, {22 -> 'B'} } Is something like that possible?
Thanks!

And to illustrate how you work with two dimensional associative array:
SET SERVEROUTPUT ON FORMAT WRAPPED
DECLARE
    TYPE map_type
      IS
        TABLE OF NUMBER
          INDEX BY VARCHAR2(1);
    TYPE map_of_map_type
      IS
        TABLE OF map_type
          INDEX BY VARCHAR(15);
    v_map1 map_type;
    v_map2 map_type;
    v_map_of_maps map_of_map_type;
    v_idx1 varchar2(10);
    v_idx2 varchar2(1);
BEGIN
    v_map1('a') := 1;
    v_map1('b') := 2;
    v_map2('A') := 11;
    v_map2('B') := 22;
    v_map_of_maps('onedigit') := v_map1;
    v_map_of_maps('twodigit') := v_map2;
    v_idx1 := v_map_of_maps.FIRST;
    FOR i IN 1..v_map_of_maps.COUNT LOOP
      DBMS_OUTPUT.PUT_LINE('Map of maps: ' || v_idx1);
      v_idx2 := v_map_of_maps(v_idx1).FIRST;
      FOR j IN 1..v_map_of_maps(v_idx1).COUNT LOOP
        DBMS_OUTPUT.PUT_LINE('     Map: ' || v_idx2 || ' = ' || v_map_of_maps(v_idx1)(v_idx2));
        v_idx2 := v_map_of_maps(v_idx1).NEXT(v_idx2);
      END LOOP;
      v_idx1 := v_map_of_maps.NEXT(v_idx1);
    END LOOP;
END;
Map of maps: onedigit
     Map: a = 1
     Map: b = 2
Map of maps: twodigit
     Map: A = 11
     Map: B = 22
PL/SQL procedure successfully completed.
SQL> SY.

Similar Messages

  • How to define mapping from multiple files to Oracle Tables in 9i

    Around 100-200 Flat files are created every 30 minutes and each filename is different - Filename has datetime Stamp as part of the file name apart from the product code as first 12 characters.
    Can anyone guide me in How to define mappings to these files using OWB ?
    What I can do is consolidate all files into one known single file name and map the files to Oracle tables which I don't want to do because I need to reject errorneous files.
    Can anyone provide me some tips on this ?
    Thanks in Advance.
    Sohan.

    As you know, in OWB you need to define the flat file source in a 'static' way (name, location, etc. have to be defined previously), so you cannot deal directly with dinamically generated file names. One solution would be to consolidate them into a single file (which you can define statically in OWB), but prefix every record with the filename. In this way it is easy to understand from which file the rejected records came from. If you are using unix, it is very easy to write a script to do this. Something like this will do:
    awk '{printf "%s,%s\n",FILENAME,$1}' yourfilename >> onefile
    where yourfile is the name of the file you are currently processing, while onefile is the name of the consolidated file. You can run this for all files in your directory by substituting yourfilename with * .
    You can then disregard the file name field in OWB, while processing the rejected records based on the file name prefix by using unix utilities like grep and similar.
    Regards:
    Igor

  • How to remove namespaces in mapping when using External Definition

    Hi,
    I read in the blog (/people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi) that you are able to remove namespaces in mapping by deleting the value from XML Namespace under the Message Type. However, is it possible to do this when you are using External Definition (xsd) ? The blog only describe how to do this if you define a Data Type.

    Hi ,
    No ..it is not possible to remove the namespace once you imported into IR of external defintion.You can remove your namesapce from external definition before importing into IR.
    Sekhar

  • How to call the second mapping in the first mapping fails in the BPM

    Hi All,
    I have a scenario like this.
    There are two mappings. There is a one condition while genearying the root element of the first mapping. If this condition is not satisfies the first mapping will fail. If this mapping fails i want to trigger another mapping.
    How to achieve this functionality.
    If it is possible with BPM. how to call the second mapping in the BPM.

    Hi
    you can not create the containter for the synchronous interfaces.
    you have to craete the two asysnchronous abstact interfaces .
    thenusing those two abstract interfaces you have to define the containers in the BPM.
    and you also have to define the interface mapping b/w those two abstract interfaces.
    once you define the interface mapping you will be able to select the interface mapping using the transformation step in BPM.
    once you select the interface mapping in BPM then you will be able to selece the interfaces
    if you still face the problenm please reply me back.
    Thanks
    Rinku Gangwnau

  • How to create a custom mapping operator.

    Any idea on how to create a custom mapping operator.
    An example: When i insert records in a table, i need to populate some columns like "created by" and "Created date" which are constant across many tables. Untill now i created a constant operator with attributed "Created by" and "Created Date" and put it on to a map. I'd like to know if there is a way in Oracle Warehouse builder to created such custom operator.
    puli.

    Hi,
    As per next major OWB release (OWB10gR2 a.k.a. Paris) it will become easier to share 'blocks of objects', so then it would be easy to define you Constant only once, and use it in the same configuration all over your project(s).
    Right now this is not possible.
    I guess you could try to build a table with all these default values, and use this to populate your audit columns.
    Good luck, Patrick

  • Value mapping, interface mapping, standard funtions and user defined functi

    I like have more information abt live scenario's use of value mapping, interface mapping, standard funtions and user defined functions.
    How to create user defined funtions and how to use it in XI?
    thanks in advance
    shiva

    Hi,
    Interface mappings register your mapping program for an interface pair in the Integration Repository. If you require a mapping at runtime, it is sufficient to select the interface mapping for the interface pair at configuration time .The Integration Server uses the interface mapping to identify associated mapping programs for request messages, response messages, fault messages, or all three.
    Features
    Executing Multiple Mapping Programs for One DirectionBy using an interface mapping you can execute multiple mapping programs consecutively for the transformation of a request or response message. In such cases, an interface mapping comprises multiple steps for which the following applies:
    ●     The steps are executed in the sequence specified (from top to bottom). The result of the mapping program from the previous step is forwarded to the mapping program of the subsequent step.
    ●     Each step can reference a mapping program that executes a 1:1, 1:n, n:1, or an m:n transformation. In the case of multi-mappings (1:n, n:1, or m:n), the previous step must create the same number of messages that the subsequent step expects.
    ●     Multi-mappings use one envelope to put all messages in one structure. If one of the steps references a multi-mapping program, all subsequent steps must use the same envelope.
    The mapping for a request message comprises two message mapping programs: one 1:1 transformation and one 1:n transformation. Since the latter message mapping uses the multi-mapping envelope for both the target message and the source message, the message mapping for the 1:1 transformation must also create a transformation result with a multi-mapping envelope.
    You do not strictly need to divide up one direction of the whole mapping into different steps. However, this enables all the message formats in one system landscape to be mapped to a central message format, for example. This results in less mapping programs being required because you no longer need to be able to map all the different message formats to each other
    Activities
           1.      Create a message mapping on the design maintenance screen of the Integration Builder (see also: Creating an Object).
    You can also create multiple interface mappings for the same interface pair.
           2.      Enter the source and target interfaces that require a mapping of the request message, the response message, the fault message, or all three, in the table of the same name. The following restrictions apply:
    ○     If you want to use the interface mapping in a transformation step in an integration process, you must only specify abstract message interfaces. Furthermore, all objects (integration process, interface mapping, and all objects that reference the interface mapping) must be in the same software component version. If you want to reference objects from underlying software component versions, you must access the objects from the Basis Objects branch (in the navigation tree or using an input help).
    ○     If you want to map multiple messages to each other by using a multi-mapping, you can only specify asynchronous interfaces (for further restrictions, see: Multi-Mappings). If any message interfaces are missing, you can also create them by using the function Create New Object ().
    If the interface cannot be imported or cannot be created in the Integration Repository (in the case of an external adapter, for example), you must enter the interface names manually. However, it is not possible to check the technical name in this case.
           3.      To import the properties of the interfaces, choose Read Interfaces. The table in the lower area displays tab pages for the request message, response message, and if available, for the fault message, for each mode of the interfaces (either synchronous or asynchronous).
           4.      To develop an external mapping program, export the XSD schema of the respective request or response message as a zip file after you have imported the interfaces. The zip file can contain multiple schema files that reference each other, for example in a multi-mapping. In this case, the schema with the global message element has the name MainSchema.
           5.      To reference a mapping program for the respective message, you have the following options:
    ○     Select an existing mapping program from the Integration Repository by using the input help (). If this is a message mapping, the default setting of the input help only displays those message mappings that are found using the source and target message in the Integration Repository (in multi-mappings, the first source and target messages are used as the search criteria). However, you can also display any number of message mappings, for example, because you are constructing a mapping from several mapping programs with intermediate instances which have no message types.
    ○     You can create message mappings directly from the interface mapping. To do this, select the mapping type Message Mapping in the Type column. Position the cursor in the Name column and choose the function Create New Message Mapping () in the Mapping Program frame. The Integration Builder copies the specifications of the messages and their occurrence directly from the interface mapping.
    An interface mapping can only reference mapping programs that belong to the same or an underlying software component version of the interface mapping. This ensures that the mapping program can be shipped together with the interface mapping (see: Software Logistics).
           6.      If it is not a mapping for a fault message, you can execute multiple mapping programs in succession for request and response messages:
    ○     To insert an additional line for a mapping program, choose .
    ○     To delete the registration for a mapping program, choose .
    At runtime, the mapping programs are executed from top to bottom.
           7.      Save the interface mapping.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • How to create simple path map??

    Hello,
    I have robot and I can control by labview, name of robot is Drjaguar and I want to move robot form one point to another point which are fixed.
    Initially thinking is there are no any obstacles in the path.
    Could any one Please guide me that how can I do so that my robot move form one point to another point when I run my vi.
    I am working in laboratory so I want to run my robot in that area.
    I have looked at the path planning vi (https://decibel.ni.com/content/docs/DOC-8983     and    http://zone.ni.com/reference/en-XX/help/372983C-01​/lvrobovi/path_planning_pal/) , but I  didn't get it means I understand logic of  that vi but how can I generate map for my laboratory and how can I mentions this is starting point and this is ending point.
    Please guide me.
    Thank you very much in advance for your time.

    Hi,
    as described in the documents (An introduction to A* Path Planning (using LabVIEW)) you can build a map of your room using an 2D array of non-zero values. How to do that is also shown in the attached VI of the document. Did you try that already? Or do you want a fancier view of the room?
    The VI also shows you how to define a starting and ending point. 
    I think the document provides all the information you are looking for.
    Regards, 
    Michael

  • User define Function at Mapping Time

    Hello Everyone,
    My requirement is I input the one value to the user define function (at mapping time). That function calls the RFC to R/3 system and return the 3 output values. Now my question is how can I return 3-output value from the user define function.
    What is the other possibility to solve this type of problem?
    Where we have one input parameter and more than one output parameter.
    If any one did this kind of job. Please give me the idea how can I solve this.
    Regards,
    Gaurav Jain

    Hello Richard,
    Are you talking about <b>copy head to line</b> example given in MappingFunctionality.pdf.
    In my scenario:
    Input - NULL
    Output - OP1, OP2, RESULT
    And I write my Advance user define function as
    import com.sap.mw.jco.*;
    public void Lookupfunction(ResultList result, Container container){
    JCO.Repository mRepository;
    // Change the logon information to your own system/user
    JCO.Client mConnection = JCO.createClient(
        "100", // SAP client
        "user", // userid
        "pass", // password
        "EN", // language
        "hostid", // host name
        "00" ); // system number
    // connect to SAP
    mConnection.connect();
    // create repository
    mRepository = new JCO.Repository( "SAPLookup", mConnection );
    // Create function
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate("ZTEST2");
    function = ft.getFunction();
    mConnection.execute( function );
    result.addValue( function.getExportParameterList().getString( "OP1" ) );
    result.addValue(function.getExportParameterList().getString( "OP2" ) );
    result.addValue(function.getExportParameterList().getString( "RESULT" ) );
    mConnection.disconnect();
    But it shows me only one field as output in mapping icon.
    so as per the mapping document i attach splitbyvalue over that but in the example only one field at the output side where i have three field.
    How can i solve the problem?
    Even i check in XI 2.0 System it doesn't show output at all.
    Thanks & Regards,
    Gaurav Jain
    Message was edited by: Gaurav Jain

  • How to build a site map in Release 2 portal

    Can any one tell how to generate a site map in portal release 2. We have all portal pages stored in pages group.
    Thanks.

    Hi,
    thanks alot for these links! Glad to know that I am not the only person who didn't succeed using the forum search and thus I am obviously NOT stupid after all ;-)
    Using your links I managed to install the portlet. However... (as always :()... the number of problems has exploded now:
    1.) I have two languages installed in my portal (english=default and german). When switching to german (which is the language I installed in secaond place), the dropdown list of the site index portal for selecting the root page group won't show up with my custom page group that I have created. it only offers the default page groups like "corporate pages", "portal design-time pages" etc.). When changing to english, this problem doesn't exist (I can see my page group there)
    2.) In our portal app, we link to the portal content from within an iframe. When clicking links inside my site map, however, the target pages will always open in the "top" frame, as it seems, not in the iframe itself :(. This looks like there is per default a "target=_top" attribute, which I don't want to have.
    3.) Though I have installed the ptlnlsi.sql script according to the installation instructions, the message strings seem to be missing: In my portal browser, the site index portlet is displayed as
    "Missing string(sip_title) language(us) domain (wwc) sub_domain (ptl)"
    The latter is of minor impact, but the first two problems completely crack up both our user access and page layout concept. I definitely have to find a solution to get rid of these, otherwise, the site index is of no use in our context.
    Can anybody help me, please?

  • How do I use Port Mapping?

    b How do I use Port Mapping?
    (This document will assume that you are using and ABS/AEBS/AX as an internet router and have DHCP & NAT turned on.)
    Sometime you may want to offer access to a computer on your AirPort network to users on the internet, whether it be a web site, or for file sharing, or just remote access for yourself when traveling. If any of these sound like something you want to do, then you need to understand how Port Mapping works.
    b AirPort as Firewall
    Most of the time your AirPort base station will not let any traffic into your network which did not originate from your network. It will let everything out and replies to your traffic back in, but it will not let sessions initiated on the internet side of the base station in to your network. This is what is referred to as the "NAT firewall" capability of the base station and it provides effective protection for your network from the internet. What Port Mapping does is poke a hole in this wall to allow certain type(s) of traffic into the network and direct this traffic to a specific computer on the network. In the firewall world this is commonly referred to as an "inbound proxy" or "inbound translation" rule or "PAT" (Port Address Translation) in the router world.
    b The Need for Manual Addressing
    Since a Port Mapping entry in the base station configuration requires an inside private IP address to be specified, the computer to which to mapping entry applies should always have the IP address specified in the mapping entry. Thus, DHCP should not be used for a computer offering services on the internet as the Port Mapping entry will no longer work if the target computer's IP address changes. In general, an Apple base station's DHCP server will try to assign IP addresses in the 10.0.1.2 to 10.0.1.200 range. IP addresses above 10.0.1.200 can be Manually assigned to computers and other devices on the network up to 10.0.1.254. 10.0.1.255 is reserved (it is the broadcast address for the 10.0.1 subnet). To Manually set up the TCP/IP information for a Macintosh running Mac OS X, go to System Preferences -> Network and "Show" the appropriate interface (Ethernet or AirPort) and click on the TCP/IP tab. Select "Configure Manually" and enter the following information:
    IP address : 10.0.1.201 (or whatever address you decide to use)
    Subnet mask : 255.255.255.0
    Router IP : 10.0.1.1 (the AirPort base station LAN IP)
    DNS server : 10.0.1.1, or whatever DNS server IP your ISP uses
    After making these changes verify that your computer can still access the internet and local resources on the LAN before continuing.
    b Port Mapping a service
    In our example we will be hosting a web site on a computer which we have given an IP address of 10.0.1.201. Basic web sites are accessed using the HyperText Transport Protocol (HTTP) and this protocol typically uses port 80 to communicate. In order for others to see the web site, we must configure a Port Mapping entry in the base station configuration to not only allow the web browsers in, but to tell the base station what IP address the web server is using. The Port Mapping entry has three parts: Public Port, Private IP, and Private Port. In this case you would use the following values:
    Public Port : 80
    Private IP : 10.0.1.201 (this is the computer hosting the web site)
    Private Port : 80
    In order to access the web site from the internet, users must reference the base station's WAN port public IP (determined by looking at the base station configuration summary page in the AirPort Admin Utility). Since this address may change over time, you might want to use a Dynamic DNS service to simplify connecting for your users.
    Sometimes the port you wish to use may be blocked by the ISP. In this case, use a different non-standard Public Port number for the service, but keep the Private Port standard. In the above example, if the ISP was blocking port 80, you could potentially use 8080 instead, so:
    Public Port :

    Public Port : 8080
    Private IP : 10.0.1.201
    Private Port : 80
    Your users would then have to enter "http://<publicIP>:8080/" (where <publicIP> is the public IP address of the AirPort base station) to access the web site.
    b Internal Access
    It should be noted that when accessing these services from within the network you cannot reference the Public IP/Public Port, but rather you must use the Private IP/Private Port. Thus, "http://10.0.1.201:80/" in the above example.
    b Limits and Options
    There is a maximum of 20 Port Mapping entries that can be made in an Apple base station configuration. If you use an AirPort Extreme or AirPort Express base station there is an option which can be helpful in the case where you need many ports opened to a single computer. This is the "Default Host" option. When using this it is not necessary to use Port Mapping at all as all ports will be opened to the specified "Default Host". This is found in "Base Station Options". The default IP address for the "Default Host" is 10.0.1.253. You may change this IP address. The target computer must be Manually configured as specified above with the same IP address. Since all ports are now open to this computer, you should enable and configure the Mac OS X firewall on the default host computer to protect it from intruders.
    b Useful Related Links
    <a href="http://docs.info.apple.com/article.html?artnum=52002>"Designing AirPort Extreme Networks: Manuals</a>
    "Well Known" TCP and UDP Ports Used By Apple Software Products
    IANA Port Number Assignments

  • How to use Action/Input maps

    It seems to me that the move to sharing actions menus, buttons, and other components is a logical one, given that it is desirable to have all references to the action reflect its enabled state.
    The question that arises is: which ActionMap object to use as the central store? Do you create your own and pass it on somewhere?
    And, if you try to do anything with homegrown InputMaps then the components stop seeing the events. I wish there was a definitive YOU MUST DO IT THIS WAY tutorial.
    Why is there no factory API that can create UI components pre-attached to actions and with accelerators or mnemonics already set? Then we would not need to write half the code we do now. My solution:
    public class ComponentFactory {
       ActionMap myMap;
       public ComponentFactory(ActionMap map) {
          myMap = map;
       public JButton createButton(String actioncommand) {
           Action a = myMap.get(actioncommand)
           if(a==null)
              return null;
           return new JButton(a);
       public JMenuItem createMenuItem(String actioncommand) {
        // etc...
       public void setAction(Action a) {
           myMap.put(a.getValue(ACTION_COMMAND_KEY),a);
       public void setEnabled(String actioncommand, boolean state) {
           Action a = myMap.get(actioncommand);
           if(a!=null)
               a.setEnabled(state);
    }Is there any concensus as to the best way to handle ActionMaps/InputMaps?

    Hugh,
    >
    The tutorial is a touch short on this subject, whilst
    it is good on how to create and use actions with
    toolbars and the like, the section on InputMaps and
    ActionMaps is far too brief to get the wider picture.
    The API docs on the same is about one paragraph's
    worth.okay, I just checked the tutorial - it's a bit short on the inputMap/actionMap indeed.
    >
    You are mixing up two different issues:
    a) customize a button with an action
    b) bind a keyStroke to an action for an arbitrary
    jComponent
    a) has nothing to do with b)If b) has nothing to do with a) why have MNEMONIC_KEY
    and ACCELERATOR_KEY on the action?Hmm... where do you see a contradiction to my statement? Those keys are part of a) as they are used for customization of the AbstractButtons: the button's mnenmonic/accelerator properties are set to the corresponding values of the action. This propertyChange triggers an update of the keyBinding to the button's "pressed"/"doClick" actions as registered in the actionMap. They are never used (at least not internally by Swing) for b)
    Historically the action is older than the inputMap/actionMap: basically it's an ActionListener (which is more or less a command pattern) plus some (view) state. This "plus" was designed right in the beginning of Swing for a) to enable state sharing between different "buttons" but not really integrated until version 1.4. parallel to that the need for a general mechanism of binding between keyStrokes and "commands" became obvious and inputMap/actionMap were introduced in 1.3. The only action state that's needed for this mechanism to work is the enabled property. All values are ignored - so currently they somehow appear to be overloaded in the context of the inputMap/actionMap. Personally I think they are very powerful because of this extra flexibility.
    >
    There is still not a single diagram; and I maintain
    that it is less than useful to beginners who are not
    familiar with the terminology used. Well, IMO diagrams are not everything - I still think it much easier to understand than the dnd spec or the focus spec f.i.
    >
    you are free to use whatever object you want as akey
    - write a utility method to use the name, if feellike
    doeing so. There is nothing in the framework that
    would single out the name as "the" key to use, The keybindings document specifically states:
    "New actions can be added to a component equally
    easily."
    "The conventional key for an action is it's
    name." If there is a conventional way then it
    should be encouraged with an appropriate API. I get your point. And I definitely agree on following a convention if there is one. Except when the convention is quite immature (to formulate mildly) - and not even followed by Swing internally: most of the default actions registered in the actionMap don't even have a name, the binding is done by string literals ... duplicated in at least two places: the XXLookAndFeel and the ui-delegates.
    Greetings
    Jeanette

  • How can I install Google Maps on IOS 6?

    Since I upgraded to IOS 6, Google Maps has been replaced by a poorer Apple version that doesn't support public transport. I want Google maps back. How can I install Google Maps on IOS 6 or downgrade to IOS 5?
    Thanks.

    Google Maps has not yet or does not look  like they are creating a standalone app at this time.
    It is not easy to downgrade, not recommended by Apple, very involved in order to do that. Again, not recommended.
    Use MapQuest for now if you are unhappy with Apple Maps. I was never happy with Google Maps, so I have been using MapQuest for a long time for all directions.

  • How can i install google maps on an iphone 3gs with latest os

    how can i install google maps on an iphone 3gs with latest os

    Actually Apple has developed its own maps and no more have it in sync with google as it did before so now apple has its own mapping software.
    http://www.nytimes.com/2012/09/20/technology/apple-ios-6-leaves-out-googles-maps .html?_r=0

  • How do I remove BlackBerry Maps from the OS?

    I have a Z10 running 10.3 it's a great update and so far love the BB Assistant.  There is one big sore point for me and that is your decision to deeply integrate BB Maps with 10.3 and Assistant. 
    Appologize upfront but I have to ask....Why would you integrate a lagging-edge Mapping App with an otherwise leading-edge OS in 10.3? 
    So long story short...BB Maps doesn't work for me.  (No Walking, Mass No Transit, No Satellite or Street View equivilants.)  The bottom line is that enterprise users need more than what BB Maps offers today and for the foresable future.  Just supremely frustrated about this situation and feel bad because 10.3 is great. 
    So the question is How do I remove BB Maps from 10.3 or completely disable it. I just want it gone at this point. Please help....I'm so totally frustrated that you can't easily remove it! 
    Thank you and please let me know as soon as possible how to accomplish this. 
    Solved!
    Go to Solution.

    Good news...Just to let you know I did find a way to remove BB Maps. 
    Even through  it's a core app  by reverting to a previous version  of BB Maps I was able to delete it from the OS.  iBest part is there was no impact to the OS and everything else works as normal.  Please Please ...if your going to make BB Maps a core app please make sure its a world class app and it works for all Enterprise users.  (Not just for drivers)  
    I can truely say my BB OS 10 experence is much better now without BB Maps.  If BB isn't going to invest in Maps then please don't make it a core app and tightly integrated into the OS.  I think at this point BB would be better off outsouring BB Maps to one of the leading Map providers such as Nokia, Mapquest, Bing/MS or even dare I say Google Maps.  I think the BB community would be much happier with any of the first three. 
    Thanks

  • How can I generate a map file with LabVIEW?

    We wish to use a product which inserts code into our executable to prevent tampering with it by crackers.  The program, however, takes the executable file, as well as the map file (which is commonly generated by c++ compilers) and uses the map file to determine where in the exe the critical routines that need protection are at.  I can not, however, determine how to create such a map file for a LabVIEW generated executable.  Is there a special build option I need to invoke?

    Yes, I'm familar with NI's licensing technology, having talked with someone (you, Dennis, I believe) about it before.  The problem we have is our software is sold to factories in China where there are no internet connections.  We have a physical key 'dongle' which must be present in order for the executable to be willing to run.  However, it appears that people are taking the executable  which LabVIEW creates and they are editing it, probably by using a a debugger and tracing to the the code which checks for the dongles presence and bypassing it.  To my knoweledge, NI's products don't do anything to prevent this, right?
    We found a company which sells a product that encryptes, checksums, etc... an executable file, but it needs to know the layout of functions in the exe in order to determine which areas to focus the obfuscation on.  They were sort of matter of fact when they said it needs the exe and the map file, as if they expected any language which produced an exe could produce a map file.

Maybe you are looking for

  • How do I save more than one username and password for a site?

    <blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/918629]]</blockquote> I manage two online calendar accounts under one website (both account admin centers actually have their own URL but the main root of the webpage is the

  • How to group the colume in Enterprise link design studio

    I want count a table record by group some columes,After checking all the transforms,I can't found the appropriate one,Please give me some advices,thanks.

  • 24" LED DISPLAY NO MIC OR INPUT

    Hello I cannot for the life of me get the mic working on my LED display. It did work and then stopped. I have tried unplugging display, restarting, deleting preferences.... just cannot get any input.

  • What product should I use?

    I want to build a game and an animation in my website.  But I don't know how to start to develop a game as well as an animation. Could you tell me which tool (product) I should use first ? Thanks

  • Playbook won't turn on anymore unless plugged in

    I've had my playbook for about 2 weeks and up until yesterday morning it was working perfectly. Now it won't turn on. When I plug it into the mains using the provided charger the red light lights up for about 10 seconds then goes off for about 5 and