C expert question

Here are five typedefs for the c-brains in here. How do I port them to Java?
typedef struct {
  long endbyte;
  int  endbit;
  unsigned char *buffer;
  unsigned char *ptr;
  long storage;
} oggpack_buffer;
typedef struct {
  unsigned char *header;
  long           header_len;
  unsigned char *body;
  long           body_len;
} ogg_page;
typedef struct {
  unsigned char   *body_data;    /* bytes from packet bodies */
  long    body_storage;          /* storage elements allocated */
  long    body_fill;             /* elements stored; fill mark */
  long    body_returned;         /* elements of fill returned */
  int     *lacing_vals;    /* The values that will go to the segment table */
  ogg_int64_t *granule_vals;      /* granulepos values for headers. Not compact
                             this way, but it is simple coupled to the
                             lacing fifo */
  long    lacing_storage;
  long    lacing_fill;
  long    lacing_packet;
  long    lacing_returned;
  unsigned char    header[282];      /* working space for header encode */
  int              header_fill;
  int     e_o_s;          /* set when we have buffered the last packet in the
                             logical bitstream */
  int     b_o_s;          /* set after we've written the initial page
                             of a logical bitstream */
  long     serialno;
  int      pageno;
  ogg_int64_t  packetno;      /* sequence number for decode; the framing
                             knows where there's a hole in the data,
                             but we need coupling so that the codec
                             (which is in a seperate abstraction
                             layer) also knows about the gap */
  ogg_int64_t   granulepos;
} ogg_stream_state;
typedef struct {
  unsigned char *packet;
  long  bytes;
  long  b_o_s;
  long  e_o_s;
  ogg_int64_t  granulepos;
  ogg_int64_t  packetno;
} ogg_packet;
typedef struct {
  unsigned char *data;
  int storage;
  int fill;
  int returned;
  int unsynced;
  int headerbytes;
  int bodybytes;
} ogg_sync_state;My technique will be to translate all five of them to classes.
class oggpack_buffer {}
class ogg_page {}
class ogg_stream_state {}
class ogg_packet {}
class ogg_sync_state {}I'll change the names so they comply with the coding conventions for Java.
class OggPackBuffer {}
class OggPage {}
class OggStreamState {}
class OggPacket {}
class OggSyncState {}The first typdef is called oggpack_buffer. The first field is a long. I search for "Java data types" and it gives me this document:
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html
This line I don't understand:
long      Long integer      64-bit two's complement
What does '64-bit two's complement' mean?
Then I search for C data types and it gives me this:
http://www.phim.unibe.ch/comp_doc/c_manual/C/CONCEPT/data_types.html
'long' is not even listed in the second document. Only 'int long'. Elsewhere I learn that the size of a 'long' in C depends on the CPU or system architecture.
So I'm stuck already in the first line. Please throw some light on the 'long' data type in C and the corresponding in Java.
Thank you.

The next 'typedef struct' - what a semantically strange construct - presents me with some new problems. Let's look at it:
typedef struct {
  unsigned char   *body_data;    /* bytes from packet bodies */
  long    body_storage;          /* storage elements allocated */
  long    body_fill;             /* elements stored; fill mark */
  long    body_returned;         /* elements of fill returned */
  int     *lacing_vals;    /* The values that will go to the segment table */
  ogg_int64_t *granule_vals;      /* granulepos values for headers. Not compact  this way, but it is simple coupled to the lacing fifo */
  long    lacing_storage;
  long    lacing_fill;
  long    lacing_packet;
  long    lacing_returned;
  unsigned char    header[282];      /* working space for header encode */
  int              header_fill;
  int     e_o_s;          /* set when we have buffered the last packet in the                             logical bitstream */
  int     b_o_s;          /* set after we've written the initial page of a logical bitstream */
  long     serialno;
  int      pageno;
  ogg_int64_t  packetno;      /* sequence number for decode; the framing
                             knows where there's a hole in the data,
                             but we need coupling so that the codec
                             (which is in a seperate abstraction
                             layer) also knows about the gap */
  ogg_int64_t   granulepos;
} ogg_stream_state;Apart from presenting us with some incomprehensible ogg-specific information there is a new data-type. Remember that in C, we can define your own primitive data-types. The one in question is called 'ogg_int64_t'. Go to the http://xiph.org/ website, download the libogg and libvorbis and run an XP search for header files with that name in them. One moment...
http://www.ideerdeterbumbumbum.dk/cprograms/search.PNG
A lot of hits!
http://www.ideerdeterbumbumbum.dk/cprograms/search.PNG
In the file os_types.h I find an answer. But theres a challenge for me. Look what I found in this file. Here's the file in its entirity.
#ifndef _OS_TYPES_H
#define _OS_TYPES_H
/* make it easy on the folks that want to compile the libs with a
   different malloc than stdlib */
