Issues bundling NI-CAN dlls along with my CAN application.

When I try to run my CAN application on a system on which NI-CAN s/w is not installed. It gives the error
"Application failed to initialize properly (0xc0000142)" [error message is attached]. I included all the NI-CAN DLL's[list got using the Depends utility] under my application installer. It copies the DLL's to the C:\winnt\system32 directory.
Am I missing any step like registering the DLL's, etc., If so what r the DLL's to be registered ...
Can anyone please help ...
Attachments:
CanAppErrMsg.bmp ‏191 KB

Hi Vinnayak
What programming language do you use? If it’s a LabVIEW, this would be tricky to work around. When LabVIEW loads (not executes) a VI, it also loads all dependent DLLs to check, if they are all executable. That way you avoid crashes or hangs if the VI already runs and then it turns out that a particular DLL is missing or doesn’t provide the required function. You can observe this, when you open LabVIEW (nothing else open) and drop a CAN (or DAQmx) VI on the diagram. There is a small delay before the VI actually gets onto the diagram which is caused by loading the required ‘DLL chain’.
If you know, that you are not going to execute any code that calls into the NI-CAN DLLs, you could create a stub DLL that provides all the function declarations (ncOpen(), ncClose(), etc.) that your VI calls, but has no code in it.
This is quite a bit of work, depending how many different functions are used.
If you are not using LabVIEW, you could load the NI-CAN functions dynamically using the Win32 functions getProcAddr() and loadLibrary(). That way the NI-CAN DLL is only loaded when it is actually used.
Copying individual DLLs will not work as the NI-CAN driver DLLs not only depend their own Win32 service, but other services running which in turn have their own dependencies.
-B2k

