Missing out on hits when using count

I'm using the count-function to sum up som numbers, these numbers are connected to diffrent users.
As long as a user have at least one number to his name, there is no problem. But if he doesn't, I don't get any hit. I tried with nvl-function, but it doesn't work, I guess beacuse it isn't a null-value in return.
What I would want to get is zero for those users that doesn't have any numbers to sum up.
The code looks something like this...
select user_id, name, count(a.hits)
from user, score a
where ....
group by ....

You would need an outer join between the two tables, like in:
SQL> create table usr
  2  (name varchar2(10))
  3  /
Table created.
SQL> create table score
  2  (usr_name varchar2(10)
  3  ,x int)
  4  /
Table created.
SQL> insert into usr values ('aa');
1 row created.
SQL> insert into usr values ('bb');
1 row created.
SQL> insert into usr values ('cc');
1 row created.
SQL> insert into usr values ('dd');
1 row created.
SQL> insert into score values ('aa', 10);
1 row created.
SQL> insert into score values ('bb', 99);
1 row created.
SQL> insert into score values ('cc', 98);
1 row created.
SQL>
SQL> select name
  2       , count(s.x)
  3  from usr   u
  4     , score s
  5   where u.name = s.usr_name (+)
  6   group by name
  7  /
NAME       COUNT(S.X)
aa                  1
bb                  1
cc                  1
dd                  0
SQL> select name
  2       , Count(s.x)
  3    from usr u
  4    left outer
  5    join score s
  6      on (u.name = s.usr_name)
  7   group by name
  8  /
NAME       COUNT(S.X)
aa                  1
bb                  1
cc                  1
dd                  0