#define _ogg_malloc  malloc
#define _ogg_calloc  calloc
#define _ogg_realloc realloc
#define _ogg_free    free
#if defined(_WIN32)
#  if defined(__CYGWIN__)
#    include <_G_config.h>
     typedef _G_int64_t ogg_int64_t;
     typedef _G_int32_t ogg_int32_t;
     typedef _G_uint32_t ogg_uint32_t;
     typedef _G_int16_t ogg_int16_t;
     typedef _G_uint16_t ogg_uint16_t;
#  elif defined(__MINGW32__)
     typedef short ogg_int16_t;                                                                            
     typedef unsigned short ogg_uint16_t;                                                                  
     typedef int ogg_int32_t;                                                                              
     typedef unsigned int ogg_uint32_t;                                                                    
     typedef long long ogg_int64_t;                                                                        
     typedef unsigned long long ogg_uint64_t; 
#  elif defined(__MWERKS__)
     typedef long long ogg_int64_t;
     typedef int ogg_int32_t;
     typedef unsigned int ogg_uint32_t;
     typedef short ogg_int16_t;
     typedef unsigned short ogg_uint16_t;
#  else
     /* MSVC/Borland */
     typedef __int64 ogg_int64_t;
     typedef __int32 ogg_int32_t;
     typedef unsigned __int32 ogg_uint32_t;
     typedef __int16 ogg_int16_t;
     typedef unsigned __int16 ogg_uint16_t;
#  endif
#elif defined(__MACOS__)
#  include <sys/types.h>
   typedef SInt16 ogg_int16_t;
   typedef UInt16 ogg_uint16_t;
   typedef SInt32 ogg_int32_t;
   typedef UInt32 ogg_uint32_t;
   typedef SInt64 ogg_int64_t;
#elif defined(__MACOSX__) /* MacOS X Framework build */
#  include <sys/types.h>
   typedef int16_t ogg_int16_t;
   typedef u_int16_t ogg_uint16_t;
   typedef int32_t ogg_int32_t;
   typedef u_int32_t ogg_uint32_t;
   typedef int64_t ogg_int64_t;
#elif defined(__BEOS__)
   /* Be */
#  include <inttypes.h>
   typedef int16_t ogg_int16_t;
   typedef u_int16_t ogg_uint16_t;
   typedef int32_t ogg_int32_t;
   typedef u_int32_t ogg_uint32_t;
   typedef int64_t ogg_int64_t;
#elif defined (__EMX__)
   /* OS/2 GCC */
   typedef short ogg_int16_t;
   typedef unsigned short ogg_uint16_t;
   typedef int ogg_int32_t;
   typedef unsigned int ogg_uint32_t;
   typedef long long ogg_int64_t;
#elif defined (DJGPP)
   /* DJGPP */
   typedef short ogg_int16_t;
   typedef int ogg_int32_t;
   typedef unsigned int ogg_uint32_t;
   typedef long long ogg_int64_t;
#elif defined(R5900)
   /* PS2 EE */
   typedef long ogg_int64_t;
   typedef int ogg_int32_t;
   typedef unsigned ogg_uint32_t;
   typedef short ogg_int16_t;
#elif defined(__SYMBIAN32__)
   /* Symbian GCC */
   typedef signed short ogg_int16_t;
   typedef unsigned short ogg_uint16_t;
   typedef signed int ogg_int32_t;
   typedef unsigned int ogg_uint32_t;
   typedef long long int ogg_int64_t;
