Hiding the Netlet Channel

We use a ..few... netlet rules but do not enable the netlet for user configuration. In ps3.x we were able to hide the Netlet channel by removing all of the Desktop properties under Domain -> Policy -> Desktop.
When we try the same technique in PS6.2 (although done a bit differently) if the Netlet channel isn't visible on the user's Desktop the netlet doesn't load ... along with its port listeners & forwarders.
Even with all visible buttons and boarders "false" - if the Netlet channel is minimized it won't load.
Any ideas out there?

We hided the netlet in a hidden frame:
-Create an index.html somewhere.
<HTML>
<FRAMESET rows="99%,1%">
<frame src="http://yourserver/portal/dt">
<frame src="http://yourserver/portal/NetletConfig?func=makepage">
</FRAMESET>
</HTML>
-Change the success login URL in the identity server
-Make sure new links on the portal open in a new window, making the portal act as a kind of desktop.

Similar Messages

  • What must I do to get the netlet to load?

    Ok.. I didn't install our portal server so perhaps there were some configuration steps that may have been missed .. but ..
    Netlet is an option for my desktop. I chose it. I then go into edit mode and I try to set it up to telnet out to a remote server.
    I try getting it to allow me to ftp into the portal.
    It's always in the loading mode!
    Nothing I do seems to work...
    Can anyone suggest some simple steps that I can take to get this thing to work?
    would be much appreciated .. sincerely .. jesus ..

    For ex., use a telnet to test the netlet.
    Configure this using the netlet channel and do an edit and add the
    known telnet ( for ex., pick your unix machine where u installed portal server as a test case).
    Then from the browser perspective pick the Java Console. This
    will tell u the java exception thrown when there is an issue.
    otherwise this will tell u the netlet rule which is using etc.,
    and Portalserver admin guide is the best place to additional
    information if u land into any issues in configuring it.
    Keep in mind that current Portal Server 3.0 version doesn't support
    Java plugins like 1.3 etc., Hence the java console debugging. Which
    will tell u what version of java used with the browser.

  • Trouble creating an custome netlet channel

    I am trying to create a channel that will have a certain number of application links appear on it. Each application link should open up a telnet netlet session with tghe appropriate server. Each link will call an applet and the applet will be responsible to opening up the telnet session with the corrent machine. I am able to open the correct netlet ports and have the reflection applet load for each application. But what the applet loads I am never able to connect to the server correctly. Either the telnet session tells me i am disconnected or i am left looking at a blank telnet screen. When i look at the java console i see that all of the correct ports have been opened. This is what the java console looks like:
    Netlet Starting (16)
    Netlet found IE
    Netlet config: https://access.advocatehealth.com:443/http://portal-srv0.advocatehealth.com:8080/NetletConfig?func=loadResources
    Netlet not using proxy (IE)
    Netlet sessionID: nxpgxvjvugkkpkcnoc6q0rpq3q95r8304@[email protected]@8080@/Rzcyblrr
    Netlet rule 0: local:2080 destination:algra1.chmc.advocatehealth.com:2080
    Netlet rule 1: local:8030 destination:TARGET:23
    Netlet rule 2: local:8000 destination:portal-srv0.advocatehealth.com:8080
    Netlet rule 3: local:30010 destination:TARGET:23
    Netlet rule 4: local:30000 destination:TARGET:23
    Netlet config: https://access.advocatehealth.com:443/http://portal-srv0.advocatehealth.com:8080/NetletConfig?func=setLoaded
    creating MSSecure
    cache dir: C:\WINNT\Java\reflectionweb\cache
    MY SESSION: Loading configuration [https://access.advocatehealth.com/http://portal-srv0.advocatehealth.com:8080/wrq/session/vt_telnet.config].
    MY SESSION: Reflection v4.1.34.528 starting
    Netlet got connection on port: 8030 from port:1416 to gateway:access.advocatehealth.com on port:443
    Netlet showing port warning dialog:8030
    Any help would be appreciated,

    I see you have configured 5 netlet rules. All the netlet rules seem to have the same name what are your netlet rules ?
    Also your applet would not have to connect to the server in a format like this ..
    In the netlet channel you would have to go and add a target host for each of the netlet rules.
    for rule 1 you would have to add a target machine name like hostname.domain.com then do a
    telnet localhost 30000 and see if gets forward to that hostname.

  • How in the hell do you remove the edit button from the bookmarks and netlet channels?

    I have removed the check box for the edit functionality of both these
    channels and restarted the portal server. Yet, the edit button is still
    there on both channels and it allows the user to edit (duh) the targets
    of the netlet and bookmarks.
    WHAT ELSE AM I SUPPOSED TO DO TO GET RID OF THIS BUTTON??????
    Kent

    Kent Perrier wrote:
    I have removed the check box for the edit functionality of both these
    channels and restarted the portal server. Yet, the edit button is still
    there on both channels and it allows the user to edit (duh) the targets
    of the netlet and bookmarks.
    WHAT ELSE AM I SUPPOSED TO DO TO GET RID OF THIS BUTTON??????Now that I have gotten that off my chest, I have figured it out :)
    I had to edit the polivy for the role to remove these. Go figure. I
    thought by editing this for the domain and then checking the check box
    for "Apply changes to all sub roles (overwrite customized attributes if
    necessary)" would do it.
    Kent

  • The FIOS Channel Listings need to be rearranged.

    When I first got FIOS over a year ago, there were slightly less channels, and the channels that were here were well organized by the group of 10 they were in. For example, the 50s are for major entertainment channels. The 70s to 90s are for Sports. It's logical.
    But since then, Verizon have seemed to add channels at random. In the 190s, you have both Chiller and FearNET... as wel as E!... as well as the TV Guide Network, FuelTV, and ABCFamily. None of those are related. A ton of these channels need to be rearranged. Why is Sleuth inbetween Bravo and Logo? The 180s are as follows:
    180 - Syfy
    181 - A&E
    182 - CRIME
    183 - truTV
    184 - GSN
    185 - Bravo
    186 - Sleuth
    187 - LOGO
    188 - Ovation
    189 - BBC America
    There is a logic to that. A&E, CRIME, and truTV should be togther, for example. But Syfy does not belong here. BBC America does not either, although it fits in well with 190 and 191, so I assume you could make that argument, though it breaks the channel listing logic.
    The 460s and up don't make any sense to me. I don't even remember I have them. It's a random collection of channels that seem like they belong before the 50s, and are instead dumped at the end of the lineup. At the VERY LEAST, they should be before the PPV Channels, and not after. There's a bunch of PBS channels here, which is bizarre since there are a bunch of PBS channels in the <50s. And while I know you can't fit them in there because of all the Local Channels, it is confusing to me, as well as seemingly hiding the channels from me.
    In addition to that, what is with the HD Channels? Some of them don't match their non-HD channel listing number. The Disney Channel is 250, for the non-HD version. For some reason, it is 780 in the HD version. It should be 750.
    There are many areas where I would like to see improvement in simple things such as that. It's a much easier thing to fix than adding all the HD Channels I'd want

    The only way i can see to do this, is to select your audio track in the timeline and export using Quicktime conversion/ "format" AIFF, check in options that it is set to mono. Save the file and import into Audition. It works for me although I have Soundbooth not Audition.
    Good luck.
    DM

  • Setting the Netlet port on Portal Server 6.0

    On Iplanet Portal server 3.0 we found that our firewall was blocking netlet access on 443 as the firewall does application checking. On 3.0 we set the https port to 443 (default) and changed the netlet port to xx443 to allow the firewall to pass the netlets. On POrtal 6.0 the option to set the netlet port is not there. Is it possible to have the netlet's run on a port other than the https port? We have the https port set to xx443 but when users are behind another firewall that does not allow non-standard ports out they cannot use the portal. Under our 3.0 config they can use everything except the netlets. Under 6.0 they can't get to the portal at all.

    What do you want to do with this data source? Display it in a channel? If that is the case you will have to write your own provider to connect to Oracle.

  • How to set up the communication channel for third party idoc

    Hello,
    I am trying to send an idoc from an sap 4.6c system to an third party system. The third party system is supporting idcos with trfc.
    My problem is to set up the communication channel in the integration builder (configuration) for the third party system. The idoc is waitung in XI to transport.
    My settings are:
    adapter type: idoc
    transport protocol: idoc
    message protocol: idoc
    adapter engine: integration engine
    rfc destination: xyz (is working fine)
    interface version: sap release 4.0 or higher
    port: ??
    sap release 46c
    My problem is the port. should i set up a port in idx1? But the third party is not an sap system and so i dont have a client.
    On the xi i have defined a port in transaction we21 (transactional rfc) for the third party with my rfc destination xyz. But if i enter that port in communication channel i got error messages.
    Thanks for any help.

    Hi Christian,
    yes, you have to mainztain that port in idx1.
    First ypi load the rfc-metadata from an SAP referenzsystem and afterwards copy this metadata to the third party port.
    For further details check the onlinedocumentation "IDoc Processing with the IDoc Adapter" XI -> runtime -> adapter
    Good luck,
    Holger

  • ASA 5505 8.4. How to configure the switch to the backup channel to the primary with a delay (ex., 5 min) using the SLA?

    I have ASA 5505 8.4.  How to configure the switch to the backup channel to the primary with a delay (for example 5 min.) using the SLA monitor?
    Or as something else to implement it?
    My configuration for SLA monitor:
    sla monitor 123
     type echo protocol ipIcmpEcho IP_GATEWAY_MAIN interface outside_cifra
     num-packets 3
     timeout 3000
     frequency 10
    sla monitor schedule 123 life forever start-time now
    track 1 rtr 123 reachability

    Hey cadet alain,
    thank you for your answer :-)
    I have deleted all such attempts not working, so a packet-trace will be not very useful conent...
    Here is the LogLine when i try to browse port 80 from outside (80.xxx.xxx.180:80) without VPN connection:
    3
    Nov 21 2011
    18:29:56
    77.xxx.xxx.99
    59068
    80.xxx.xxx.180
    80
    TCP access denied by ACL from 77.xxx.xxx.99/59068 to outside:80.xxx.xxx.180/80
    The attached file is only the show running-config
    Now i can with my AnyConnect Clients, too, but after connection is up, my vpnclients can't surf the web any longer because anyconnect serves as default route on 0.0.0.0 ... that's bad, too
    Actually the AnyConnect and Nat/ACL Problem are my last two open Problems until i setup the second ASA on the right ;-)
    Regards.
    Chris

  • How to use  the same channel to send a file and messages to the server

    I'm trying to develop a simple program that will send and receive files from the server and in the same time I need to communicate with the server through the messages
    I'm using TCP Socket
    my problem is
    I have only one channel
    so, I have no option, either I can use it for sending the file itself or sending the message .. but not both !
    my question is : How can I use the same channel for sending and receiving (file & message)
    I would appreciate for any clue or hint
    best

    kajbj wrote:
    kmarwani wrote:
    Thanks for reply
    yes, that what I'm thinking to do
    but, in case of sending binary file, if I attached a flag on its header, will it corrupt the file ?
    bestThe other end would of course need to decode the messages that you get, and only write the "data" part to the file.Thanks
    I'm gonna try to hard-code what you suggest and i will post what happen with me here
    even though I'm not sure how can I add header to a binary file and remove it from the file at other end. (coz I read it as stream and send as array without touching its contents)
    this how I'm sending the file
    ConnSocket = CSocket.accept();
    ToClient = new DataOutputStream(ConnSocket.getOutputStream());
    File myFile = new File("abc.jpg");
    FileInputStream myFileInStream = new FileInputStream(myFile);
    BufferedInputStream mybuffInStream = new BufferedInputStream(myFileInStream);
    myBytArray = new byte[(int) myFile.length()];
    mybuffInStream.read(myBytArray, 0, myBytArray.length);
    ToClient.write(myBytArray, 0, myBytArray.length);
    ToClient.flush();
    myFileInStream.close();best

  • How do I save the virtual channel list of a task to a tab-delimi​ted text file

    I have created my data acquisition application which will save the analog inputs of the channels into columns of a text file.  Now I would like to save the names of the virtual channels in the header of the file so that couple months down the road I will have no problem of knowing which column is which.  How do I do it?
    The way I set my application up is that the task is set up in the Measurement and Automation Explorer.  In the LabVIEW program, there is an control I can pick the task I want to use, and the rest of the program will pull the necessary information based on the task chosen.
    Thanks in advance.

    Hi
    You can use a Task node located in Measurement I/O -> NiDAQmx -> Task config-->> Task node to get the devive name of the virtual channel. You can a for loop to get each individual device name and build the array of device name and analog input into one array and then write this to a text file.
    Regards,
    Nitin

  • How can I extract the two channels from a stereo track?

    Hi,
    I am writing a class that is able to draw an audio signal. It seems to be working well but I have a question. If I load a mono audio file I am able to draw it on a graph by using the byte[] array and everything is ok until now. That's the code:
    void Draw(byte[] x)
                Graphics g=getGraphics();
                Graphics2D g2=(Graphics2D)g;
                g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,                     RenderingHints.VALUE_ANTIALIAS_ON);
                for(int i=0; i<x.length-6; i++)
                    g2.draw(new Line2D.Float(((i*(getWidth()-6))/x.length)+5, (getHeight()/2)-          ((x*(getWidth()-6))/x.length), (((i+1)*(getWidth()-6))/x.length)+5, (getHeight()/2)-     ((x[i+1]*(getWidth()-6))/x.length)));
    The results is correct only if I have a mono track. Obviously when I get a stereo track the array becomes very large so here the question. How can I extract the two audio channels from a stereo track?
    Thanks in advance.
    Maurizio Di Vitto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    A mono audio stream is stored [sample, sample, sample, sample], so just a list of samples in an array.
    A stereo sample is interleaved in the same manner, so you get [left-sample, right-sample, left-sample, right-sample]
    So every nth sample is the 1st channel, every nth+1 is the 2nd channel...

  • WRT600N Wireless n 5Ghz range much less than the second channel 2.4 Ghz

    I just bought the WRT600N a few days back and have finally got it working so that all my devices (mac mini wireless g, i2eye Phone wireless g, thinkpad wireless b, etc... and Mac book pro wireless n, apple tv wireless n etc...) connect well and are working well from a close range. I went thru some of the same discoveries as some on this forum went thru. The 2.4 Ghz was the most annoying. I had to manually set the channel to 6 to get a number of devices to connect. That was after quite a bit of frustrating debugging.
    My current setup:
    All SSID's are set to specific names Use Mac Filtering without any security.
    The 5Ghz channel is set for Wireless n mode only (Would like to get a dedicated 300 MB/s connection for the n devices. That is why I bought the dual channel router)
    All other settings are default
    I see it set on Wide channel 40MHz channel 38
    Standard channel 36
    broadcast enabled
    The 2.4Ghz is set in mixed mode
    It is set to Standard 20Mhz with a fixed channel 6
    broadcast enabled
    The problem I am having is as I go into my bedroom upstairs or in my basement the Wireless n 5Ghz channel is at best flaky and either the signal is dead or I get dropped connections. In many cases you can't even see the SSID. On the other hand the 2.4 Ghz signal works from all these locations fine and with even the furthest points in the house getting atleast 3 bars out of 5. However, many of these far devices are being used for streaming video and the b or g network is unacceptable.
    I used to have a dlink mimio router and the b g network from that was as strong if not better. It goes without saying that I have scanned the forum for all possible suggestions.
    The firmwares are the latest and greatest and the router now is sitting on top of a book case that gives it a good height and visibility. It however is in one corner of the house and I don't have a choice there. Fundamentally the problem is that the wireless n is not working from the same places the wireless g signals are strong?? I have played with changing the settings on the 5 GHz channel but nothing seems to work. My apple tv in the basement can't even see the wireless n ssid?? while the wireless g has almost full strength. That said when you are within a certain distance of the router the wireless n works well and is great. So it is clearly a range issue??
    If I don't hear from anyone this one is certainly going back...
    Thanks, MM
    Message Edited by mmutreja on 03-09-2008 02:34 PM

    There is no channel 161 for the Linksys's N portion. If you choose Wideband, it offers you 3 choices... Auto(DFS), channel 38 or channel 46 and that's it.
    Message Edited by Chuck_IV on 04-07-2008 11:51 PM

  • How can I see the alpha channel in the channels palette?

    Hello, mi format plugin loads a rgba image. I see it with transparency, that's ok, but when I go to the channels tab I only see 4 items (RGB, Red, Green and Blue).
    How can I see the alpha channel of my file in the channel tab?
    Thanks!

    OK, something must be wrong... but I don't find it!
    That's my whole code (resumed). I ommit some code (saving file code (not used) or main function, where I only call te "DoSomething" functions. You can see that I use layers. The DoReadContinue function is only used to show the preview.
    In the DoReadStart function I set the parameters for the layers (and the preview), and I fill the "data" and "layerName" params in the DoReadLayerContinue function. I hope you can understand the code!
    const int32 IMAGE_DEPTH = 32;
    SPBasicSuite * sSPBasic = NULL;
    SPPluginRef gPluginRef = NULL;
    FormatRecord * gFormatRecord = NULL;
    intptr_t * gMxiInfoHandle = NULL;
    MXIInfo* gMxiInfo = NULL;
    int16 * gResult = NULL;
    #define gCountResources gFormatRecord->resourceProcs->countProc
    #define gGetResources   gFormatRecord->resourceProcs->getProc
    #define gAddResource    gFormatRecord->resourceProcs->addProc
    CmaxwellMXI* cMax;
    static void DoReadPrepare (void){
        gFormatRecord->maxData = 0;
    static void DoReadStart(void){
        char header[2];
        ReadScriptParamsOnRead (); // override params here
      if (*gResult != noErr) return;
        // Read the file header
        *gResult = SetFPos (gFormatRecord->dataFork, fsFromStart, 0);
        if (*gResult != noErr) return;
        ReadSome (sizeof( header ) * 2, &header);
        if (*gResult != noErr) return;
      // Check the magic number for avoid no-mxi files
        int headerID = CheckIdentifier (header);
        if( headerID != HEADER_MXI ) *gResult = formatCannotRead;
      if (*gResult != noErr) return;
      // The file is OK. Let's continue to obtain the data of the image.
      cMax = new CmaxwellMXI( 0 );
      strlen((char*)gFormatRecord->fileSpec->name);
      gMxiInfo->filename = _strdup((char *)gFormatRecord->fileSpec->name + 1);
      bool res = cMax->getMXIIInfo(
                    (const char*)gMxiInfo->filename,
                    gMxiInfo->width, gMxiInfo->height,
                    gMxiInfo->burn, gMxiInfo->monitorGamma, gMxiInfo->iso,
                    gMxiInfo->shutter, gMxiInfo->fStop, gMxiInfo->intensity,
                    gMxiInfo->scattering,
                    gMxiInfo->nMultilightChannels, gMxiInfo->lightNamesList,
                    gMxiInfo->availableBuffersMask,
                    gMxiInfo->widthPreview, gMxiInfo->heightPreview,
                    gMxiInfo->bufferPreview);
      if(!res) return;
      // Check the available extra buffers
      int count = 0;
      if( gMxiInfo->availableBuffersMask & CmaxwellMXI::ALPHA_BUFFER ){
        // We will use that string to obtain later the desired extra buffer.
        gMxiInfo->extraBuffersList[count] = "ALPHA";
        gMxiInfo->hasAlpha = true;
        count++;
      else{
        gMxiInfo->hasAlpha = false;
      gMxiInfo->nExtraBuffers = count;
      switch( IMAGE_DEPTH ){
      case 8:
          gMxiInfo->mode = plugInModeRGBColor;
          break;
      case 16:
          gMxiInfo->mode = plugInModeRGB48;
          break;
      case 32:
          gMxiInfo->mode = plugInModeRGB48; //96 gives me an error
          break;
      // SET UP THE DOCUMENT BASIC PARAMETERS.
      VPoint imageSize;
      if( gFormatRecord->openForPreview ){
        // Preview always RGB8.
        imageSize.v = gMxiInfo->heightPreview;
        imageSize.h = gMxiInfo->widthPreview;
        gFormatRecord->depth = 8;
        gFormatRecord->imageMode = plugInModeRGBColor;
        gFormatRecord->planes = 3;
        gFormatRecord->loPlane = 0;
        gFormatRecord->hiPlane = 2;
        gFormatRecord->colBytes = 3;
        gFormatRecord->rowBytes = imageSize.h * gFormatRecord->planes;
        gFormatRecord->planeBytes = 1;
      else{
        // Configure the layers. All RGBA32.
        imageSize.v = gMxiInfo->height;
        imageSize.h = gMxiInfo->width;
        gFormatRecord->depth = IMAGE_DEPTH;
        gFormatRecord->imageMode = gMxiInfo->mode;
        gFormatRecord->layerData =
            2 + gMxiInfo->nMultilightChannels + gMxiInfo->nExtraBuffers;
        gFormatRecord->planes = 4; // RGBA.
        gFormatRecord->loPlane = 0;
        gFormatRecord->hiPlane = 3;
        gFormatRecord->planeBytes = IMAGE_DEPTH >> 3;
        gFormatRecord->rowBytes = imageSize.h * gFormatRecord->planes * ( IMAGE_DEPTH >> 3 );
        gFormatRecord->colBytes = gFormatRecord->planes * ( IMAGE_DEPTH >> 3 );
        gFormatRecord->transparencyPlane = 3;
        gFormatRecord->transparencyMatting = 1;
        gFormatRecord->blendMode = PIBlendLinearDodge;
        gFormatRecord->isVisible = true;
      SetFormatImageSize(imageSize);
      gFormatRecord->imageHRes = FixRatio(72, 1);
      gFormatRecord->imageVRes = FixRatio(72, 1);
      VRect theRect;
      theRect.left = 0;
      theRect.right = imageSize.h;
      theRect.top = 0;
      theRect.bottom = imageSize.v;
      SetFormatTheRect(theRect);
      // No resources for now.
      if (sPSHandle->New != NULL) gFormatRecord->imageRsrcData = sPSHandle->New(0);
      gFormatRecord->imageRsrcSize = 0;
        return;  
    /// Called for prewiew only.
    static void DoReadContinue (void){
        // Dispose of the image resource data if it exists.
        DisposeImageResources ();
      if( gFormatRecord->openForPreview ){   
        VPoint imageSize = GetFormatImageSize();
        gFormatRecord->data = gMxiInfo->bufferPreview;
          if (*gResult == noErr) *gResult = gFormatRecord->advanceState();
        if( gFormatRecord->data != NULL ){
          delete[] (Crgb8*)gMxiInfo->bufferPreview;
          gMxiInfo->bufferPreview = NULL;
          gFormatRecord->data = NULL;
      // De momento nos olvidamos de los icc profiles [TODO]
        //DoReadICCProfile ();
    static void DoReadFinish (void)
        // Dispose of the image resource data if it exists.
        DisposeImageResources ();
        WriteScriptParamsOnRead (); // should be different for read/write
      // write a history comment
        AddComment ();
      // Clean some memory.
      if( gMxiInfo->lightNamesList != NULL ){
        for( unsigned int i = 0; i < gMxiInfo->nMultilightChannels; i++){
          if( gMxiInfo->lightNamesList[i] != NULL ){
            delete[] gMxiInfo->lightNamesList[i];
            gMxiInfo->lightNamesList[i] = NULL;
        delete[] gMxiInfo->lightNamesList;
        gMxiInfo->lightNamesList = NULL;
      if( gMxiInfo->bufferPreview != NULL ){
        delete[] gMxiInfo->bufferPreview;
        gMxiInfo->bufferPreview = NULL;
      if( gMxiInfo->filename != NULL ){
        delete[] gMxiInfo->filename;
        gMxiInfo->filename = NULL;
      if( cMax != NULL ){
        delete cMax;
        cMax = NULL;
    static void DoReadLayerStart(void){
      // empty
    static void DoReadLayerContinue (void){
      int32 done;
        int32 total;
      VPoint imageSize = GetFormatImageSize();
      // Set the progress bar data
      done = gFormatRecord->layerData + 1;
      total = gMxiInfo->nMultilightChannels + gMxiInfo->nExtraBuffers + 2;
      // Dispose of the image resource data if it exists.
      DisposeImageResources ();
      uint32 bufferSize = imageSize.v * gFormatRecord->rowBytes;
      int nPixels = gMxiInfo->width * gMxiInfo->height;
      char* lightName = NULL;
      // SET THE BLACK BACKGROUND
      if( gFormatRecord->layerData == 0 ){
        gFormatRecord->data = (void*)new byte[bufferSize];
        for( int i = 0; i < nPixels; i++ ){
          ((float*)gFormatRecord->data)[ i * 4 ]     =
          ((float*)gFormatRecord->data)[ i * 4 + 1 ] =
          ((float*)gFormatRecord->data)[ i * 4 + 2 ] = 0.0;
          ((float*)gFormatRecord->data)[ i * 4 + 3 ] = 1.0;
        // Set the layer name.
        gFormatRecord->layerName = new uint16[64];
        gFormatRecord->layerName[0] = 'B';
        gFormatRecord->layerName[1] = 'a';
        gFormatRecord->layerName[2] = 'c';
        gFormatRecord->layerName[3] = 'k';
        gFormatRecord->layerName[4] = 'g';
        gFormatRecord->layerName[5] = 'r';
        gFormatRecord->layerName[6] = 'o';
        gFormatRecord->layerName[7] = 'u';
        gFormatRecord->layerName[8] = 'n';
        gFormatRecord->layerName[9] = 'd';
        gFormatRecord->layerName[10] = '\0';
      // LOAD THE LIGHT LAYERS
      else if( gFormatRecord->layerData < gMxiInfo->nMultilightChannels + 1 ){
        void* lightBuffer = NULL;
        void* alphaBuffer = NULL;
        byte foob;
        dword food;
        // Get the light buffer.
        bool res = cMax->getLightBuffer(
                               (char*)gMxiInfo->filename,
                               gFormatRecord->layerData - 1, IMAGE_DEPTH,
                               lightBuffer,
                               gMxiInfo->width, gMxiInfo->height, lightName);
        if(!res){
          *gResult = readErr;
          return;
        if( gMxiInfo->hasAlpha ){
          // Get the alpha buffer.
          res = cMax->getExtraBuffer(
                                (char*)gMxiInfo->filename,
                                "ALPHA", IMAGE_DEPTH, alphaBuffer,
                                food, food, foob);
          if(!res){
            *gResult = readErr;
            return;
        else{
          alphaBuffer = (void*)new float[ gMxiInfo->width * gMxiInfo->height * 3 ];
          for( int i = 0; i < nPixels; i++ ){
            // Only need to set the red channel.
            ((float*)alphaBuffer)[ i * 3 ] = 1.0;
        // Put them together.
        gFormatRecord->data = (void*)new byte[bufferSize];
        for( int i = 0; i < nPixels; i++ ){
          ((float*)gFormatRecord->data)[ i * 4 ]     = ((float*)lightBuffer)[ i * 3 ];
          ((float*)gFormatRecord->data)[ i * 4 + 1 ] = ((float*)lightBuffer)[ i * 3 + 1 ];
          ((float*)gFormatRecord->data)[ i * 4 + 2 ] = ((float*)lightBuffer)[ i * 3 + 2 ];
          ((float*)gFormatRecord->data)[ i * 4 + 3 ] = ((float*)alphaBuffer)[ i * 3 ];
        delete[] (float*)lightBuffer;
        delete[] (float*)alphaBuffer;
        // Set the layer name.
      //LOAD THE EXTRA CHANNELS
      if( ... ){
      //READ THE RENDER BUFFER
      if( ... ){
      // User can abort.
      if (gFormatRecord->abortProc()){
          *gResult = userCanceledErr;
          return;
      // Commit the layer.
      if (*gResult == noErr) *gResult = gFormatRecord->advanceState();
      // Update the progress bar.
      (*gFormatRecord->progressProc)( done, total );
      // Free memory.
      if( gFormatRecord->data != NULL ){
        delete[] (float*)gFormatRecord->data;
        gFormatRecord->data = NULL;
      if( lightName != NULL ){
        delete[] lightName;
        lightName = NULL;
    static void DoReadLayerFinish (void)
      // Nothing to do.
    And that's the image that I obtain loading a 8 layer image:
    The layers have transparency (when I set "transparencyPlane" to  -1, or 0, or 1, or 2, or 3, or 4....., I got the same result!). The blending mode is still "normal". I had set it to "linear dodge" The "isVisible" param works OK.
    Alpha 1 is still black.
    Is possible that I need to set something in the .r file? I had to add "FormatLayerSupport { doesSupportFormatLayers }," to manage layers, for instance.

  • I have video clips with 4 channels of audio, I can only hear audio recorded on channel one, how do I hear the other channels......?

    I have video clips with 4 channels of audio, I can only hear audio recorded on channel one, how do I hear the other channels......?

    What version of Premiere Elements and on what computer operating system?     Elements 13 on Windows 7
    What is the brand/model/settings of the camera that recorded these videos?        ony  PMW 320
    When you import them into your Premiere Elements project, what does Premiere Elements Properties for that import give for
    the audio description in the way of number of channels? If you open the Audio Meter (Window Menu/Audio Meters) and you play back
    the video in the Premiere Elements Editor, how many channels does the Audio Meter display?   
      I just drag and drop video and when playing back only channel 1 will appear
    What is your intended export for this video in terms of audio as well as video compression and formats?    MP4
    I think you can only use audio if it's recorded on channel 1 or it does not recognize it.
    Thanks for the help if possible,Kevin416 873 8374

  • Error in generating the communication channel

    Hi All,
    I am getting the following error while trying to configure the business scenario using the Integration Directory.
    Attempt to create object failed
    Unable to generate the communication channel (XI_Test_Sender_BS, XI_Sender_BS): com.sap.aii.utilxi.misc.api.ClientServerException
    Here I am trying send a message from a third party system to an SAP R/3.I had selected the adapter type as File adapter on the sender side and Idoc adapter on the receiver side.While configuring using the Configuration Wizard, the error mentioned above is generated.
    Please help me.
    Thanks and Regards,
    Soumya.

    HI Rajesh,
    Thanks for quick reply...
    My requirement was to idetify the order number in table which i have generated a sequence to be unique in DB.
    Do we have any option to process a single file at a time from the sender location instead of multiple files...i can see processing sequence <bydate> option in nfs but not in FTP.
    Please suggest....
    Thanks in advance,
    naveen

Maybe you are looking for

  • App store wont let me buy OSX Mountain Lion

    My MBP is from 2011 and fully capable of runnung osx mountain lion however when i sign into the app atore to buy it i get a pop up saying that the file damaged or invalid. Ive callled apple tech and currently im reinstalling osx lion in hopes it will

  • Encountering Error while deploying IDM 8.1 on jboss4.2.0GA

    Hello, We are trying to install IdM 8.1 on Jboss. The installation part (setting up repository and installing IdM) worked fine. But when we try starting the jboss, we are encountering the below errors - 15:37:33,097 ERROR [BaseModelMBean] Exception i

  • How to run the form without logon?

    sir: I want to create the application without logon,but before the form appear,I must logon, I want to know how to run the form without logon(comment:I don't connect to database!); null

  • Aufnahmedatum

    Guten Tag, Wer kann helfen? Beim Importieren von Bilddateien in den Organizer wird das Aufnahmedatum in anderen Browsern in das Import-Datum geändert. Beispiel: Import Bilddatei am 07.12.2014. Aufnahmedatum 20.04.2014 wird im Organizer so angezeigt,

  • Alguien puede ayudarme por favor?

    Alguien puede ayudarme por favor? Despertamos x q el flash del iPhone se prendió y ahora no podemos apagarlos con nada :(