Similar Messages

  • Bundle a few docs along with AIR app

    Hi,
    I need to bundle a few PDF and word docs along with my AIR
    application when it is installed by the user.
    I don't want to Embed the documents in the actual AIR app,
    but just ensure that the files get included in the AIR installation
    and end up in the application's install folder on the client system
    so that the AIR app can access them at runtime.
    How can I do this with the AIR app packaging/installer
    process?

    It depends on which tool your using for packaging, but I
    believe they all have UI to select which folders/files are included
    and which are not.

  • Data Management tools to go along with our PeopleSoft applications.

    Hi All. 
    We're looking into Data Management tools to go along with our PeopleSoft applications. 
    So far we have done a little looking into solutions from Informatica for Data-Archiving, Data-Subsetting, and Data-Masking. 
    All three appear to have pre-built PSoft solutions, and go after what we are trying to achive. 
    I was wondering if anybody could weigh in on the Products, or others that they have used, custom for PeopleSoft Apps (Fin & HR). 
    Thank you, Ed

    A lot of the time PeopleTools contains a lot of features that we do not know or have forgotten and tend to use external (paid) solutions.
    If you do not have a copy yet, please have a look at the following book written by Paula Dean and Jim Marion.
    PeopleSoft PeopleTools Data Management and Upgrade Handbook (Oracle Press)

  • Adobe form -- Issue in Displaying Dynamic text along with Static text

    Hi All,
    I am having an issue when i am displaying a dynamic text along with static text in adobeforms.
    The dynamic text is slightly coming down and not aligned with the static text. i can see half row it is coming down.
    how to align both texts to be printed in same format.
    Request all of your expert advices in achieving this .
    Thank you in advance.
    Thanks&Regards,
    Phani Miriyaila.

    Hi,
    Select both dynamic and static text in the layout. Goto Object palette -> Layout. Give values to X,Y coordinates and Height & Width. Anchor properly and specify margins as well.
    Select both dynamic and static text in the layout. Right click on it and goto palettes -> Paragraph. It gives you the text alignment options. Align the text and give similar font and size.
    Thanks & Regards,
    Sanoosh

  • Upgrade issues OBIEE 10g to 11g along with OBIA upgrade

    Hi,
    I have to upgrade OBIEE 10.1.3.4.1 to OBIEE 11.1.1.5 along with OBIA 7.9.6.1 to 7.9.6.5(Informatica 8.6.1 to 9.0.1) at my client location and I have very little knowledge on it. and want to know/have help documents for upgrade.
    And if anyone in the forums involved in upgrade please list the errors/issues occured during upgrade and after upgrade.
    1. OBIEE 10g to 11g upgrade issues??
    2. OBIA OBIA 7.9.6.1 to 7.9.6.5 upgrade issues along with 10g to 11g??
    3. Informatica 8.6.1 to 9.0.1 upgrade issues??
    4. DAC upgrade issues??
    any response for my questions is appreciated.
    Thanks
    Jay.
    Edited by: Jay on Apr 11, 2012 9:11 AM

    HI Jay,
    We cannot explained thread list here, If you get any errors plz post me,will try to help out.
    This is oracle document link - This document has given step by step with screen shots upgration for 10g to 11g ,Please refer the below link.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/upgrade/upgrade_to_11g.htm
    http://obieemanu.blogspot.in/2011/05/rpd-upgration-from-10g-to-11g.html
    http://docs.oracle.com/cd/E21764_01/upgrade.1111/e10125/ua_command_line.htm#ASMAS149
    Award points it is useful.
    Thanks,
    satya

  • Skype crashes (along with any other application) w...

    Alrighty. So, before 7.0 came out, whenever I accessed my camera from any application, that application crashed. (Sadly, this also included my LoginUI.exe and occasionally locked up my computer, forcing me to restart) So, today I've seen from my friends' screen the new 7.0, and I just updated. Whenever Skype opens up, it runs for 1 or 2 seconds then crashes. The only explanation for that is that Skype keeps trying to access my webcam/camera. Any solution to this? Oh, and I've included my DxDiag report below. 
    Attachments:
    DxDiag.zip ‏16 KB

    Skype is crashing when trying to access the FaceRig application (FaceRigVirtualCam.ax).
    https://www.facerig.com/
    Uninstalling this faulty application may rectify the issue.
    If you want to stop Skype from trying to access any video capture device then you can try this:
    http://community.skype.com/t5/Windows-desktop-client/Skype-uses-DVB-T-card-as-camera/m-p/1445497#M12...

  • How to add third party dll in our installer using application builder?

    Hello friends,
    I have one application (VI) which is using some third party dll of protocol and now I want to make a installer which should install dll along with application exe. Please suggest the way ..
    Thanks
    Solved!
    Go to Solution.

    Hi,
    I placed it in project file and included it in category of "Always Included" in exe creation. Then after i created installer with needed NI drivers. But this installer didn't registered the dlls in project file. I registered it manually using regsvr32 command..
    Any help to do it automatically during installation..
    To brief my words, I need help to understand the process of third party dll registration during installation of installer created by application builder..
    Thanks

  • Deliver the JRE with own desktop application - without installation

    Hi,
    the Java license allows to distribute Java along with a software application, if Java is needed to run this application. I do not want my users to worry about operating systems, java versions and installations. So my idea was to include the JRE in a subfolder of my application and to use a native launcher to start the jar containing the main program, using the JRE in the subfolder.
    It seems to work - and I'm quite sure that previous versions of the eclipse IDE did this exactly this way. Unfortunately, I'm not able to find any download containing the JRE without an installer. And first installing and then copying the extracted files seems to be a dirty workaround. Also it's not really clear if this would be conform to the java license.
    So my question would be if there's any clean approach for this.

    927748 wrote:
    Thanks for the pointer - although it's weird that there's no zip or something similar only containing the files (without an installer).That used to exist, but it was dropped in favor of only an installer (for Windows) long before the Oracle takeover. I guess the main reason was that when you provide the runtime as a zip file, that does not install any "default Java" (IE. a java.exe / javaw.exe in the windows system folder). Having a default java, which means being able to run java stuff without ever having to modify any PATH variable yourself like was already the case on Linux for ages, was kind of a big deal for Sun back in the day.

  • MAC PRO (Early 2008) RAID CARD ISSUE - SYSTEM FREEZEHello (hopefully someone can shed some light on my issue)  I own as above a MAC PRO (Early 2008) this has a RAID card installed along with two 15k.7 cheetah hdd (320gb) and a spare drive, (which i m

    Hello (hopefully someone can shed some light on my issue)
    I own as above a MAC PRO (Early 2008) this has a RAID card installed along with two 15k.7 cheetah hdd (320gb) and a spare drive, (which i made a regular drive)
    a while ago i had to replace the RAID card battery, so i did this, over a year later the same thing happened again, but as previous just left it and the system seemed fine for ages, until last night i was working in PHOTOSHOP and everything just froze and the screen kind of appeared GREEN, could not do a single thing. So restarted the mac, this time grey screen for ages and a message appeared, (macs version of blue screen) (see attached).
    I restarted the machine and this time a flashing question mark folder!
    could not do a thing.
    so i found my copy of snow leopard and got the computer to run this and at least launch the DISK UTILITY and (Interestingly in the drop down menu RAID UTILITY was also in the menu) but it did not matter which utility i used the (RAID or DISK) neither could see any of drives, just the dvd drive.
    so looked around on you tube and various forums and discovered if i take out the RAID CARD and re-plug the main lead from the RAID card back in to the LOGIC BOARD I would be reverting the MAC to a normal regular non-RAID computer.
    After performing this HARDWARE task and inserting all three HDD, and running the DISK utility from the drop down menu via the SNOW LEOPARD disc.
    (interestingly since the RAID card had been removed the RAID UTILITY  from the drop down menu no longer appeared). running disk utility I can now only see the regular (spare) hdd and DVD Drive, but the two RAID HDD , again, still do not show up DISK UTILITY?
    O.K. so i could chuck out the RAID card (AND RAID HDD) and just go with a regular set-up, and run a back restore from Time Machine on a NEW hdd purchased.
    but what is wrong with the RAID, is the card at fault or are both HDD used for the RAID knackered? can i perform any tests, to see whats what?
    thanks for your help in advanced.

    hello people, the issue was in fact the GRAPHICS card nothing to do with the HDD or RAID system ( although this did cause issues with the RAID system it basically lost its way) below is my replay to another similar  problem some one else had!
    working in photoshop and then everything stopped working and the lot froze! only option was to force shutdown (via button).
    and try to restart, hoping all was fine, this was not the case :-(
    I had the added issue of the RAID card system, that i have, this was confused to say the lease and would not behave or work, causing the start up to hang.
    so i thought the HDD must be bust and the root cause. ( but soon learnt it was not the cause )
    ...bought a new HDD removed the RAID card and replugged the cable from RAID card into LOGIC board, ( making the computer act like any normal non-RAID system). I managed to install the OSX, using the snow leopard disk way. once the mac was running, i started to notice the screen would flicker and started to see 'artefacts'. so i started to reveal my symptoms to the web and forums and soon discovered that my graphics card could be the issue all along?.
    (nvidia geforce 8800gt 2x dvi).
    I read up on that a fix, could be either A. reply the thermal paste, as the card could be over heating or B. stick the card in the oven trick.
    Tried option A. first and nothing still issues, so last night took the plunge carried out option B. and ta da it worked! i even managed to run
    from my new HDD my lasted install OS X, absolutely fine. I then thought, maybe i could repair my RAID so replugged all the HARDWARD back in and
    carried out a disk repair and disk permissions on drives( took a small amount of time), via the SNOW LEOPARD disc - (Disk utilities) and this worked and now have my system working as it was just over 6 days ago.
    what was the cost to get this?  bought a new hdd so 40.00gbp and thermal paste and cleaner kit ( your still need to do this ) search video card trick on you tube.
    and renew thermal paste, approx 15.00gbp, technically i don't need the new HDD, but it was all part of the trial and error way i went. ( i do have extra storage as a result!)"

  • Issue with NI-CAN 2.7.5 DLL(s) install for custom applications

    We have custom applications built on top of NI-CAN for Windows using the MS Visual C lib and header. In the past, to run our applications, we simply installed the latest NI-CAN package. Our applications would run, find and access any runtime DLLs, and be fine.
    With NI-CAN 2.7.5 though, we are seeing errors in our applications that suggest they cannot see the required DLL necessary to operate. The error is:
    "A dynamic link library (DLL) initialization routine failed."
    Did anything change in 2.7.5 with regards to the placement or installation DLLs required to run custom NI-CAN applications?

    I was able to get a little more information. Using Visual Studio to get a debug log, I see the following. With 2.7.4, the NI-CAN DLLs load and it work fine:
    'MATLAB.exe': Loaded 'E:\jobarchive\Btm1\2014_02_21_h12m30s17_job89749_pass\matlab\toolbox\vnt\vnt\mexNICAN.mexw32', Symbols loaded.
    'MATLAB.exe': Loaded 'C:\Windows\System32\Nican.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\NIcanFrm.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipalu.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipalut.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipal32.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\NIcanpu.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\NicanCfq.dll', Binary was not built with debug information.
    'MATLAB.exe': Loaded 'C:\Windows\System32\nicanDBA.dll', Binary was not built with debug information.
    'MATLAB.exe': Loaded 'C:\Windows\System32\NicanTsk.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\NiSpyLog.dll'
    On 2.7.5 though, additional error information shows up:
    'MATLAB.exe': Loaded 'T:\12\jpyle.Btm1.j86236.sb\matlab\toolbox\vnt\vnt\mexNICAN.mexw32', Symbols loaded.
    'MATLAB.exe': Loaded 'C:\Windows\System32\Nican.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\NIcanFrm.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipalu.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipalut.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipal32.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\NIcanpu.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\NicanCfq.dll', Binary was not built with debug information.
    'MATLAB.exe': Loaded 'C:\Windows\System32\nicanDBA.dll', Binary was not built with debug information.
    'MATLAB.exe': Loaded 'C:\Windows\System32\NicanTsk.dll', Cannot find or open the PDB file
    'MATLAB.exe': Unloaded 'T:\12\jpyle.Btm1.j86236.sb\matlab\toolbox\vnt\vnt\mexNICAN.mexw32'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\Nican.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\NicanTsk.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\NIcanFrm.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\NicanCfq.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\nicanDBA.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\NIcanpu.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\nipalu.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\nipal32.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\nipalut.dll'
    You can see it tries to load under 2.7.5, get a bunch of PDB file issues and then immediately unloads.
    Inspecting the DLLs under 2.7.4 vs 2.7.5, they look identical except for the nicanDBA.dll. That's the only one that has a version difference between NI-CAN versions. In both 2.7.4 and 2.7.5, all DLLs are being properly installed to \windows\system32 as expected so both sets are fully accessible path-wise.
    Please advise.

  • TS3694 I am using iphone 3gs, I upgraded my i-os to 6.0 from 5.1.1 however I am facing performance issue, along with this all the applications including settings or any other shuts down automatically. Is there any way by which I can use my phone in better

    I am using iphone 3gs, I upgraded my i-os to 6.0 from 5.1.1 however I am facing performance issue, along with this all the applications including settings or any other shuts down automatically. Is there any way by which I can use my phone in better way?

    No, downgrading from any version of iOS to an earlier version is not supported.

  • My iTunes library is missing since upgrade Lion 7.2.  I have it all backed up so that's not the issue. How can I reinstall it with all my hundreds of playlists intact or do I have to recreate each one upon reinstalling the backup copy? Thank you for help

    Almost my iTunes library is missing since upgrade Lion 7.2. (the last 2.5 weeks worth of added music has transferred post-upgrade, none of whcih was bought from iTunes)
    I have it all backed up so that's not the issue. How can I reinstall it with all my hundreds of playlists intact or do I have to recreate each playlist upon reinstalling the backup copy? This would save a HUGE amount of time and efforts. Thank you for your help!

    hi Limnos,
    I do not mean the entire ITunes folder but, rather, the contents of the ITunes folder prior to September 29th.  (90% of the media is missing, along with all playlists)  The media that remains says it was added on 9/29 although I know most of it was added many months or even years earlier. There are no playlists listed at all, before or after 9/29.  (I know for certain that I added non-iTunes purchased songs on 10/6 although I had not created playlists for them)
    I have my iTunes folder backed up on both an external drive as well as Time Machine.
    I run iTunes off of an ITunes folder on my computer rather than from the external, if that's what you mean about how I have it set up. 
    Is it OK to drag the entire iTunes folder from the external drive onto my laptop's drive and see if that fixes it?
    Thank you for your help!
    Deb

  • In the upper part of Firefox there is normally a box to type in URL's. I have lost that box/area. Along with that I have no back of forward buttons to view the last/next internet pages. Can you help?

    I have lost the box on the top part of the Firefox page where one types in a URL. Along with that, I have no back or forward buttons. Help please
    == This happened ==
    Just once or twice
    == tonight

    Those items are on the Navigation Toolbar; see below
    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(Linux & OSX see: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M
    <u>''Windows'' Method 2.</u> Press and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar.
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Update Java'''</u>: your ver. 1.6.0.18; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    (Firefox 3.6 and above requires Java 1.6.0.10 or higher; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
    ''(Windows users: Do the manual update; very easy.)''
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.
    <u>'''Install/Update Adobe Reader for Firefox (aka Adobe PDF Plug-In For Firefox)'''</u>: your ver. 9.3.2; current ver. 9.3.3 (important security update release 06-29-2010; see: http://www.adobe.com/support/security/bulletins/apsb10-15.html)
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    ''<u>You may be able to update from the Adobe Reader installed on your system</u>'' instead of going to the Adobe site and downloading. Start > Program Files, find and click Adobe Reader to open, click Help, click Check for Updates.
    ''<u>If you go to the Adobe site to download the current Adobe Reader:</u>''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    ~~red:-See the images at the bottom left of this post to see the steps to take on the Adobe site~~
    -exit Firefox (File > Exit)
    -check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -double-click on the Adobe Reader installer you just downloaded to install/update Adobe Reader
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version. To install/update the IE ActiveX version, same instructions as above, except use IE to download the ActiveX installer.
    *Also see: http://kb.mozillazine.org/Adobe_Reader ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]

  • Hii Can anyone tell me is there any possibility of giving some due payment like bonus or offcycle after its termination is done along with the payroll run and posting.

    Hii Can anyone tell me is there any possibility of giving some due payment like bonus or offcycle once employee termination is done along with the payroll run and posting.
    Thanx

    One Possibility is by making manual entry for that employee from FI side..  (this will give you soln..) Take the help of FI consultant...
    Another possibility is in IT0003 "Payroll Status".. You can opt mention next month date "Run Payroll up to" & execute Off cycle payroll for that employee...
    Just try this hope this may sort your issue....
    If it still it doesn't give you soln.. You may need to reverse the posting of that employee & change employment status.. Run Bonus & finally terminate the employee & do the posting..

  • Can I do bundle and can distribute JMF library (jar, dll file)

    I say riki.
    I develop Software using a Swing.
    Please teach it about "Java Media Framework (JMF) 2.1.1 Binary Code License".
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/license.html
    I want to add a "Multimedia data delivery" function using a library of JMF.
    Can I do bundle and can distribute the following library (jar, dll file) of JMF
    with one's software?
    JMF2.1.1e/lib/
    jmf.jar
    jmacm.dll,jmam.dll,jmcvid.dll,jmdaud.dll,jmdaudc.dll
    jmddraw.dll,jmf.jar,jmfjawt.dll,jmg723.dll,jmgdi.dll
    jmgsm.dll,jmh261.dll,jmh263enc.dll,jmjpeg.dll,jmmci.dll
    jmmpa.dll,jmmpegv.dll,jmutil.dll,jmvcm.dll,jmvfw.dll
    jmvh263.dll
    * When I bundle it, I bundle up following readme.html.
    "JMF 2.1.1 Binary Code License"
    JMF2.1.1e/doc/readme.html
    * Moreover, I will describe the thing that my software uses the JMF library
    with readme.txt.
    Please answer.
    Edited by: riki99 on Jan 13, 2009 4:49 PM
    Edited by: riki99 on Jan 13, 2009 4:51 PM

    sorry. I am Japanese.
    "Binary Code License" cannot understand.
    I confirmed the Sun Japanese corporate , but they were the circumstances which cannot be judged.
    help me.

Maybe you are looking for