[SOLVED]Wow in bin32-wine-wow-hardware-cursor need help with patching

Hi all.
I have installed bin32-wine-wow-hardware-cursor from AUR and it's working pretty fine I must say. I still have one important issue. That is, that the cursor acts strange when holding the button pressed down, as you do when turning etc. The cursor then moves to the middle of the screen and shakes, until you release the button.
There is a fix for this posted on the Ubuntuforums, but I don't know how to implement this in Arch. Trust me, I have tried in so many ways possible, but I don't have the knowledge to do this. Please help me, or point me in the right direction.
http://ubuntuforums.org/showpost.php?p= … tcount=172
I have managed to fix this problem myself. If any of you are wanting the same functionality as what i mentioned above, navigate to your mouse.c find the function update_mouse_state, and then make the changes below...
static void update_mouse_state( HWND hwnd, Window window, int x, int y, unsigned int state, POINT *pt )
struct x11drv_thread_data *data = x11drv_thread_data();
char *hwgl;
get_coords( hwnd, window, x, y, pt );
hwgl = getenv("WINE_CURSOR");
/* update the cursor */
if (hwgl == NULL){
if (data->cursor_window != window)
data->cursor_window = window;
wine_tsx11_lock();
if (data->cursor) XDefineCursor( data->display, window, data->cursor );
wine_tsx11_unlock();
Thank you in advance.
EDIT: To clear things out a bit. I am using 64-bit Arch.
Last edited by n4h0j (2010-05-03 20:55:26)

n4h0j wrote:
itsbrad212 wrote:
n4h0j wrote:
Thx for the reply.
However, I don't think that one includes the right patch either. That just looks like the 32-bit version of the bin32-wine-wow-hardware-cursor. And I cannot install that on my system.
When talking about cursor issues there are 2.
1. Getting hardware cursor in OpenGL.
2. Irritating cursor-behavior when pressing down the buttons to turn etc.
The package you refer to solves problem #1, so does the bin32-wine-wow-hardware-cursor. It's problem #2 that need fixing. I would assume, since it is just a cosmetic defect, no one else has bothered before me.
But still, it's solvable in Ubuntu, and I am kind of a perfectionist.
EDIT: Yes, I can see now that the mouse.c is in the archive. I would be able to edit myself. But (silly question) I won't be able to run the PKGBUILD with that source, right?
Well, you could always edit the file then re-tar/bzip it.
The PKGBUILD wiki article states:
Note: If you need to supply files which are not downloadable on the fly, e.g. self-made patches, you simply put those into the same directory where your PKGBUILD file is in and add the filename to this array. Any paths you add here are resolved relative to the directory where the PKGBUILD lies. Before the actual build process is started, all of the files referenced in this array will be downloaded or checked for existence, and makepkg will not proceed if any are missing.
So basically, edit the PKGBUILD and set the source to the location of the newly bziped file you have after applying the patch. Then it should use that one instead
But, that won't be possible on a 64-bit system, right? I can't use the 32-bit source.
Or am I missing some piece of the puzzle here?
I think I'm missing part of the puzzle....
Ok, title of thread: "bin32-wine-wow-hardware-cursor"
That makes me assume 32-bit
Next, source file you downloaded:
wine-wow-hardware-cursor-1.1.43-1-i686.pkg.tar.gz
Again, 32-bit...
I'm confused with what you want now
Last edited by itsbrad212 (2010-05-03 07:17:47)

Similar Messages

  • [solved] Office 2007 bin32-wine-suse Problems

    I installed bin32-wine-suse from the AUR and then installed Office 2007 per the wiki. I can run applications but I cannot move or resize windows. Any ideas?
    Last edited by rbn14 (2010-03-17 02:22:49)

    Wow, don't I feel like a turd Thanks, worked perfectly!

  • Need help with Boot Camp and Win 7

    I have iMac 27" (iMac11,1) 2.8 GHz, quad core, 8MB of L3, 8GB of Memory, Boot ROM Version IM111.0034.B02 and SMC Version 1.54f36 and can't get this machine to run Windows 7 using Boot Camp.  I have successfully loaded Win 7 but when it claims to be starting I only get a black screen after initial start up.
    I have checked and rechecked my software updates and have read and reread the instructions, however, I can't update my Boot Camp to 3.1 (my machine says i'm running 3.0.4) and I need 3.1 but can't load 3.1 because it is an exe file that has to be loaded into Windows after I load Windows but can't open Windows because I can't load Boot Camp 3.1.  That's my excuse anyway, so I'm missing something I just can't figure out what it is....this is where you come in!
    Thanks.
    Mike

    Mike,
    I'm not going to be much help with Boot Camp however I can direct you to the Boot Camp forum where there are more people that know how to troubleshoot it and Windoze 7. You can find it at:
    https://discussions.apple.com/community/windows_software/boot_camp
    Roger

  • Need help with loop cursor

    Hi,
    I'm doing a data conversion and am fairly new to PL/SQL.
    I have a cursor and in the loop i have a select statement
    which returns ORA-01403(no data found). I need to skip this
    row in the cursor and continue with the next.
    BEGIN
    OPEN cur_fill_split;
    LOOP
    FETCH cur_fill_split into S_ASR,S_CLIENT_NO, S_DIRCODE, S_SPLIT_RATE, I_WAYS,
    S_BRANCH_NUMBER, S_BRANCH_NAME, S_DIV_NUMBER, S_DIV_NAME, S_ITEMCODE, S_LINE;
    EXIT WHEN cur_fill_split%NOTFOUND;
    select order_number INTO N_ORDER_NUMBER from order_header
    where cmr_number||client_number||dir_number = s_asr||s_client_no||s_dircode;
    SELECT SEQ INTO I_SEQ FROM ORDER_DETAIL
    WHERE ORDER_NUMBER = N_ORDER_NUMBER
    AND LINE_ORDER_NUMBER = TO_NUMBER(S_LINE);
    ********(errors on the above select)********
    END LOOP;
    CLOSE cur_fill_split;
    END;
    Thanks,
    Brian

    Hi,
    I think there r 2 methods, one is by giving begin - end inside the loop as shown below 1st ex:
    & the 2nd method is by selecting the record count & then based on that value executing further commands.
    I think 2nd method is more safer than the 1st method.
    Method 1:
    1)
    -- ---------------Procedure Begin------------------
    BEGIN
    OPEN cur_fill_split;
    LOOP
    FETCH cur_fill_split into S_ASR,S_CLIENT_NO, S_DIRCODE, S_SPLIT_RATE, I_WAYS,
    S_BRANCH_NUMBER, S_BRANCH_NAME, S_DIV_NUMBER, S_DIV_NAME, S_ITEMCODE, S_LINE;
    EXIT WHEN cur_fill_split%NOTFOUND;
    select order_number INTO N_ORDER_NUMBER from order_header
    where cmr_number||client_number||dir_number = s_asr||s_client_no||s_dircode;
    BEGIN
    SELECT SEQ INTO I_SEQ FROM ORDER_DETAIL
    WHERE ORDER_NUMBER = N_ORDER_NUMBER
    AND LINE_ORDER_NUMBER = TO_NUMBER(S_LINE);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    END;
    END LOOP;
    CLOSE cur_fill_split;
    END;
    -- ---------------Procedure End------------------
    Method 2)
    By selecting the record count & based on that records, deciding the program control.
    -- ---------------Procedure Begin------------------
    declare
    rec_cnt number := 0;
    BEGIN
    OPEN cur_fill_split;
    LOOP
    FETCH cur_fill_split into S_ASR,S_CLIENT_NO, S_DIRCODE, S_SPLIT_RATE, I_WAYS,
    S_BRANCH_NUMBER, S_BRANCH_NAME, S_DIV_NUMBER, S_DIV_NAME, S_ITEMCODE, S_LINE;
    EXIT WHEN cur_fill_split%NOTFOUND;
    select order_number INTO N_ORDER_NUMBER from order_header
    where cmr_number||client_number||dir_number = s_asr||s_client_no||s_dircode;
    /* Here we are using cnt variable & checking for
    the record count, if count = 0, then it will skip */
    select count(*) into rec_cnt from ORDER_DETAIL
    WHERE ORDER_NUMBER = N_ORDER_NUMBER
    AND LINE_ORDER_NUMBER = TO_NUMBER(S_LINE);
    if rec_cnt > 0 then
    SELECT SEQ INTO I_SEQ FROM ORDER_DETAIL
    WHERE ORDER_NUMBER = N_ORDER_NUMBER
    AND LINE_ORDER_NUMBER = TO_NUMBER(S_LINE);
    end if;
    END LOOP;
    CLOSE cur_fill_split;
    END;
    -- ---------------Procedure End------------------
    Try it out & mail me
    Good luck

  • Wow i need help with my itunes. this is annoying.

    i reformatted my comp and and re instralled itunes.
    and i plugged in my ipod and it doesnt show any syncing thing at the top, to let me know its putting music onto my ipod. also, 2pac,8ball mjg, 311 and 50 cent, are all on the bottom of my music.....now why the **** is my ipod not showing me its syncing music, and why the **** is 90 percent of my music alphabateized and then a few artists are all over the place? how do i fix this? why the heck is "A dozen furies" in the D section? seriously. this is just stupid+ annoying.

    Huh. It works OK for me. Maybe the iTunes > Help > sort directions explain it better:
    +*Sorting items in your library or a playlist*+
    +You can sort the items in your library or a playlist by any of the displayed columns. For example, you could group items in your library that match a particular characteristic (for example, songs in the Rock genre or songs that were saved as AAC).+
    +You can also enter customized sorting criteria for items. For example, you could set up iTunes to sort songs by an artist's last name instead of the first.+
    +Here are ways to sort songs in your library or playlist:+
    +To sort the list by a column, click the column heading. For example, if you want to sort the list by album title, click the Album heading.+
    +Tip: If you don't see the column heading you're looking for, right-click a column heading to see a list of columns you can view. Select an item (so that it has a checkmark next to it) to make it visible or deselect an item to remove it.+
    +To reverse the sort order, click the triangle that appears when the column is selected.+
    +To return to the previous order of songs in a playlist, click the leftmost column heading (above the numbers) that shows the play order.+
    +To customize sorting criteria, choose an item or items, choose File > Get Info, click Sorting, and enter the text you want to sort by+.
    +You can also scan through all the artists or albums in your music library by selecting an item below Library and clicking the Browse button (it looks like an eye). If you don't see the Artist and Album panes, click Browse again.+

  • Need help with solving the (basic) programming error

    I'm reaaaaaaaaaally new to Java and programming in general. I've been glancing through my older brother's old stuff (he's back at Uni!) and I've taken an interest.
    Anyways, so I'm trying to finish this really simple program cause I wanna wow some friends ("wow" = "haha we've done this before a gazillion times") but I can't seem to solve this "incompatible lines" bug in the code, specifically line 24. I've been looking at it for exactly 4 hours!! Programming in Java 1.6.
    Thanks for the help!! :)
    import java.util.*;
    import java.util.Scanner;
    public class LuigisPizzaProgram {
         public static void main(String args[]) {
         System.out.println("Luigi's Pizza");
         System.out.println("-------------------------------------------");
         System.out.println(" a(SML) b(MED) c(LRG)");
         System.out.println("1. Cheese 5.00 7.50 10.00");
         System.out.println("2. Pepperoni 5.75 8.63 11.50");
         System.out.println("3. Combination 6.50 9.75 13.00");
         System.out.println("4. Vegetarian 7.25 10.88 14.50");
         System.out.println("5. Meat Lovers 8.00 12.00 16.00");
         System.out.println(" ");
         System.out.println("What kind of pizza do you want?");     
         int kind = new Scanner(System.in).nextInt();
         System.out.println(kind);
         System.out.println("What size of pizza do you want?");
         char size = new Scanner(System.in).nextLine();
         System.out.println(size);
         }

    Having said that, it is nontraditional to use Scanner like you are using it. There is no way to reuse it in order to get more input. Better would be something like:
            System.out.println("What size of pizza do you want?");
            Scanner scan = new Scanner(System.in);  // create the scan variable
            String size = scan.nextLine(); // now use the scan variable
            System.out.println(size);Also, when posting your code, please use code tags so that your code will be well-formatted and readable. To do this, place the tag [code] at the top of your block of code and the tag [/code] at the bottom, like so:
    [code]
      // your code block goes here.
    [/code]good luck, pete

  • Just coming from Win and need Help with bootcamp/parallels+general osx stuf

    Well I absolutely love my Mac. I'm just having some problems affording it financially, but when I compare this new MacBook Pro to other like computers, there's a very very small difference in the hardware, and Im usually building laptops that are similiar to this for around 2k anyways. So I'm not 100% sure if I'll keep this or not, and maybe settle for cheaper PC that's under 1.5k (because Apple charges you a 10% open box fee) and buy a mac when I'm in a better position, or just keep this and see what I can do.
    But a few of the things that are making me miss a PC might push me toward a cheaper PC. And so maybe someone here can help me out before I make a decision.
    First off, is there anything that's the equivalent to a disk defragmentor for OSX?
    Second, is the graphics card really powerful in this Macbook 15 inch 2.4 ghz (the newest one)
    Im also having a problem with this keyboard and my favorite game. Basically I need to hold down certain keys (control, alt, shift and space) in order to use skills. But for some reason when I hold down any of these buttons, it only reads it once. So I have to push it every time I'd say, want to heal myself or hit a monster... and that might not seem like a lot but if you play a game for 1 hour + (I'd usually play around 4 hours) it's going to absolutely kill my fingers and make playing the game take a lot longer.
    Now I'm using parallels (the only way to play my game) and whenever I try to install a new KB, because I've found out that the way a KB is wired will determine whether or not you can spam a key or not (Like a cheap USB one wont work, but a more expensive logitech one allows you to) but it either
    1) Crashes Parallels and my Win VM
    or
    2) It sets up whatever kb I use to be used with Mac OSX's drivers which means no matter what the KB is, ctrl alt space and shift cant be spammed.
    I'm also unable to use FRAPS, a PC video capturing program used for games while running parallels. My FPS constantly dips to 0 which lags me in the game, and I can't find a good recording program thats OSX side and that works while Parallels is running (I emailed parallels about what vid they used in their demo but no response)
    Now if use bootcamp, will I have nothing to worry about? Will all of the hardware act like it should act natively on a PC? As in will my nVidia graphics card act like it normally would on a PC instead of it being some kind of virtualized hardware or something like on parallels?
    Thanks for the help guys... 2 weeks to decide on whether or not I keep th is laptop....
    Wii code: 2053-8430-7334-7335
    MGO Name: Crim, [BBB]Crim, Pacifist, Kaze, oSoiFong, A NOOB.

    The graphics card is a higher performance GPU than the X1600 in the previous MBP models. As for "really powerful" you don't provide any basis for comparison. Visit the ATI site to find out the specifications for the model.
    Well I understand that much. I just mean as far as a graphics card in general goes, is it strong enough to support a variety of games (both PC and Mac)? This is my first computer without a crappy intergrated graphics card which could barely handle games from the late 1990s.
    As for keyboard shortcuts I'm not sure if you're referring a Mac or a PC game. However, this reference may help. If the game is a Mac version you'll need to contact the game's developer about any problems with how to use the game on a Mac. If you read the Parallels documentation it will explain how to generate any special keyboard characters when in Windows.
    Umm it's not that. Like I first figured out this problem with all electronics in general when I was a kid playing with one of those press and speak books. What I found out was that, let's pretend there were 3 buttons. One was cow going moo, one was a cat meowing and one was a dog barking. If you held down the Cow button and pressed the Cat button, the cow would still Moo. If you held down the Cow and press the dog button, the cow would still moo. However if you pressed and held the cat button, then pressed the cow button the cat would stop meowing, and the moo would override it.
    That same principle applies to keyboards from what I've seen. I know there are some keyboards where I can use the control button and the alt button at the same time, and some keyboard I can't use. I can't blame the game, because there ARE keyboards that work the way I want it to. And I'm not talking about keyboard shortcuts. Pressing Control+Alt isn't a shortcut in a game, just two different commands. Like one is jump, one is attack. In the game you can Jump and Attack with some keyboards, some keyboards only let you jump or attack.
    Another example is if I put my jump key on the letter "a" and if I hold a, I jump over and over until I let go. but if I put jump to my space bar, I jump once then stop. For some reason it won't repeat keys while in a game. Same goes for other buttons, ctrl, shift, and alt.
    Does that make things a little more clear?
    but what I'm going to do is try my mac keyboard on a PC and see if it has the same limitations.
    If Parallels is crashing either you have a faulty installation, your OS X installation is corrupted, or you have not allocated sufficient RAM for the VM. You need at least 2 GBs of installed RAM to use virtualization software and should allocate at least 384 MBs or RAM to Windows XP and 512 MBs to Vista. If you have only 1 GB of RAM installed your system won't be very stable when you try to run Parallels with Windows on 384 or 512 MBs of RAM.
    I have the newest 15 inch which has gigs. And I've tried setting Parallels to both 1 and 512 (windows xp) and I worded the problem wrong. Parallels doesnt crash, parallels runs fine. What happens is Windows XP gets the blue screen of death whenever I try to install a usb device. Since I can't find a logitech keyboard that has drivers/software for a mac, I tried using a Windows one and tried installing it on my XP... and thats when I got the BSOD
    Parallels uses all the native Mac hardware via the virtualization software. No special Mac drivers are required nor special Windows drivers.
    If you cannot run a Windows program in Parallels it's not a problem with OS X. Complain to Parallels.
    It's not that a program isn't running. It's running fine, it's just my FPS gets really low. What I'm trying to figure out is if my graphics card isn't good enough in general, or if it's not good enough to handle parallels and osx and a game with a video capture all at once.
    Boot Camp runs Windows natively on the hardware just as if you were using any other dedicated Windows hardware. "Will I have nothing to worry about?" I don't know. Boot Camp provides the necessary Windows drivers for all currently produced Intel Macs. You can install Windows XP with Service Pak 2 or Vista. Read the Boot Camp documentation to find out more.
    Well I meant will I have nothing to worry about as in, will my graphics card be as effective on my bootcamped win XP as it would be if it was a native XP laptop, or will it be slightly less effective since it was based for a mac intel computer... does that make sense or do I need to reword it?

  • Need help with win 8.1

    PLEASE HELP me with my dilemma:
    I just installed Win 8.1 and I like it accept
    When I work on a project and walk away from
    My desk it goes into SLEEP in a few minutes
    Then I have to put in my pin number
    I tried PC DEVICE AND LOCK SCREEN
    then "when plugged in turn off NEVER
    Sleep when etc NEVER.
    Is there anyway I can eliminate all passwords
    and pin numbers. ( I am the only one ever use this PC)
    I am a frustrated newbie and need all help I can get.
    Any help would be much appreciated
    Alex ([Personal Information Removed])

    Hi,
    Please try:
       http://pcsupport.about.com/od/windows-8/fl/auto-logon-windows-8.htm
    or
      https://www.youtube.com/watch?v=-VOlZl7UmwQ
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Need help with Zen Micro and Win

    Hi,
    I bought a Zen Micro 2 days ago and I can't get it to work with my Win XP machine.
    I did what was told in the manual: install the software first then plug the player.
    When I plug the player in I get the following message:
    Found New Hardware:
    Zen Micro
    According to the manual, it should be detected and the drivers installed automatically.
    But it dosen't. Instead I get the Wizard that try to find the drivers and it dosen't find them.
    I let the battery get a full charge and I tried again. Same results.
    I tried to update the firmware but since the player is not detected that didn't work.
    I also tried to get the new MediaSource/Zen driver (ZENM_PCAPP_LB_4_00_8_PDE.exe) but that didn't fix my problem either.
    I also tried to install the Creative Zen Micro Driver version .27.02 but it tell me that I can't install it because the user I tried to install it with is not an administrator. But this is not true since there is only one user on this machine and it's the administrator. First software that tell me this.
    I'm using XP Home with SP2.
    Thanks for the help.

    SSR wrote:
    The reason it won't install is because the drivers aren't installed.
    I've seen a very few others with this strange error about administrati've pri'veleges, so I'm wondering if it's a Windows issue here. You could try downloading the drivers from to see if this is any different.
    Try creating another administrator account and see if it will install from that, and try searching back (perhaps someone had found a solution). I think there's also a way of running a program with forced pri'veleges, perhaps Google can turn something up on that.
    I remember one user needs to change some rights of the registry in order to install the software. It looks like under some cases, the login account does not have sufficient rights to write registry.

  • Need help with google search..wont hold a cursor unless I hold down my mouse in English

    search bar will not hold cursor,cannot type any more letters without using the mouse..what is causing this and how can I dtop it..very annoying

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Proof of Purchase - Win 7 upgrade option (need help)

    hi,
    I ordered a Win 7 on Lenovo win7 upgrade option site today, i`ve got an email with details of my order, but there is nothing about sending proof of purchase i read before that it`s nessesery but i didn`t get any  information about how to send this proof of purchase and where.
    In my email there is only information about order, my status,
    Order Status              Pending for Payment
    Payment Status         Pending for deduction
    Payment Date         NA
    and this:
    Your credit card will only be charged EUR 17.75 upon the release of the selected language of Windows 7. The price shown is inclusive of tax and shipping charges.
    An email will be sent to you upon successful payment.
    but my friend who had ordered his win 7 2 months earlier got different message:\
    Your credit card will only be charged EUR 17.75 upon the release of the selected language of Windows 7 or successful validation of your Proof of Purchase, whichever comes later. The price shown is inclusive of tax and shipping charges.
    An email will be sent to you upon successful payment.
    So, could somebody help me? why we have got different emails?
    Is Proof of purchase needed to get win7 or something changed?
    PS: sorry for my english...
    Lenovo Y550 15,6" P7450 4GB 320GB NV130GT-512MB

    gorzi, welcome to the forum,
    don't panic! On the underside of your sytem is a label, on it you will find your type - model number, serial number and date of manufacture. Lenovo know, through the model and s/n when your system was manufactured. I'll bet that your manufacture date starts with 09 followed by a number larger than 06. In other words; if it's after 09/06 you don't need to provide proof of purchase as the system wasn't built before the upgrade program started.
    Your credit card will be charged when they send the discs.
    Hope this helps
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • L need help with textedit, I inserted a picture then the cursor went from small to the size of picture and l need to write a header next to the picture not at the bottom of it. can anyone help please?

    Can anyone tell me how to make cursor smaller after inserting picture so that l can add somethimg right next to it instead of bottom of picture. Meaning the next line is too low

    AFAIK, you can't. The nature of TextEdit is that it allows the picture to be treated as a character and adjusts the cursor size for that line.
    You need a app that supports transparent overlays.

  • Need help with jdbc and cursor

    Hi all,
    I know I can specify a cursor to be scrollable with
    cs = conn.prepareCall("{call server.procedure(?,?)}",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
    but my problem is that this cursor is returning 2 oracle cursors and I need to move inside those but I cannot find the way to do it.
    cs.registerOutParameter(2, OracleTypes.CURSOR);
    rs = (ResultSet) cs.getObject(2); //this is the first cursor and is scrollable
    rs1= (ResultSet) rs.getObject(1); //this is one of the cursors inside the cursor and I cannot make it scrollable
    Thanks for the help,
    A.

    well, I didn't really check if the first one was scrollable since I didn't need it to be, but it seems that Oracle does not support scrollable cursors as out parameter of a stored procedure...
    anybody has a workaround?

  • Need help with comparing cursor row to a collection

    I have been racking my brain trying to get get the code below to work properly. I am loading a table via bulk collect into a collection. I want to run code that tells me if the value of batch_REC.co_id exists or not in co.id collection. The best I have is below. The compiler does not like the MEMBER statement, and I do not know why. I am running 9i if that makes a difference. Any pointers would be extremely helpfull. Thank you.
    Allan Richards
    Washington, D.C.
    --Initiate Procedure
    procedure Check_Company_ID (Batches_cv_in IN refgas.batchCurTyp, truth boolean default null) is
    --DECLARATIONs
    TYPE CO_ID_Array IS TABLE OF NUMBER ;
    Batch_REC t_batch%ROWTYPE;
    number_check EXCEPTION;
    PRAGMA EXCEPTION_INIT(number_check,-6502);
    answer boolean;
    co_id CO_ID_Array;
    c NUMBER;
    --Begin Code
    BEGIN
    dbms_output.put_line('-----');
    dbms_output.put_line('Here is the data from the result set:');
    --Setup Truth Output
    IF truth IS NOT NULL THEN
    dbms_output.put_line(CASE truth WHEN TRUE THEN 'True' WHEN FALSE THEN 'False' END);
    END IF;
    --Select T_COMPANY.COMPANY_ID into a collection
    select t_company.COMPANY_ID
    bulk collect into co_id
    from t_company;
    --Loop through the Cursor
    LOOP
    FETCH Batches_cv_in INTO Batch_REC;
    EXIT WHEN Batches_cv_in%NOTFOUND;
    --Check each co_id per loop for existance in t_company
    BEGIN
    --To detect if an entry is not a compliant number
    c := to_number(Batch_REC.co_id);
    --Checking each number as existing
    answer := c MEMBER OF co_id;
    check_company_id(truth => anwser);
    --Setup for error catching              
    EXCEPTION
    When number_check
    Then
    dbms_output.put_line('Company ID has invalid Characters! ' || Batch_REC.co_id ||' '|| Batch_REC.facility_id ||' '|| Batch_REC.batch_id||' '|| Batch_REC.report_date);
    end;
    END LOOP;
    --Output Total Number of Records in Collection
    dbms_output.put_line('Number of Records: ' || co_id.COUNT);
    --Give "All Good" Statement if all records compare properly
    IF co_id IS NULL THEN
    dbms_output.put_line('All Company IDs are Good');
    end if ;
    end;

    I guess what I looking for then is a work around for 9i. Don't know if you're still watching this thread but you may be interested in this code from Steven Feuerstein (Whom God Preserve).
    Cheers, APC

  • Need help with cursor selection in control panels

    I can't get my cursor to work in the control panel at the top of the screen, for example, when I select text and want to change the font size, etc.  It won't even select to change from font to paragraph mode.  Other issues are trying to choose the selection tool, which I can only do with the "V" shortcut tool--escape doesn't work, nor does the cursor choose the  icons.  Help!

    Windows? see InDesign tools and panels don't respond to mouse clicks (Windows 7/Vista)

Maybe you are looking for