#else
#  include <sys/types.h>
#  include <ogg/config_types.h>
#endif
#endif  /* _OS_TYPES_H */An if-else system based on OS-architecture. How strange for a Javaman! How does it do? Instinctively I get the urge to search for '_WIN32' among all the files. One moment...
I didn't find a definition of the string '_WIN32'. Now that's very strange, cause '_WIN32' is a strange string. Look at it! It looks crazy! I'm gonna search for it on Google...
I got 151.000 hits. That probably means that it's somehow a conventional syntax to say '_WIN32'. I've got to try to test this with jsalonen's program. I will include the headerfile show above into my helloworld-program with the sizeof([data-type]) dumps and see what happens.
#include <iostream>
#include "stdafx.h"
#include <stdio.h>
#include "os_types.h"
using namespace std;
void main()
  cout << "Hello World!" << endl;   cout << "Welcome to C++ Programming" << endl;
  printf("ogg_int64_t:\t%d\n", sizeof(ogg_int64_t));
  printf("short:\t%d\n", sizeof(short));
    printf("int:\t%d\n", sizeof(int));
    printf("long:\t%d\n", sizeof(long));
    printf("long long:\t%d\n", sizeof(long long));
}My my. It compiled. The output on my Pentium/XP architecture is:
C:\Documents and Settings\Morten Hjerl-Hansen\Dokumenter\temp\cproject\cproject\
Debug>cproject.exe
Hello World!
Welcome to C++ Programming
ogg_int64_t: 8
short: 2
int: 4
long: 4
long long: 8
Here's the executable if you want to try it out on your own Windows box. (Look for it near your Linux box.)
www.ideerdeterbumbumbum.dk/cprograms/cprojectv2.exe
ogg_int64_t is 8 bytes. So I have to decide between finding a Java datatype of size 8 bytes (64 bits) and representing ogg_int64_t. I definitely go for the first option. I don't have a clue why, it's a gut feeling. There are two: long and double. jsalonen said something about signs before. He (she?) said that long is signed.
How do I find out if the datatype ogg_int64_t is signed? That's easy:
#include <iostream>
#include "stdafx.h"
#include <stdio.h>
#include "os_types.h"
using namespace std;
void main()
  cout << "Hello World!" << endl;   cout << "Welcome to C++ Programming" << endl;
  ogg_int64_t dummy = -1;
  printf("dummy:\t%d\n", dummy);
}Output:
C:\Documents and Settings\Morten Hjerl-Hansen\Dokumenter\temp\cproject\cproject\
Debug>cproject.exe
Hello World!
Welcome to C++ Programming
dummy: -1
Program:
www.ideerdeterbumbumbum.dk/cprograms/cprojectv3.exe
Cool. It's signed just as Java's long, so they are completely the same. Wait...I'll just make one more test, just for the *** of it.
#include <iostream>
#include "stdafx.h"
#include <stdio.h>
#include "os_types.h"
using namespace std;
void main()
  cout << "Hello World!" << endl;   cout << "Welcome to C++ Programming" << endl;
  ogg_int64_t dummy = 0xFFFFFFFFFFFFFFFF;
  ogg_int64_t dummy2 = 0xFFFFFFFFFFFFFFFE;
  printf("dummy:\t%d\n", dummy);
  printf("dummy:\t%d\n", dummy2);
}Output:
C:\Documents and Settings\Morten Hjerl-Hansen\Dokumenter\temp\cproject\cproject\
Debug>cproject.exe
Hello World!
Welcome to C++ Programming
dummy: -1
dummy: -2
I never get used to that. The 'most significant bit' signifies the sign.
I look at the 'typedef struct' listed at the beginning of this message again. These two lines are weird:
  int     *lacing_vals;    /* The values that will go to the segment table */
  ogg_int64_t *granule_vals;      /* granulepos values for headers. Not compact  this way, but it is simple coupled to the lacing fifo */I haven't got a clue about how to translate them to Java. I read the documentation.