Similar Messages

  • Using the paste options randomly misses out text, don't use it and use the 'Paste Special...' option instead (MS Outlook)

    Also there seems to be no obvious way to report Office bugs.  This is leaving little room for improvement.  Not sure if there has been any planning on this front???
    For example, [MS Outlook] using the paste options randomly misses out text, (don't use it and use the 'Paste Special...' option instead).  But how do I communicate this to the Office team without knowing at least one of the team personally (which I
    don't)???

    Hi,
    Do you have this issue when pasting in other programs?
    If you are pasting something into Outlook, some formats and images may get lost, especially when you choose the Paste Options as Keep Text Only.
    Once you have this issue again, please try with "Keep Source Formatting". This may keep the Sour Formatting and you may not get the text lost.
    If you have any feedback when using our products, I suggest you press Ctrl + Alt + 7 or Ctrl + Alt + 8 to submit it. Microsoft will always listen to users' voice and make the products better and easier to use.
    Regards,
    Melon Chen
    TechNet Community Support

  • Performance hit when using a FirePro GPU?

    Hey there!
    I'm interested in purchasing a cheap ATI FirePro V4900 or similar GPU in order to take advantage of my 10 bit TFT when using Photoshop. I was wondering if I have to expect a performance hit when using PS 6.0 with such a card as opposed to a normal "gamer" GPU like the NVidia 670 GTX when :
    - performing normal file handling, opening PSD files, paning, zooming, brushing, etc.
    - applying some of the newer GPU-enhanced filters like Liquify, Oil Paint, Iris Blur, 3d enhancements, etc.
    - actually applying/rendering a more demanding fliter such as Iris Blur?
    Does anyone know about this? I'm afraid I could not find any benchmarks at all except for the one on Tomshardware regarding OCL, but that one does not include professional GPUs...
    Thanks for any info in advance!

    There will not be synchronization when the method of A
    is being called. The method 1) certainly saves memory
    space, but will the performance be hurt since there
    will only be one object accessed by multiple threads?
    Or maybe it doesn't matter?If there is no synchronization, it will not matter. Threads execute methods. Methods do not run on Objects. The Object is just data that is implicitly linked to the method.
    Just make sure it's safe to keep the method unsynchronized.

  • OTF end command // missing in OTF data when using CONVERT_OTF_2_PDF

    Hi
    When using the function module CONVERT_OTF_2_PDF I am getting the strange scenario that for some users it is giving the error message "<u><b>TD 030: OTF end command // missing in OTF data</b></u>". 
    I am executing this function module using the OTF output data received from a smartform executed with the parameter control-parameters-getotf = X and I am not formatting it in any way.
    any assistance in this is much appreciated.

    hi
    good
    go through this link,which ll give you detail idea about this function module
    http://www.jt77.com/development2/programming-07636.html
    thanks
    mrutyun^

  • MPEG-2 out of sync when using Qmaster Cluster

    Trying to figure out why MPEG-2 sync drifts when using a cluster. When I don't use a cluster sync is fine. My source is uncompressed or prores HQ QuickTime 23.98fps /w 8 channels of audio (6 channels being mapped to 5.1 AC3 and 2 stereo tracks). When I compare cluster and non-cluster MPEG-2 files in DVDSP the length in the inspector window is different, the clustered MPEG-2 QT is a half a second longer. The AC3 audio files are the same in length, cluster or not. I think when the cluster breaks the QuickTime into segments to renders are not being merged back properly.
    Is this a known issue or is there a fix? Using a cluster has greatly decreased output time but is no good if sync is off.
    I am currently on QuickTIme 7.4.5 OS X 10.5.3 Compressor 3.0.3

    I just came across this exact issue as well. Discovered that audio was drifting out of sync on a 29.98 timeline in DVD Studio Pro on a 60 second spot (probably by just a few frames or so). Not too noticeable to most folks on a 60-second spot, but definitely noticeable on longer encodes.
    For now, I'm not aware of any solution, but hopefully Apple is aware... I, too, enjoy the benefits of quicker encodes using my 8-core Mac Pro.

  • Error message when using counter indicating need to use faster timebase

    I'm attempting to use the two onboard counter timers on my DaqPad 6015 with a SC2345 carrier.
    The program initially runs as expected, but once in a while I get an error message that reads as follows:
    "2 consecutive active edges of the input signal occured without a counter timebase edge."
    "Use a faster counter timebase"
    I have only attempted to read this signal at two known frequencies: 15 and 20 Hz.
    Can anyone advise as how to correct this or how to change the counter timebase?
    I'm using the built in Express Daq Assistant to create the code to read the frequency so that part is pretty straight forward.
    This command is however inside of a case structure, so each time it reads it is possible to reset or miss the first leading edge of the signal.
    Thanks,
    Patrick

    Hi Patrick,
    It sounds like the program is lagging when you attempt to read the gate of this counter. 15 Hz seems slow in comparison to the specs of the counter, but if your VI is slow by 7/100th of a second the program will thrown an error. I recommend probing the counters to determine where in the program the error occurs.
    Michael K.
    | Michael K | Project Manager | LabVIEW R&D | National Instruments |

  • ORA-13000: dimension number is out of range when using SDO_GEOM.RELATE

    Dear everyone
    I am attempting to workout which polygons cover the same area in order to determine distinct polygons. This is so I can then have just one copy of a polygon to a new table and delete all the duplicate polygons in the current table.
    I ran the following first to check something:
    SELECT SDO_GEOM.RELATE
       (A.geographical_coordinates,
        'DETERMINE',
        B.geographical_coordinates,
        0.05) relationship
    FROM MAP_INDEX A,
          MAP_INDEX B
    where A.geographical_coordinates is not NULL
    and B.geographical_coordinates is not NULL;but got the error message:
    Error starting at line 1 in command:
    SELECT DISTINCT A.mi_prinx,
    SDO_GEOM.RELATE
       (A.geographical_coordinates,
        'EQUAL',
        B.geographical_coordinates,
        0.05)
    FROM MAP_INDEX A,
          MAP_INDEX B
    where A.geographical_coordinates is not NULL
    and B.geographical_coordinates is not NULL
    Error report:
    SQL Error: ORA-13000: dimension number is out of range
    ORA-06512: at "MDSYS.SDO_GEOM", line 70
    ORA-06512: at "MDSYS.SDO_GEOM", line 2647
    13000. 00000 -  "dimension number is out of range"
    *Cause:    The specified dimension is either smaller than 1 or greater than
               the number of dimensions encoded in the HHCODE.
    *Action:   Make sure that the dimension number is between 1 and the maximum
               number of dimensions encoded in the HHCODE.I then tried the following:
    SELECT DISTINCT A.mi_prinx,
    SDO_GEOM.RELATE
       (A.geographical_coordinates,
        'EQUAL',
        B.geographical_coordinates,
        0.05)
    FROM MAP_INDEX A,
          MAP_INDEX B
    where A.geographical_coordinates is not NULL
    and B.geographical_coordinates is not NULLwhich produced the following error message:
    Error starting at line 1 in command:
    SELECT
    SDO_GEOM.RELATE
    (A.geographical_coordinates,
    'EQUAL',
    B.geographical_coordinates,
    0.05) relationship
      FROM MAP_INDEX A,
           MAP_INDEX B
    Error report:
    SQL Error: ORA-13050: unable to construct spatial object
    ORA-06512: at "MDSYS.SDO_3GL", line 4
    ORA-06512: at "MDSYS.MD2", line 771
    ORA-06512: at "MDSYS.SDO_GEOM", line 2622
    ORA-06512: at "MDSYS.SDO_GEOM", line 2649
    13050. 00000 -  "unable to construct spatial object"
    *Cause:    This is an internal error.
    *Action:   Contact Oracle Support Services.Does anyone have any idea as to what I might doing wrong? The original polygons were created in MapInfo Professional 8 and I am working in 10.2g
    I believe Imust be doing something wrong. I looked into SDO_GEOM_VALIDATE but again that produce the same error message as the first one. I have previously created a spatial index and inserted the values into the USER_SDO_GEOM_METADATA view.
    I have been able to get the following to work, I was testing out examples online just to see if I could produce a result on an sdo function:
    SELECT NAME_OF_FEATURE, SDO_GEOM.SDO_AREA(GEOGRAPHICAL_COORDINATES,M.DIMINFO)
    FROM MAP_INDEX, user_sdo_geom_metadata M
    WHERE M.TABLE_NAME='MAP_INDEX' AND M.COLUMN_NAME='GEOGRAPHICAL_COORDINATES'
    AND geographical_coordinates is not null;When I drew my polygons in MapInfo, they are likely to have gone partly outside of the boundary dimension values inserted in USER_SDO_GEOM_METADATA. Is that likely to be the cause of my problems or something else?
    If it is the cause, is there away of setting up Oracle or MapInfo so that anything drawn outside of the dimension area is clipped.
    Kind regards
    Tim

    Hi Tim,
    Since Oracle 8.1.6 Oracle has suggested the use of 4 digit SDO_GTYPE values, which encode the number of dimensions in the geometry. Examples of 4 digit SDO_GTYPES include 2001 for a 2D point, 3001 for a 3D point, 2002 for a 2D linestring, 3002 for a 3D linestring, 2003 for a 2D polygon and 3003 for a 3D polygon.. Contrast these with single digit values of 1 for a point, 2 for a linestring, and 3 for a polygon.
    My guess is that at least some of your data is loaded using single digit SDO_GTYPE values, and in the function Oracle does not know the dimensionality of the data (is a vertex identified by 2, 3, or four numbers?). You can check this by doing a:
    select distinct a.geographical_coordinates.sdo_gtype from MAP_INDEX A;
    If any of the values returned are single digit values then you will know this is the problem.
    You have a few options.
    You can have Oracle automatically fix the data by migrating the data:
    execute sdo_migrate.to_current('MAP_INDEX','GEOGRAPHICAL_COORDINATES');
    This will not only set the SDO_GTYPE correctly but will also fix any ring rotation problems (ensures exterior rings are stored counter-clockwise, and interior rings are stored clockwise), it will fix ring ordering problems (ensuring an exterior ring is followed by its interior rings), and it will appropiately set values in the SDO_ELEM_INFO_ARRAY.
    After you do this you should be good to go. However, if you are using a tool to update the data and it resets the information back, then the problem will continue to plague you. You should check with your vendor if that is the case.
    Another option is to change the query to a different signature which uses the SDO_GEOM_METADATA to get the dimensionality of the data. Instead of writing the query as you have, you would change it to:
    SELECT SDO_GEOM.RELATE
    (A.geographical_coordinates,
    C.DIMINFO,
    'DETERMINE',
    B.geographical_coordinates,
    C.DIMINFO) relationship
    FROM MAP_INDEX A,
    MAP_INDEX B,
    USER_SDO_GEOM_METADATA C
    WHERE A.geographical_coordinates is not NULL
    and B.geographical_coordinates is not NULL
    and C.TABLE_NAME='MAP_INDEX'
    and C.COLUMN_NAME='GEOGRAPHICAL_COORDINATES';
    So either of those should fix the problem you are seeing, but neither of those are the best way to accomplish what you want to do.
    If I were you I would follow first set of directions (migrate your data), make sure I have a spatial index on my table:
    select index_name
    from user_sdo_index_info
    where table_name='MAP_INDEX';
    If no rows are returned, create the index:
    create index MAP_INDEX_SIDX on MAP_INDEX(GEOGRAPHICAL_COORDINATES)
    indextype is mdsys.spatial_index;
    You could use SDO_JOIN to perform a self-join:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_operat.htm#BGEDJIBF
    using the EQUAL mask. Note the section on optimizing self-joins.
    If you don't have too much data, this might be a start to doing what you want:
    create table dups_rowids as
    select /*+ ordered */ a.rowid rowid1,b.rowid rowid2
    from MAP_INDEX A,
    MAP_INDEX B
    where SDO_EQUALS (a.geographical_coordinates,b.geographical_coordinates)='TRUE'
    and a.rowid <> b.rowid;
    create table nodup_rowid (noduprid VARCHAR2(24));
    create table dup_rowid (duprid VARCHAR2(24));
    set serveroutput on;
    declare
    rowida varchar2(24);
    rowidb varchar2(24);
    rowidt varchar2(24);
    type myCursor is ref cursor;
    acursor myCursor;
    cursor c1 is select rowid1,rowid2 from dups_rowids;
    begin
    for r in c1 loop
    rowida := r.rowid1;
    rowidb := r.rowid2;
    rowidt := NULL;
    open acursor for 'select duprid from dup_rowid where duprid = :rowida' using rowida;
    fetch acursor into rowidt;
    if rowidt is null
    then
    execute immediate 'insert into nodup_rowid values (:rowida)' using rowida;
    execute immediate 'insert into dup_rowid values (:rowida)' using rowida;
    execute immediate 'commit';
    end if;
    close acursor;
    rowidt := NULL;
    open acursor for 'select duprid from dup_rowid where duprid = :rowidb' using rowidb;
    fetch acursor into rowidt;
    if rowidt is null
    then
    execute immediate 'insert into dup_rowid values (:rowidb)' using rowidb;
    execute immediate 'commit';
    end if;
    close acursor;
    end loop;
    end;
    Then your final table would have the geometries from the original table that had no match:
    create table MAP_INDEX_NODUPS
    as select * from MAP_INDEX where rownum < 1;
    insert into MAP_INDEX_NODUPS
    (select *
    from MAP_INDEX
    where ROWID not in
    (select ROWID1 from DUPS_ROWIDS));
    plus only one of the geometries that were equal:
    insert into MAP_INDEX_NODUPS
    (select *
    from MAP_INDEX
    where ROWID in
    (select ROWID1 from NODUP_ROWID);
    Hope this helps.

  • Why does pages miss out certain words when printing?

    when I am printing a sheet of labels the printed sheet does not have the full wording, some words are missing.  I have overtyped them again and they still don't print out, even though they look fine on the screen and also the print preview.  very very frustrating and wasting so many sheets of paper and labels.

    It occurs to me that you have set out your labels in a Table and used variable formatting, such as font changes and bolding etc.
    This is a known bug in Pages 5 which causes it to drop the formatted text in Tables upon printing or Exporting to pdf.
    Try using multiple columns and regular Word Processing formatting to lay out the labels, or do them in Textboxes.
    Peter

  • Video + audio recorded in Quicktime X is out of sync when used in iMovie

    I have recorded video in Quicktime X. When I try to edit it in iMovie, the audio and video are out of sync. They are in sync if I play the video in Quicktime. I am using the latest version of iMovie '11. Anyone know how I can fix this?

    You should not HAVE TO but did you try extracting out the audio? This has been a issue for a long time. I am not sure why you never see this problem in Final Cut but it rears its ugly head in iMovie all the time. What do the call it now? Oh yes... detach. Select the clip then Clip -> Detach audio and line it back up.
    -- Dan
    Keeper of TheUnofficialiMovieFAQ.com

  • Audio and video out of sync when using quicktime conversion

    hello,
    i am editing a hdv project and want to export to quicktime. the client needs it in a specific size (700x394). they do not want the video in the file compressed, just the size of image. they are compressing the video through flash for the web. anyways, i used to just use quicktime conversion, custom size and use 700x394, but now when i do that the audio and video are sparadically out of sync in the product. the wierd thing is that the project plays fine in the timeline, but when i export the problem occours. i then, exported to a full res fcp movie and it is fine. then tired reexporting through qt pro to 700x394. when i did this their were no sync issues but the quality of the file was not so good, it look more pixely, certainly not as good as when i did it using quicktime conversion.
    how can i export through fcp to get the 700x394 file? someone said 'use current settings' instead of using quicktime conversion? how do i do this? what do i need to do and what are my settings?
    any help is appreciated. thanks a ton in advance.
    cheers,
    clay

    What format are you converting the HDV to?
    If it's animation, it is quite possible your computer can't pull the data rate. In this case it would be a processor / hard drive issue not an out of sync issue.
    x

  • Clearing Out Bleeding Scripts when using GWMI

    OK, so I may be in the minority, but I don't like when the scripts I write bleed all over my screen.  And when I use GWMI, I find that they bleed more often than not.  See, I often work with systems that I don't have access to, and when I use GWMI
    (even with the ever popular "-ErrorAction SIlentlyContinue", a personal friend of mine), my scripts leave blood all over the screen.  So, I went out to figure out the issue.  It appears that the error returned by GWMI with you don't have
    access to a computer is not returned at the PowerShell level, but through the OS itself.  So when you have a group of computers and run something like:
    Get-WmiObject -computer $Server Win32_OperatingSystem -ErrorAction SilentlyContinue
    You get something back like:
    Get-WmiObject : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    At line:1 char:14
    + Get-WmiObject <<<<  -computer $Server Win32_OperatingSystem
        + CategoryInfo          : NotSpecified: (:) [Get-WmiObject], UnauthorizedAccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
    (OK, yeah, it's exactly like that, thanks to cut and paste and a bit of formatting.) Anyway, since I have a script that calls WMI for OS info, disk info, boot info, ... in fact, info about several other things, all this bleeding on my screen was giving me
    heartaches.
    So I went about trying to find a way around it.  Turns out that other commands fail, but catch the issue at a higher level:  for example, Get-ChildItem gives "Cannot find path '\\ServerName\c$' because it does not exist." and works with
    -ErrorAction.  While this would work, what if the item really doesn't exist and Windows is installed on the D: drive?  That wouldn't help much, and I wanted to find a way to shunt my WMI requests only if the server had an access denied.
    I finally found that the DOS command running "net use \\ServerName\C$" will return the denied access error, and you can keep it from bleeding on the screen, but you have to do it wisely.  First, you need to use what .Net calls "[Diagnostics.Process]
    Start()".  To use this, I created the following function:
    function Chk-ServerAccess {
        param($Server, $Share)
        $PSAccessTest = New-Object System.Diagnostics.Process
        $PSAccessTest.StartInfo.FileName = "NET"
        $PSAccessTest.StartInfo.Arguments = ' VIEW
    \\' + $Server + '\' + $Share+ '$'
        $PSAccessTest.StartInfo.RedirectStandardError = $true
        $PSAccessTest.StartInfo.UseShellExecute = $FALSE
        $PSAccessTest.Start() | Out-Null
        $StdErr = $PSAccessTest.StandardError.ReadToEnd()
        -not ($StdErr -match 'Access is denied.')
    } # Chk-ServerAccess
    This function returns Boolean True if you can access the server and Boolean false if you can't.  You initialize a variable of type "System.Diagnostics.Process".  Then you set the command (file name) as "NET" (ignoring the fact
    this isn't really a file, but an internal Windows OS command).  Build the arguments using the variable for your server name and an admin share you should be able to access on the server (you can also build it with "VIEW
    \\$Server\$Share`$", if you prefer expanding variables inside the text string).  Make sure you redirect standard error - we don't really care about standard output, but we need to catch the error.  We also
    need to make sure we set UseShellExecute to false so we can redirect any output (including errors).
    Once we are ready, we run the command by starting it ($PSAccessTest.Start() | Out-Null) - note that we pipe this to Out-Null - we do this so we don't have a spurious "True" returned by our script accidentally. Once run, we capture the error
    output into a variable ($StdErr, in this case) and test to see if it matches 'Access is denied'.  If it doesn't, we return true, meaning you have rights to the admin share you wish to access on the server.  And it doesn't throw any blood to the screen
    - making it possible to then run your GWMI commands without having your friends wondering what your script is doing to their servers.
    I just love when you start a script and it ends with nothing but white output on the screen.  Hope this helps someone else out there ...
    Will Martin

    Hi Willard Martin,
    I’m writing to just check in to see if the suggestions were helpful. If you need further help,
    please feel free to reply this post directly so we will be notified to follow it up.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • When using counter 0 output, counter 1 goes to high state

    I'm using a PCI-6229 DAQ card with LabView 7.1.  Running the pulse generation example VI called "Gen Dig Pulse Train-Finite.vi" (located in the Counter\Generate Pulse library), I noticed the following anomaly. 
    If you select dev1/ctr0 as the specifed counter for the DAQmx Create Virtual Channel CO Pulse Freq VI, and also select a given frequency, idle state, duty cycle, and number of pulses, the output on counter 0 (pin2) will indeed output the correct pulse train.  However, during this pulse train, the output on counter 1 (pin 40) goes high.  This also occurs vice versa (if dev1/ctr1 is selected, counter 0 output goes high during the pulse train on counter 1 output).
    Thus, it appears the counter outputs cannot be used simultaneously.  If one is used to generate a pulse train, the other will go high and vice versa.  Is this by design?  Is there a way to get around it?  I can't find anything in the literature. 

    What you see is in the nature of how DAQmx manages finite pulse train generation.  It actually uses 2 counters, where one of them is used to generate a single, hardware-timed "gating pulse" which controls how long the other counter's pulse train is generated, thereby also controlling the # of pulses generated.  As an experiment, try performing continuous pulse train generation -- you'll see that the other counter no longer sends its output high.
    Workarounds?  That depends.  I'm not near LV or hardware to experiment, but I *think* I recall reading a thread one time that discussed how to prevent an output pulse from being routed out to the terminal block pin.  However, I'm not sure if that same technique would allow you to suppress the gating pulse in a finite pulse train generation.  Ah yes, here's that posting. 
    If you can't suppress the gating pulse directly via the finite pulsetrain task, there *are* old-school ways to generate finite pulsetrains which should give you the ability to use the linked technique.  You would configure for continuous generation but use the gating counter as a "pause trigger."   You would also generate a single pulse with the gating counter after calculating the exact pulse width needed for the # pulses you want.  After the single pulse task is done, you'd stop the continuous pulse train task.
    -Kevin P.

  • Why does Browse All Versions black out TimeMachine view when using Pages '09 in Mavericks?

    I have just upgraded from Mountain Lion to Mavericks.
    When I click File>Revert>Browse All Versions... for a Pages '09 document in Mavericks, the TimeMachine view just begins to emerge, but then suddenly the screen goes completely black. The only way I can recover (besides restarting) is to click on my second monitor. Then the typical TimeMachine view appears for a fraction of a second as it's exiting back to the current document view. I never get to see the previous versions, let alone work with them.
    I can't find anyone in the community with a similar problem.
    Also, I definitely do not want to upgrade to the new Pages, which is missing many of the features I use a lot.
    How can I get the Browse All Versions view of a Pages '09 document to stay visible in Mavericks?
    Note: I just discovered that I could solve this problem by disconnecting my second monitor, or by making it mirror my main monitor. Having multiple monitors seems to be interfering with the "Browse All Versions" function.

    Yeah, all the more furstrating when you see that osx is less polished than before and Apple take so much time to fix "simple" stuffs... (i.e: particularly no love for dual displays, lot of annoying quircks).
    Well, anyhow I posted here because it was the only place google sent me to when looking for this issue. I just answered to the guy since he was alone in his thread and I had the same issue (although not with pages). Just supportin', you see
    But yeah, I'll post in Mavericks section. I'll do it this w.e since I hadn't the time before. Thanks for your concern btw

  • Missing export kernel32.dll when using cvi 9.0 on win 64

    Hi,
    I just have a new computer (windows 7 64 bits) : PC 1 for short.
    My old computer was a windows xp 32 bits : PC 2.
    I compile my programs with CVI 9.0.
    When I compile a program with PC 1 :
    - the install works on PC 1 & PC 2
    - the prog installed works on PC 1
    - the prog installed doesn't work on PC 2 : Missing export ...... from 'KERNEL32.DLL'
    Somebody has an idea?
    Solved!
    Go to Solution.

    Hi,
    if your program uses some functions from Windows SDK included in kernel32.dll, the program really depends on this library.
    The problem is that for this reason CVI includes kernel32.dll when you build a distribution kit (on the target PCs you should find a copy of kernel32.dll in a subfolder of the one where you installed your application).
    The problem is that CVI takes this dll from your development PC (Win 7) and your target PC (XP) can't work with this dll. Win XP has its own copy of kernel32.dll, but MS Windows Operating Systems load dlls from application folder before than from system folder.
    And so, simply remove the kernel32.dll dependency and rebuild the distribution kit.
    This is a general behavior of CVI and can bring to several problems. I've already reported this to NI, because Operating System dlls must not be included in a distribution kit. If the target OS lacks of some core dll, this is a severe problem, and it's not a situation that CVI can fix simply using some local copies of these dlls.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Missing data in selects when using statistics

    Hello,
    I've got a really strange thing:
    We have a small table (say 20 records) and are using schema statistics.
    Now after inserting a row in this table, in de selects this row is NOT found!!
    Found out that when updating the statistics this record is found!
    So, could it be that using statistics (probably in a wrong way!) the results are changing?

    Ed, was the query issued from the same session as the insert? Was the data committed?
    On a post like this along with the edition and full Oracle version you should have posted the SQL that can duplciate the problem.
    HTH -- Mark D Powell --

Maybe you are looking for

  • Not able to do anything after i sign in

    anytime i sign in so i can join it sends me to a page that says this section is currently unavailable. when i check the status all areas have green check marks. i need help please. thanks,

  • F4 Input Help in Variable Screen takes about 30 Minutes to display.

    Hello Experts, We have a web-report in which the time taken to display all the entries in F4 Input Help of the variable screen takes about 30 minutes. Have anyone experienced so long a wait time while accessing F4 Input Help in the variable screen an

  • Fonts huge in Chrome on iWeb sites

    My published iWeb created site looked fine in Chrome to start, but now the fonts are screwed up in both my site and other iWeb sites. It looked like the Safari version below until today.  Why? My site:  http://mygeologypage.ucdavis.edu Screen shot fr

  • Microsoft Outlook utility with SBO

    Hi Experts Any one can tell me how we can integrate microsoft outlook with SBO. plz send me Any help document  for this. Can we send any document by MS outlook to any BP and Can we send simple mailing to BP be SBO . So give me link for such informati

  • How does Java API handles binary files

    I couldn't find some documentation which describes how to extend the Java API for handling binary files. (I want to upload, check in/out (and delete) such files from within a Java application.) Does anybody know where I can find an example or some re