Unable to assign from std::make_pair if type is not movable

I'm attempting to compile the following code with the -std=c++11 flag:
#include <utility>
struct Y
    Y();
    Y(const Y&);
int main(void) {
    Y y;
    std::pair<int, Y> p = std::make_pair(0, y);
    return 0;
This works fine when compiled with:
CC -std=c++03 -m64 -c
or on Linux (GCC 4.7.3/GCC 4.9) with:
g++ -std=c++11 -m64 -c
However when compiled with:
CC -std=c++11 -m64 -c
It produces the following error:
"pair.cpp", line 11: Error: Using deleted function 'std::pair<int, Y>::pair(std::pair<int, Y>&&)'.
1 Error(s) detected.
I suspect this is a compiler bug, but wanted to confirm there wasn't a clause in the standard that would explain this.

Another sample program that triggers this bug is:
#include <map>
#include <string>
class CUserCopyAssign
    public:
        CUserCopyAssign(int a);
        CUserCopyAssign(const CUserCopyAssign &other);
        CUserCopyAssign &operator=(const CUserCopyAssign &other);
        int getA(void) const;
    private:
        int m_A;
CUserCopyAssign::CUserCopyAssign(int a) : m_A(a)
CUserCopyAssign::CUserCopyAssign(const CUserCopyAssign &other) : m_A(other.m_A)
CUserCopyAssign &CUserCopyAssign::operator=(const CUserCopyAssign &other)
    m_A = other.m_A;
    return *this;
int CUserCopyAssign::getA(void) const
    return m_A;
int main(int, char **)
    typedef std::map<std::string, CUserCopyAssign> TStrObjMap;
    TStrObjMap aMap;
    CUserCopyAssign obj(7);
    aMap.insert(TStrObjMap::value_type("a", obj));
    return 0;
When built with:
CC -std=c++11 -m64 main.cpp
you get the same error:
"/opt/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bits/stl_tree.h", line 139: Error: Using deleted function 'std::pair<const std::string, CUserCopyAssign>::pair(std::pair<const std::string, CUserCopyAssign>&&)'.
Please can you make sure this case is covered in your regression tests as well as the make_pair example as it will be critical to people trying to compile a mix of old-style C++03 and new-style C++11 code in the same project.

Similar Messages

  • I am unable to purchase from the App Store it's not accepting my payment method I am in Trinidad

    I am unable to purchase from the App Store it's not accepting my payment method

    does it give any error message? such as "contact itunes support" or something else?

  • Warning: assignment from distinct Objective-C type

    Hi,
    I'm getting the waring in the title of my post, and I can't figure out why. If I change the name of one variable everywhere in my code, then the warning goes away. Here is the code that produces the warning (warning marked in code with comment):
    #import "RandomController.h"
    #import "RandomSeeder.h"
    #import "MyRandomGenerator.h"
    @implementation RandomController
    - (IBAction)seed:(id)sender
    seeder = [[RandomSeeder alloc] myInit];
    [seeder seed];
    NSLog(@"seeded random number generator");
    [textField setStringValue:@"seeded"];
    [seeder release];
    - (IBAction)generate:(id)sender
    generator = [[MyRandomGenerator alloc] myInit]; //<**WARNING**
    int randNum = [generator generate];
    NSLog(@"generated random number: %d", randNum);
    [textField setIntValue:randNum];
    [generator release];
    So both the RandomSeed class and the MyRandomGenerator class have a method named myInit. If I change the line with the warning to:
    generator = [[MyRandomGenerator alloc] aInit];
    and also change the name of the method to aInit in the MyRandomGenerator.h/.m files, then the warning goes away. xcode seems to be telling me that two classes can't have a method with the same name--which can't be correct.
    //RandomSeeder.h
    #import <Cocoa/Cocoa.h>
    @interface RandomSeeder: NSObject {
    - (RandomSeeder*)myInit;
    - (void)seed;
    @end
    //RandomSeeder.m
    #import "RandomSeeder.h"
    @implementation RandomSeeder
    - (RandomSeeder*)myInit
    self = [super init];
    NSLog(@"constructed RandomSeeder");
    return self;
    - (void)seed
    srandom(time(NULL));
    @end
    //MyRandomGenerator.h
    #import <Cocoa/Cocoa.h>
    @interface MyRandomGenerator: NSObject {
    - (MyRandomGenerator*)myInit;
    - (int)generate;
    @end
    //MyRandomGenerator.m
    #import "MyRandomGenerator.h"
    @implementation MyRandomGenerator
    - (MyRandomGenerator*)myInit
    self = [super init];
    NSLog(@"constructed RandomGenerator");
    return self;
    - (int)generate
    return (random() %100) + 1;
    @end
    //RandomController.h
    #import <Cocoa/Cocoa.h>
    #import "RandomSeeder.h"
    #import "MyRandomGenerator.h"
    @interface RandomController : NSObject {
    IBOutlet NSTextField* textField;
    RandomSeeder* seeder;
    MyRandomGenerator* generator;
    - (IBAction)seed:(id)sender;
    - (IBAction)generate:(id)sender;
    @end
    //RandomController.m
    #import "RandomController.h"
    #import "RandomSeeder.h"
    #import "MyRandomGenerator.h"
    @implementation RandomController
    - (IBAction)seed:(id)sender
    seeder = [[RandomSeeder alloc] myInit];
    [seeder seed];
    NSLog(@"seeded random number generator");
    [textField setStringValue:@"seeded"];
    [seeder release];
    - (IBAction)generate:(id)sender
    generator = [[MyRandomGenerator alloc] myInit];
    int randNum = [generator generate];
    NSLog(@"generated random number: %d", randNum);
    [textField setIntValue:randNum];
    [generator release];
    @end
    Also, I couldn't figure out a way to create only one RandomSeed object and only one MyRandomGenerator object to be used for the life of the application--because I couldn't figure out how to code a destructor. How would you avoid creating a new RandomSeed object every time the seed action was called? Or, is that just the way things are done in obj-c?
    Message was edited by: 7stud

    7stud wrote:
    generator = [[MyRandomGenerator alloc] myInit]; //<**WARNING**
    I can tell you why I might expect the subject warning, but doubt I'll be able to handle the likely follow-up questions, ok?
    Firstly note that +(id)alloc, which is inherited from NSObject, always returns an id type, meaning an object of unspecified class. Thus the compiler can't determine the type returned by [MyRandomGenerator alloc], so doesn't know which of the myInit methods might run. This is the case whenever init is sent to the object returned by alloc, but your example is a little more complicated because the code has broken at least two rules for init methods: 1) By convention the identifier of an init method must begin with 'init'; 2) An init method must return an object of id type.
    Each of the myInit methods returns a different "distinct" type, and neither of the methods is known to be an init, so the compiler isn't willing to guarantee that the object returned will match the type of the left hand variable. Do we think the compiler would be more trusting if the init methods followed the naming convention? Dunno, but that might be an interesting experiment. In any case, I wouldn't expect the compiler to complain if the myInit methods both returned an id type object.
    For more details about why and how init methods are a special case you might want to look over Constraints and Conventions under "Implementing an Initializer" in +The Objective-C Programming Language+. The doc on init in the +NSObject Class Reference+ also includes a relevant discussion.
    Hope some of the above is useful!
    - Ray

  • ARCHIV_PROCESS_RFCINPUT -unable to assign an agent

    Hello all,
    I would like to be able to assign a fax document to an agent via early archiving (Archivelink). I have implemented the rfc ARCHIV_PROCESS_RFCINPUT successfully but I am unable to assign an agent. The workitem does not show in any users Business Workplace Inbox but I am able to find the Work Item by executing SWI2_FREQ. When I find the Work Item, I am not able to execute the task - the only button I have availabe to me is the Workflow log.
    The Workflow log indicates that this task is a general task and can be executed by all users.
    Any assistance would be greatly appeciated...
    Message was edited by: Maridali Gonzalez

    Hi Maridali,
    I think this is not an ArchiveLink issue rather than a workflow issue.
    1. Check if both the workflow and the workitem is a general task and not only one of them.
    2. Refresh the agent assignment in the workflow inbox.
    Best regards
    Torsten

  • The type of the value being assigned to variable ... differs from the current variable type

    I am trying to load a variable on SSIS Execute SQL Task with a string value. I keep on getting an error message :-
    “The type of the value being assigned to variable “User::LegacyColumns” differs from the current variable type”.
    Below are the settings on my package:
    Execute SQL Task Result Set –
    Single Row
    Variable Data Type –
    String
    The data to be loaded on the variable is a single row shown below:
    FirstName,LastName,MiddleName,PatientType,Title
    Can someone kindly help me to solve this as I’m lost for ideas.
    Thanks,
    Mpumelelo

    Thank you Sorna. I think I have managed to solve it. After a long search I have found a solution which advises that I should use a Foreach Loop Container. The help is on this link:
    https://social.msdn.microsoft.com/Forums/en-US/f46dea91-c26b-4ffe-ab1c-ebeef57c90b6/error-0xc001f009-at-mypackage-the-type-of-the-value-being-assigned-to-variable?forum=sqlintegrationservices
    Mpumelelo

  • System Center Virtual Machine Manager SC VMM 2012 SP1 Installation fails: Unable to assign the name NO_PARAM to this host because this name is already in use.

    I'm trying to install VMM 2012 SP1 on a Windows Server 2012 machine and it fails with this error,
    the scenario is as follows,
    Old database (from 2012 RTM) exists on remote SQL 2012 SP1 server
    Server was 2008 R2 SP1 so I decided to make a fresh installation of 2012 with the same name
    installed ADK
    specific error: 01:42:13:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.VirtualManager.Setup.Exceptions.BackEndErrorException, Exception.Message: Unable to assign the name NO_PARAM to this host because this name is already in
    use.
    please help

    I had a similar problem today when upgrading from SCVMM 2012 RTM to SCVMM 2012 SP1 RTM. To re-create the issue you describe originally you can actually just uninstall SCVMM 2012 SP1 RTM with "retain data" option and re-install the software on the same
    computer (with the same name of course), attaching it to the retained DB. If you change the SCVMM server name I believe it will make some things go wrong after your install, like missing VM template passwords for example as the data gets encrypted in
    the DB. Maybe it didn't but I didn't risk it. I definitely know if you change service accounts on a scenario like this you will be without the encrypted DB data which isn't much fun. To avoid changing the computer name, if you look in the setup log
    files in %systemdrive%\ProgramData\VMMLogs\, specifically the SetupWizard.log file. You will see details on it failing because the same computer name is in the DB table "dbo.tbl_ADHC_AgentServer" and until it is removed from that table I wasn't able to get
    the install to complete at all. The error in my logs looked something like this "InnerException.Type: System.Data.SqlClient.SqlException, InnerException.Message: Violation of UNIQUE KEY constraint 'unique_ADHC_AgentServer_ComputerName'. Cannot insert duplicate
    key in object 'dbo.tbl_ADHC_AgentServer'. The duplicate key value is (computername.is.writtenhere). The statement has been terminated." In the row data in the DB it also seems to suggest that the computer name had "Virtual Machine Manager Library Files" on
    it which is strange since I always remove the local SCVMM server as a library server after I install it and use an off box library server.

  • Type-mapping not working correctly, get "Unable to find a javaType for the xmlType" WARNING

    I'm manually creating a web-services.xml file, and using the autogen ant task to
    generate the codec XML/Java classes. The XML definition is provided by SAP.
    The ant build.xml file:
    <project name="buildWebservice" default="stubgen">
    <target name="stubgen">
    <clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
    packageName="com.aa.rmis.webservice.client"
    clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
    autotype="False" />
    </target>
    <target name="all" depends="stubgen"/>
    </project>
    The problem is seen below in the output from Ant. Note the WARNINIG. The problem
    is that the xml type cannot be mapped to the Java type.
    C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
    Buildfile: clientbuild.xml
    stubgen:
    [clientgen] Generating client jar for RMIS.ear ...
    [clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
    cument:sap:business']:PaymentRequest.Create. Make sure that you have registered
    this xml type in the type mapping
    [clientgen] Using SOAPElement instead
    [clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
    client.jar-836624340
    [clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
    BUILD SUCCESSFUL
    Total time: 17 seconds
    The Java source that has the implementation of the service methods is simply:
    package com.aa.rmis.webservice;
    import com.aa.rmis.ifr.request.*;
    public class TestService
    public TestService()
    public int serviceRequest(PaymentRequestCreate request)
    System.out.println("Received serviceRequest message");
    return 0;
    public void testStringRequest(String request)
    The web-service.xml file is attached, which contains the schema for the SAP PaymentRequest.Create
    object definition.
    Another problem I have, which is probably related, is that the service method
    that has a complex data type (non-built in data type) is not being deployed into
    the WebLogic server. But the other service method that simply takes a String
    parameter is.
    The steps I took are:
    1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
    2. Use ant task autogen to generate the request codec classes
    3. Create the web-services.xml file by inserting the schema definition and the
    mapping file created by the autogen task, and defining the operations
    4. Build web-services.war file that contains all autogen compiled class files,
    the web-services.xml file, and the service implementation class
    5. Build the ear file that holds the web service files
    6. Use the clientgen ant task to generate (included above) to generate the client
    jar file that should contain the proxy for both of the service methods
    Environment:
    * WebLogic 7.02
    * JDK 1.3.1_06
    * JBuilder 9 Enterprise
    * Ant 1.4
    Possible causes:
    * Namespace not being used correctly
    * copied verbatim the mapping xml file generated by autogen into the web-services.xml
    file
    * xml-schema part of web-services.xml might not be set correctly
    * operation definition might not be using the correct namespace
    * Classpath used for ant might not be right
    * Doubt this is the problem, but I'm out of other ideas
    * Set by using the setWLEnv.cmd file provided by WebLogic
    * Tried adding the generated classes directory for my project to the classpath,
    but did not work
    I've been referencing the Programming WebLogic Web Services document throughout
    this entire process. I must be missing something.
    Can anybody from BEA help me out with this problem?
    Thanks in advance.
    [web-services.xml]

    Hi JD,
    I spent a few cycles looking over your web-services.xml file, however I
    don't have any suggestions other that one that looks like you have
    already tried, at the top, in the <schema...>
    targetNamespace="urn:sap-com:document:sap:business"
    Making edits to these generated files can be tricky and my only
    suggestion is to create a small reproducer to run by our outstanding
    support team.
    A quick look at our problem database shows one issue (CR095109) related
    to a similar problem at deploy time that was fixed with 7.0SP3. Again,
    the support folks will be able to help focus in on the issue.
    Regards,
    Bruce
    JD wrote:
    >
    The first posting contains the wrong web-services.xml file. Please refer to this
    one instead.
    "JD" <[email protected]> wrote:
    I'm manually creating a web-services.xml file, and using the autogen
    ant task to
    generate the codec XML/Java classes. The XML definition is provided
    by SAP.
    The ant build.xml file:
    <project name="buildWebservice" default="stubgen">
    <target name="stubgen">
    <clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
    packageName="com.aa.rmis.webservice.client"
    clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
    autotype="False" />
    </target>
    <target name="all" depends="stubgen"/>
    </project>
    The problem is seen below in the output from Ant. Note the WARNINIG.
    The problem
    is that the xml type cannot be mapped to the Java type.
    C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
    Buildfile: clientbuild.xml
    stubgen:
    [clientgen] Generating client jar for RMIS.ear ...
    [clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
    cument:sap:business']:PaymentRequest.Create. Make sure that you have
    registered
    this xml type in the type mapping
    [clientgen] Using SOAPElement instead
    [clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
    client.jar-836624340
    [clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
    BUILD SUCCESSFUL
    Total time: 17 seconds
    The Java source that has the implementation of the service methods is
    simply:
    package com.aa.rmis.webservice;
    import com.aa.rmis.ifr.request.*;
    public class TestService
    public TestService()
    public int serviceRequest(PaymentRequestCreate request)
    System.out.println("Received serviceRequest message");
    return 0;
    public void testStringRequest(String request)
    The web-service.xml file is attached, which contains the schema for the
    SAP PaymentRequest.Create
    object definition.
    Another problem I have, which is probably related, is that the service
    method
    that has a complex data type (non-built in data type) is not being deployed
    into
    the WebLogic server. But the other service method that simply takes
    a String
    parameter is.
    The steps I took are:
    1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
    2. Use ant task autogen to generate the request codec classes
    3. Create the web-services.xml file by inserting the schema definition
    and the
    mapping file created by the autogen task, and defining the operations
    4. Build web-services.war file that contains all autogen compiled class
    files,
    the web-services.xml file, and the service implementation class
    5. Build the ear file that holds the web service files
    6. Use the clientgen ant task to generate (included above) to generate
    the client
    jar file that should contain the proxy for both of the service methods
    Environment:
    * WebLogic 7.02
    * JDK 1.3.1_06
    * JBuilder 9 Enterprise
    * Ant 1.4
    Possible causes:
    * Namespace not being used correctly
    * copied verbatim the mapping xml file generated by autogen into
    the web-services.xml
    file
    * xml-schema part of web-services.xml might not be set correctly
    * operation definition might not be using the correct namespace
    * Classpath used for ant might not be right
    * Doubt this is the problem, but I'm out of other ideas
    * Set by using the setWLEnv.cmd file provided by WebLogic
    * Tried adding the generated classes directory for my project to
    the classpath,
    but did not work
    I've been referencing the Programming WebLogic Web Services document
    throughout
    this entire process. I must be missing something.
    Can anybody from BEA help me out with this problem?
    Thanks in advance.
    Name: web-services.xml
    web-services.xml Type: ACT Project (text/xml)
    Encoding: base64

  • SCVMM Unable to assign the subnet because it overlaps an existing one

    Hello,
    We are using SCVMM to manage an Hyper-V cluster (2012 R2).
    When we tried to create a new VLAN we got the following error:
    Error (13638)
    Unable to assign the subnet 172.22.172.128/25 because it overlaps with an existing subnet.
    Recommended Action
    Specify a non-overlapping subnet, and then try the operation again.
    After revising the rest of subnets we haven't found any overlaps.
    We have another VLAN defined with 172.22.172.0/25
    I've checked with a CIDR calculator and the IP Range is not overlapped.
    How can we define both VLANs with their corresponding Subnets?
    Regards

    Hi Pep,
    Have you tried a different range just to check there is not something overlapping that's been missed?
    I have a single C class range I then subnet up further in our SCVMM deployment depending type of VM with no issues. With associated IP Pools sat on top. In fact I have just added your two ranges with two different VLANs with no issues. 
    The 255.255.255.128 or /25 subnet breaks your IP range up into 0-127 and 128 to 255 as expected. There is no difference to this and further sub netting a B or C class range for a normal enterprise deployment. Granted its not a default class and
    will give you two different subnets but that's correct behaviour and shouldn't be an issue in SCVMM assigning each as a separate VLAN.
    Kind Regards
    Michael Coutanche
    Blog:   
    Twitter:   LinkedIn:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Where to assign cost cnetre and actvity type

    hi
    all
    can any body tai lme
    where to assign cost cnetre and actvity type
    i assgn this actvity type in work center
    so than when ia ssign ctr to work cnetre
    actvity type automatically seen there

    i got some thing
    whats about teh date teh date mentioned in
    ctr-01.04.2007 to 31.12.2999
    kl01-01.04.2007 to 31.12.299
    now iam going to craet work cnterin costing tab the validy date i also mention the same 01.04.2007 to 31.12.2099
    what should imaintain in kp26
    should i maintain the version 0 and what to writte in from to to period
    any idea

  • Unable to read from Jukebox Need Urgent he

    Need help, fast, Only got and a half day left to get my Creative Zen Touch to work, I have tons of important files in it and I need it badly!I'v been using my Zen touch as a storage device like a USB or sumthin, newaiz, I just upgraded the firmware to .0.03, from .00.06 to .0.03 to be more detailed. I have read some other posts relating to this kind of matter, I tried the ... Disc Clean Up solution, downloading the latest software except those CD burners program, I uninstalled all of my Creative Programs and installed an older version of the program and still didnt work then I upgraded those program and still wont work. Went to read the FAQs, couldnt find any answers. Can anyone please give me a useful response? I need it badly Please be fully detailed, I am not very familiar with shortcut details. Thanks

    Sorry this is not an answer but I just posted this on the European boards and it might make solving this problem a bit easier:
    Player: Nomad Jukebox Zen Xtra 30GB
    Firmware: .20.08
    Explorer: 3.0.0
    Driver: .26.02
    OS: XP SP2 updated
    MB: MSI K8Neo Platinum (MS-7030) (AwardBIOS 6.00PG)
    Processor: AMD Athlon64 3200+
    Memory: GB Patriot 3200 DDR
    Video: ATI Radeon 9600 Pro (DNA 3.4.4.) (Directx 9.0c)
    Sound: Audigy Gamer (03030 driver)
    HD: Maxtor 6Y60MO (60GB)
    So I made the mistake of using my mp3 player as the sole backup device for 30 Gigs of my music. I used the motherboards included highspeed USB port by the way. So now that I have reformatted and reinstalled everything I try and copy it all back from the Data Library section of my player using Nomad Explorer and end up waiting a few minutes while the software decideds if it will freeze or not before ending up with an error of: "unable to read from jukebox device"
    This is MOST DISTRESSING, I would really appreciate more help than the other 2 people who posted this problem got (read: none). So if anyone has any ideas besides reinstall nomad explorer (which I did) then I am all eyes.
    Thank you for your time and help.
    Nick T
    Maybe if you could post your system specs we could see a similarity or two, like what type of USB port did you use...Message Edited by kalisto_9 on 0-02-2005 0:08 PM

  • Idocs are unable to transfer from R3 to PI system, IDOC status is 03

    Hello Gurus,
    Idocs are unable to transfer from R3 to PI system, IDOC status is 03
    in sm58 getting below error
    RFC  are working fine
    "EDISDEF: Port SAPCEP segment defn Z2SH_DESCR000 in IDoc type MATMAS03 CIM"
    Regrds
    vamsi

    Hi,
    I am also facing same problem, Can any one suggest me what is the issue..

  • Unable to assign supplier in shopping cart for services in SRM 7.0 SC

    One particular user is Unable to assign supplier in shopping cart for services in SRM 7.0 Shopping Cart.  There is no difference in the roles assigned to him.  He is able to assign supplier for materials but not services.  Any suggestions?
    Thanks
    Sanjeev

    Hi
    From where he is buying the Services - free text or catalog or service masters.
    Do you have other users having same problem?
    Have you built a custom role in your landscape. Assign SAP All to his role temporarily and see if that happens again. If so, activate the Trace on his id and ask him to order a service SC to find out where he is missing the authorizations....
    Regards
    Virender Singh

  • Unable to load Adobe InDesign CC 2014 Type Library (Version 1.0)

    Good evening,
    I've just upgraded ID from CC to CC 2014 and now a script that had always run without issue now won't work. I get an error saying 'Unable to load Adobe InDesign CC 2014 Type Library (Version 1.0)'
    The bit of code I was running was executing a little VB script copying files:
            var vbScript = 'Set fs = CreateObject("Scripting.FileSystemObject")\r';
            vbScript +=  'fs.CopyFile "' + f.fsName.replace("\\", "\\\\") + '", "' + destinationFolder.fsName.replace("\\", "\\\\") + "\\" + f.name + '"';
            app.doScript(vbScript, ScriptLanguage.visualBasic);
    From trawling the net I can see stuff about the 'Resources for Visual Basic.tlb' file. I can see this in the C:\ProgramData\Adobe\InDesign\Version 10.0\en_GB\Scripting Support\10.1 folder but clearly it isn't registered or something similar.
    Can anyone help me get past this problem?
    Thanks for any help.

    Thanks for your prompt reply.
    Do you mean copy the 'Resources for Visual Basic.tlb' into the Version 9 folder?
    If so I already have the file in there: "C:\ProgramData\Adobe\InDesign\Version 9.0\en_US\Scripting Support\9.0\Resources for Visual Basic.tlb" as well as the file in this location: "C:\ProgramData\Adobe\InDesign\Version 10.0\en_US\Scripting Support\10.1\Resources for Visual Basic.tlb"
    The only difference between the 2 installs that I can see is that v10 also has a locale for en_GB.

  • I am unable to download from the APP store. I get an error message saying my computer is not verified and click support under quick links..

    I am unable to download from the APP store. I get an error message saying my computer is not verified and click support under quick links..

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Wht does it mean - "ASSIGN it_DB_TBL_name TO fs1 CASTING TYPE x"?

    Hi Experts,
    Just curious,
    Pls. let me know that, Wht is the functionality of the following statement:
    ASSIGN it_DB_TBL_name TO <fs1> CASTING TYPE x
    thanq

    ASSIGN feld TO <fs> CASTING TYPE type.
    ASSIGN feld TO <fs> CASTING TYPE (typename).
    ASSIGN feld TO <fs> CASTING LIKE fld.
    ASSIGN feld TO <fs> CASTING DECIMALS dec.
    You can use ASSIGN ... CASTING to treat the contents of a field as a value of another type using a field symbol. One application for this statement would be to provide different views on a structure with casts on different types.
    One wide-spread ABAP technique is to use C fields or structures as containers for storing structures of different types that are frequently only known at runtime. The components of the structure are selected with offset/length accesses to the container. Since this technique no longer works with Unicode, you can also look upon an existing memory area as a container with the suitable type definition using a field symbol with the ASSIGN ... CASTING statement. In the next example, a certain field of database table X031L is read, whereby the field and table names are only defined at runtime.
    Example:
    * Read a field of table X031L
    PARAMETERS:
      TAB_NAME    LIKE SY-TNAME,             "Table name
      TAB_COMP    LIKE X031L-FIELDNAME,      "Field name
      ANZAHL      TYPE I DEFAULT 10.         "Number of lines
    DATA:
      BEGIN OF BUFFER,
        ALIGNMENT TYPE F,                    "Alignment
        C(8000)   TYPE C,                    "Table contents
      END OF BUFFER.
    FIELD-SYMBOLS:
      <WA>   TYPE ANY,
       TYPE ANY.
    * Set field symbol with suitable to buffer area
    ASSIGN BUFFER TO <WA> CASTING TYPE (TAB_NAME).
    SELECT * FROM (TAB_NAME) INTO <WA>.
      CHECK SY-DBCNT < ANZAHL.
      ASSIGN COMPONENT TAB_COMP OF STRUCTURE <WA> TO .
      WRITE: / TAB_COMP, .
    ENDSELECT.
    Until now, in the ASSIGN feld TO <f> CASTING ... statement, the system checked to ensure that the field was at least as long as the type that was assigned to the field symbol, <f>. (Field symbols can either be typed at declaration or the type specified in an ASSIGN statement using CASTING TYPE). The syntax check is now more thorough. Now, you can only assign the field field (in either a Unicode or non-Unicode program)
    provided it is at least as long as the type assigned to the field symbol <f>. Otherwise, the system returns a syntax error. At runtime, the system only checks to see whether or not the lengths are compatible in the current system (as before).
    If the field type or field symbol type is a deep structure, the system also checks that the offset and type of all the reference components match in the area of field that is covered by <f>. The syntax check is now more thorough. Now, the system checks that these components must be compatible with all systems, whether they have a one-byte, double-byte, or four-byte character length. At runtime, the system only checks to see whether or not the reference components are compatible in the current system
    In Unicode systems, in the ASSIGN str TO <f> TYPE C/N and ASSIGN str TO <f> CASTING TYPE C/N statements, the length of str may not always be a multiple of the character length, in which case the program terminates at runtime.

Maybe you are looking for