http://xiph.org/ogg/doc/libogg/ogg_stream_state.html
It reads:
lacing_vals
String of lacing values for the packet segments within the current page. Each value is a byte, indicating packet segment length.
granule_vals
Pointer to the lacing values for the packet segments within the current page.
I will definitely not use a java.lang.String to represent
int *lacing_vals;
Because I know that Java Strings are made upof unicodes and those are 16 bit each, just as the Java char primitive type. So I'll use a byte array, obviously. The 'granule_vals' field is harder to translate. I make a search in the code which makes it more and more like plausible that 'granule_vals' represents every Java programmers worst nightmare: absolute memory referencing. Aaa! Eeee�
How on earth do I represent t h a t? Wittgenstein said that the meaning of a sentence is it's use. This is exactly the key to what I must do now. Search for uses...frame.c in libogg has this line in it where 'granule_vals' is used:
os->granule_vals=_ogg_malloc(os->lacing_storage*sizeof(*os->granule_vals));I'm happy. oggmalloc is clearly a memory allocation call of some sort. I wonder what it returns. I'll do a file search now for oggmalloc...
It's used in several places. Alas, poor C-programmers. misc.c in libvorbis reads:
#define _ogg_malloc(x) _VDBG_malloc(NULL,(x),__FILE__,__LINE__)Typical C! Just look at that 'x' there. That's generics. Like in Tiger, when we say
public interface List<E> {
void add(E x);
Iterator<E> iterator();
public interface Iterator<E> {
E next();
boolean hasNext();
}Ok. I'm getting used to it, but I haven't used that <E> notation in my programs yet. Anyway in misc.c there's a line defining VDBGmalloc:
extern void *_VDBG_malloc(void *ptr,long bytes,char *file,long line);The 'extern' keyword probably means that it is defined externally. There's a long explanation of the 'extern' keyword here
http://publications.gbdirect.co.uk/c_book/chapter4/linkage.html
that I don't care about. The only thing I'm interested in at this moment, keeping my focus, is how a method can have this return type:
void *
It makes absolutely no sense to a Java programmer, does it?
Anyway, the class is finished:
http://ideerdeterbumbumbum.dk/oggenc/dk/hjerl/ogg/OggStreamState.java

Similar Messages

  • Meet The Experts Questions: SAP NetWeaver Programming Model

    Hi SDN Members,
    In Palo Alto as well as in Walldorf we are having Meet the Expert sessions, where SAP developers will answer your questions to a particular topic.
    <b>SDN Meets Labs Palo Alto Agenda</b>:
    https://www.sdn.sap.com/sdn/index.sdn?page=sdnmeetslabs_palo_alto_agenda.htm
    <b>SDN Meets Labs Walldorf Agenda</b>:
    https://www.sdn.sap.com/sdn/index.sdn?page=sdnmeetslabs_walldorf_agenda.htm
    This thread is your opportunity to ask your question to the Experts already here on SDN and we will make sure that they are going to be asked. (Or at least as many as can be answered within an hour.)
    Please post your questions regarding the <b>SAP NetWeaver Programming Models</b> here.

    LIfe demo of NW Administrator:
    Yes. If everything goes right.
    SolMan is not our focus, but positioning to SolMan Diagnostics will be discussed.
    Message was edited by: Christoph Nake
    Message was edited by: Christoph Nake

  • Meet The Experts Questions: Operations Monitoring

    Hi SDN Members,
    In Walldorf we are having Meet the Expert sessions, where SAP developers will answer your questions to a particular topic.
    <b>SDN Meets Labs Walldorf Agenda</b>:
    https://www.sdn.sap.com/sdn/index.sdn?page=sdnmeetslabs_walldorf_agenda.htm
    This thread is your opportunity to ask your question to the Experts already here on SDN and we will make sure that they are going to be asked. (Or at least as many as can be answered within an hour.)
    Please post your questions regarding the <b>Operations Monitoring</b> here.

    LIfe demo of NW Administrator:
    Yes. If everything goes right.
    SolMan is not our focus, but positioning to SolMan Diagnostics will be discussed.
    Message was edited by: Christoph Nake
    Message was edited by: Christoph Nake

  • Meet The Experts Questions: Partnering ISV Forum / J2EE Migration

    Hi SDN Members,
    In Walldorf we are having Meet the Expert sessions, where SAP developers will answer your questions to a particular topic.
    <b>SDN Meets Labs Walldorf Agenda</b>:
    https://www.sdn.sap.com/sdn/index.sdn?page=sdnmeetslabs_walldorf_agenda.htm
    This thread is your opportunity to ask your question to the Experts already here on SDN and we will make sure that they are going to be asked. (Or at least as many as can be answered within an hour.)
    Please post your questions regarding the <b>Partnering ISV Forum / J2EE Migration</b> here.

    Hi,
    Please check below guide:
    How to start New Post on HP Support Forum
    Ps.
    Here you may ask any question and you will get your answer for free.
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • Remote Desktop Connection Expert Question...

    I am looking for someone with a lot of experience with Windows Remote Desktop Connection to answer a basic question or two...
    I have a WireShark capture (only one side unfortunately) which shows 880 MBytes sent from the client running the Remote Desktop Connection, to the host; but I have no WireShark capture of the packet volume coming from the host to the client IP address. The
    capture is for a period spanning 32 hours. I am being asked to try and determine (guestimate) the amount of data that might have been sent from the host to the client... I know this is a real out there question; which is why I'm looking for someone with
    real Remote Desktop Connection experience.  
     Given that if the volume of traffic from the client to the host is 880MBytes over 32 hours; is there any way at all of guessing how much might have been sent from the host to the client?
    Please be kind, this is important and I am presenting all of the information I have.
    Thank you!

    Hi,
    Agreed with T.Murr here. Only based on the networks traces from one way connection, is hard to determine what happens on the other side.
    Besides, hope the following information would be helpful here:
    Top 10 RDP Protocol Misconceptions – Part 1
    Best regards
    Michael Shao
    TechNet Community Support

  • Select expert question

    Hi,
      I just changed an existing report to have a filter on one of my groups.  I used the select expert and filtered using the "is not equal to" criteria.  Everything works as it should when I view the report in crystal, my filtered objects do not show up.  When I then open that same report in Cabinet vision (the program we use the reports inside) the filter does not work.  I know that this could be a problem with the cabinet program, but I figured I would check into there being anything I may have missed when using the select expert.
    Thanks for any ideas,
    Mike

    We use a .RIM file to get these reports working in cabinet vision, my problem was with the setup of this file.  More specifically I should have had the value for GSF_ForRecordSelection set to false, mine was -1.

  • Hi Experts, questions about abap unit test(abap oo)?

    Hi Experts,
    I am learning abap unit test, could you please tell me some info about how I can test the performance of some specific code in my program? can abap unit test do this kind of job? and could you please tell me what I can do using abap unit test? and some classic examples are appreciated, thanks in advance!
    Kind regards
    Dawson

    Hi
    Below documents will give you more information,
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/content.htm
    ABAP Testing and Troubleshooting [original link is broken]
    http://bi.offis.de/publicProject/g16cglafhqva.htm
    regards
    Nagaraju

  • XLR query expert question

    Here is a little challenge from a user. I am using B1 for Stock control and Stock forecasting. Until now we used a Microsoft Access Query to extract to Stock Consumption Quantity from SAP tables and this query works fine and it creates the Stock Consumtion and forecast report for our company. However, I am trying to achieve the same result by using XLR in SAP and I can get the Stock Quantity from the relevant A/R Invoice table and extract the Quantity value for a particular Stock Item ( say MRH001 = Shampoo )
    However, MRH001 is also used as part of other Gift Packs and we use Production Order and Bill of Material, to make up these packs. So the Gift Pack is finally recorded as a new Stock Item called Pack1 which contains MRH001. So our total consumption of Shampoo (MRH001) is made up from sales of MRH001 itself + MRH001 sold as Pack1. So we need a way of finding out the total SALES of MRH001 and so far we could not find a way. Our Business Partner has also tried to come up with an idea but so far we could not crack this one.
    To make things more complex, our Pack1 (which contains MRH001) can be included in another pack (say Pack2). So now we have Shampoo sales under 3 different product codes, MRH001, Pack1 and Pack2.
    Any ideas from SAP experts?
    Thanks
    Robert

    Ho Gordon
    Thanks for this pointer. I used the QPLD before and probably you are right that I may be able to run a Query to do this but when it come to functionality I found the QPLD limiting. I may give it another go.
    Unfortunately, I do not have christal reporting but I have heard that it may become part of B1 in the future?
    Thanks
    Robert

  • XL reporter expert question

    I am trying to produce a stock item Quantity consumption report with XLR and I am choosing the Sales AR  and Sales Credit Memo type of transactions. The problem I find is in choosing a light dimention field that will give me the Item Stock Quantity per invoice line. I have tried the INV_Qty field but it did not give me the right result. Any ideas where am I going wrong?  I have also tried the SO_Quantity field and this did not work either.
    Thank you for any tips?
    Robert

    Hi Julie
    Thanks for that but unfortunately this did not solve the problem. I already had the Row Expantion set ( I just did not know that thats the name for it) In fact without Row Expantion and choosing a Dimention, I would not be able to select the Fields (Light Dimentions and Measures) in the cells for my report. You noticed tha Jim suggested that it may be a Grouping issue but, I have not Grouped anything (perhaps I need to Order and Group?). All my selections of Dimentions are at Row level and I wonder if I need to select something at Column level to show me transation lines for a period? At present I do not understand the reasons for setting anything in a Column?
    It is obvious that I am missing something in my understanding but I am not sure what it is:
    1. It may be that I am missing some understanding in which Dimention will work with which Light Dimention and Measure - however, I tried many simple combinations and I get the same NIL result in the report
    2. I thought that I need to set a Repetitive area for transaction, but according to you, the Row Expantion should do that part
    3. Perhaps I need some setting at Column level that I am missing
    4. Perhaps there is a need to set something at Document Level
    Probably is something else I am missing
    Robert
    Robert

  • Adobe Certified Expert questions...

    Can you get certified on any version of photoshop or do you have to start at Photoshop 1.0?
    Once you're certified does your certificate "expire" ? Do you have to retake a test? If so how often?

    you have to take it for the latest version available. As for expiring, yes and no, to keep it up-to-date you have to retake the exam after a new version comes out but you can still use your old ACE certification in text form (so no showing off the logo) as long as you specifically mention for what version it is.
    Further reading:
    http://www.adobe.com/support/certification/
    http://www.adobe.com/support/certification/pdfs/ace_agmt.pdf (PDF, ACE program agreement)

  • BW 7.1 reporting question

    Hello Experts,
    Question on supressing selected rows in reports(either using WAD in a webtemplate) or in the Query.
    I have a structure which calculates cost(selected GL account hierarchy), sales(selected GL account hierarchy) and gross(formula:sales-costs) in a report which has GL account as free charecterstic.
    When I run the report, the initial report is 3 lines with sales, costs and gross. When I add free charecteristic GL Account, I need the GL account details(rows) in cost and sales only but not in Gross which is what is happening. Any ideas how to supress these rows?
    Below is an example for clarity.
    Sales 9999
    Cost  1111
    Gross 8888
    Add gl account
    Sales   GL1      100
    Saes    GL2      200
    Cost     GL91     50
    Cost     GL92     50
    Gross  GL1       100
    Gross  GL2       200
    Gross  GL91    50
    Gross  GL92    50
    I want the Gross total to be displayed as one line only! Thanks for your help

    I suggest you to change structure of your column/row. Instead of putting your KF to row, put it in column like below.
    Sales   Cost    Gross
    9999    1111    8888
    So when you drill down using GL acc, something like below will be produce
                Sales   Cost    Gross
    GL1     100       50        50
    GL2     200       50        150
    Regards

  • Spry Dataset loading question

    I have a general question to any of the experts using the
    Spry dataset. I created a test page that works beautifully, and
    want to use it as a portfolio presentation on my website. It
    automatically created two pages – the dataset, and it’s
    data counterpart. The “data” page is a long scrolling
    tabled page with a link/content/description column – the
    “content” column cells each contain a fairly large
    image that displays on the main dataset page in a
    “window” as each item is selected.
    My question is this – when the dataset calls/displays a
    cell from the data page, is it only loading the image that’s
    being called, or does it need to load all of the images on the data
    page (even though they aren’t displayed until selected)? I
    originally assumed they were being called individually, but when I
    set up a similar page to display my flv and swf animations in, the
    dataset worked - but when the first animation was displayed I could
    hear the audio of all of the other animations that were on the
    original data page at the same time. This leads me to believe that
    there is a definite download/time issue on a page that has several
    fairly weighty images/animations...
    This could be a HUGE shot in the foot if a viewer is browsing
    on a slower connection. My current site uses flash with externally
    linked images and works perfectly:
    http://www.jgigandet.com/.
    Each image loads only when they are called (but it’s a hassle
    to make updates to the portfolio)… is there a way to only
    load each image as it’s called using the spry menu?
    Thanks to anyone who has any insight or advice,
    Jesse

    I'm not feelin the love - is there another place we can ask
    Adobe experts questions about their software? -
    I just want to know how the spry dataset works, and if it's a
    good choice for what I'm trying to do. I'm not looking to critique
    or demean the technology - for the most part it works awesome. I
    just need some clear paramerters of how it works, and if loading a
    long list of large images will crash and burn on a slow
    connection...? Does anyone have any other ways of contacting Adobe
    support directly with questions such as these?
    Thanks - this is my last post of this question to bubble it
    back to the top... promise...

  • Two Question about GP on version CE 7.11

    Hi ,experts:
    Question 1:In our old system's workflow, a position named "secretary-
    general of Loan Committee" can distribute the task to the specific
    committee reviewers. After do that he also can change the reviewer, who
    got the task but hasn't any progress;to not do the task or add other
    reviewers to get the task. So we should do that with GP like this:
    there are three actions, action A action B and action C. The action A
    can assign several users to the action B and the action C, also the
    action A can change the users that have been assigned to the action B
    or the action C.
    Question 2:Familiar with the question 1, after one position finish the
    task and submit,he can call back it if the next position haven't do
    anything yet , and then he can rehandle the task and submit it again.
    So we should do that with GP like this: there are two actions , action
    A and action B, the action B is the next position of the action A, the
    user of the action A finished a task and submit it and he can call back
    or rehandle the task until the user of the action B accept his task.
    Are these 2 points above possiable in GP version 7.11? And it will be
    very kind of you to give us an example if GP can do this. further more,
    is there any doc of GP about it?
    Thank you very much!
    Best Regards!

    Solution found using this mc
    divert(0)dnl
    VERSIONID(`sendmail.mc (Sun)')
    OSTYPE(`solaris11')dnl
    DOMAIN(`solaris-generic')dnl
    define(`confCACERT_PATH', `/etc/mail/certs')dnl
    define(`confCACERT', `/etc/mail/certs/domain.com.crt')dnl
    define(`confSERVER_CERT', `/etc/mail/certs/solaris11.domain.com.crt')dnl
    define(`confSERVER_KEY', `/etc/mail/certs/solaris11.domain.com.key')dnl
    define(`confCLIENT_CERT', `/etc/mail/certs/solaris11.domain.com.crt')dnl
    define(`confCLIENT_KEY', `/etc/mail/certs/solaris11.domain.com.key')dnl
    define(`confRAND_FILE',`egd:/dev/urandom')dnl
    define(`_X400_UUCP_')dnl
    define(`_MASQUERADE_ENVELOPE_')dnl
    define(`MASQUERADE_NAME')dnl
    define(`confTRY_NULL_MX_LIST',`T')dnl
    define(`LUSER_RELAY',`name_of_luser_relay')dnl
    define(`DATABASE_MAP_TYPE',`dbm')dnl
    define(`_CLASS_U_')dnl
    define(`LOCAL_RELAY')dnl
    define(`MAIL_HUB')dnl
    TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5')dnl
    FEATURE(always_add_domain)dnl
    FEATURE(access_db)dnl
    MAILER(local)dnl
    MAILER(smtp)dnl
    MAILER(uucp)dnl
    define(`SMART_HOST', `posta.domain.com')
    define(`confCACERT_PATH', `/etc/mail/certs')dnl
    define(`confCACERT', `/etc/mail/certs/domain.com.crt')dnl
    define(`confSERVER_CERT', `/etc/mail/certs/solaris11.domain.com.crt')dnl
    define(`confSERVER_KEY', `/etc/mail/certs/solaris11.domain.com.key')dnl
    define(`confCLIENT_CERT', `/etc/mail/certs/solaris11.domain.com.crt')dnl
    define(`confCLIENT_KEY', `/etc/mail/certs/solaris11.domain.com.key')dnl
    define(`confRAND_FILE',`file:/dev/random')dnl
    D{tls_version}TLSv1
    and makemap dbm access file
    Last question: how to disable ssl3 and enable tls1 only?

  • Thanks for the HP "ASK THE EXPERTS"

    I have to say it was wonderful to have the opportunity to ask the experts questions and to have them promptly addressed. My question, for example, received not one helpful response, not two, or even three, but absolutely NOT AT ALL. It was so wonderful to get such attention and help.

    Welcome to the HP Consumer Support Community. This is a peer-to-peer community for customers to connect and share solutions regarding their HP products. If you have additional or direct feedback for HP about their products or services, please use the link below.
    http://welcome.hp.com/country/us/en/wwcontact_us.html
    Or, you may have a better response at the forums for business support, if you'd like to give them a try:
    http://h30499.www3.hp.com/t5/Business-Support-Forums/ct-p/business-support
    If you have other questions and concerns, please feel free to send me a private message.
    Thank you.
    Clicking the "Kudos star" to the left is a great way to say thanks!
    When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
    Rules of Participation

  • Namedquery using same table field multiple times with the use of a label

    Hi all,
    i'm having some trouble with a namedquery. I'm trying to
    use the following namedquery in Toplink to retrive some
    data out of a database.
    select proj.id
    , proj.code
    , proj.name
    , proj.budget
    , proj.status
    , proj.startdate
    , proj.enddate
    , proj.mdr_id projleader_id
    , med_leader.name projleader
    , proj.mdr_id_valt_onder promanager_id
    , med_promanager.name promanager
    , proj.mdr_id_is_account_from accmanager_id
    , med_accmanager.name accmanager
    from uur_projecten proj
    , uur_medewerkers med_leader
    , uur_medewerkers med_promanager
    , uur_medewerkers med_accmanager
    where ( #p_name is not null or #p_search_string is not null )
    and med_leader.id = proj.mdr_id
    and ( proj.mdr_id = nvl( #p_name, proj.mdr_id )
    or proj.mdr_id_valt_onder = nvl( #p_name, proj.mdr_id )
    or proj.mdr_id_is_account_van = nvl( #p_name, proj.mdr_id ))
    and (( #p_status is not null
    and substr( proj.status, 1, 1 ) = upper( #p_status ))
    or ( #p_status is null ))
    and ( upper( proj.code ) like upper( '%' || #p_search_string || '%' )
    or upper( proj.name ) like upper( '%' || #p_search_string || '%' ))
    and med_promanager.id = proj.mdr_id_valt_onder
    and med_accmanager.id = proj.mdr_id_is_account_van
    order by decode( substr( proj.status, 1, 1 )
    , 'A', 2, 'T', 3, 'F', 4, 1 ), proj.code desc
    As you all can see the table ‘uur_medewerkers’ is been used trice to
    determine the name for the corresponding ID. I have a Java class with
    the fields for the results and created a Toplink descriptor to map
    the fields to the database fields.
    The problem is that for the 'projleader', 'promanager' and 'accmanager'
    fields the results are null. The reason is probably that Toplink doesn't
    recognize the fields because of the label for the tables.
    Is there a way to make this work?
    Greets, René

    Post Author: quafto
    CA Forum: .NET
    Your query is not too clear so I'll do my best to answer it broadly.
    You mentioned that you have a .NET web application where your users enter data on one screen and then may retrieve it on another. If the data is written in real time to a database then you can create a standard Crystal Report by adding multiple tables. The tables should be linked together using the primary and foreign keys in order to optimize the database query and give you a speedy report. Using unlinked tables is not recommended and requires the report engine to index the tables (it is quite slow).
    You also mentioned you have a "PropID" to be used in a WHERE clause. This is a great place to use a parameter in your report. This parameter can then be used in your record selection formula inside Crystal Reports. The report engine will actually create the WHERE clause for you based on the parameter value. This is helpful because it allows you to simply concentrate on your code rather than keeping track of SQL queries.
    Now, what Crystal does not do well with is uncertainty. When you design a report with X number of tables the report engine expects X number of tables to be available at processing time. You should not surprise the print engine with more or less tables because you could end up with processing errors or incorrect data. You may need to design multiple reports for specific circumstances.
    Regarding the group expert question. I'm not sure how you would/could use the group expert to group a table? A table is a collection of fields and cannot be compared to another table without a complex algorithm. The group expert is used to group and sort records based on a field in the report. Have a look at the group expert section of the help file for more information.
    Hopefully my comments have given you a few ideas.

Maybe you are looking for