Importing a DLL created with Cygwin

I am trying to import a DLL created with Cygwin. This is a test DLL created by one of my collegue to validate the import process.
When I use the import Wizzard, everything run ok. It recognise and build the structure based on the header file.
When I click ok to generate the wrapper, the progress bar shows but nothing happens. I have to terminate the program (not responding).
I found in the discussion forum that many users were having similar problem. I also found an interesting article on the subject: http://zone.ni.com/devzone/cda/tut/p/id/5412
Following this, I reinstalled Cygwin with the packages mentioned in the article :
gcc
make
sharutils
tclck
wget
I also place the Cygwin path in the system path variable. I have also found that if the Cygwin path is not in the system path variable, the wizzard complete ok but the DLL is not able to run (cygwin1.dll is missing).
Any help will be appreciated.
RD

I Claire, I am using Labview 8.6 the demo version.
What I did is to do a scan of the bulletin board. http://forums.ni.com/ni/board/message?board.id=170​&message.id=384919&requireLogin=False
I Can't say if this is the same problem I am experiencing but it looks very similar
I have a Dell Latitude D830
I have attached a copy of the DLL and an executable that is the core of the DLL.
Hope this will help you figure it out.
RD
Attachments:
dll.zip ‏4 KB
test.zip ‏3 KB

Similar Messages

  • Required Windows updates to run/load dlls created with Visual C++ 2013

    I have dlls created with VS2013 C++. Dlls are statically linked with runtime libraries and therefore do not require the redistributable to run on a machine that does not have VS2013 installed.
    I have a test machine with Win7 SP1 64-bit without any windows updates. When I try to load a dll created with VS2013 in an executable on that machine, the code dies. Another test machine with windows 7 SP1 fully updated using windows updates loads the same
    dll without a problem and the code runs fine.
    My question is which windows updates for Win 7 and Win 8  are necessary for dll created with VS2013 to load and run?
    Thanks. 

    I did use dependency walker. In my post above (third post in the thread) I actually state that: 
    "The code crashes(=dies) on the machine without windows updates. I used dependency walker and there are no missing dlls.
    Even if there were missing dlls, which there are none, those would be system dlls, because a machine with fully up to date Win7 loads and executes the code without a problem."
    The dll is statically linked (/Mt flag was used). For a good measure I installed redistributable which did not solve the problem. Besides static linking applies to runtime dlls, not the system dlls.

  • Multiplication error in DLLs created with SIT

    I have a problem with a multiplication in a DLL created with the Mathwork's Matlab/Simulink and National Instruments SIT. When multiplying two values of different types (fixed point types) I get really strange and unexplainable results. When I run the simulation in Simulink only, I do not get the error. But when running the same program as DLL in Labview I get a result of 146.xxx instead of 235. Feel free to chck out the included files (.mdl, .dll, .vi).
    I'm desperately looking for solutions.
    Philip
    Attachments:
    interface_test.vi ‏34 KB
    interface_test.dll ‏130 KB
    interface_test.mdl ‏11 KB

    Go ahead and hook up your error clusters and attach them to an indicator. This way you can see if there is a labVIEW problem with your code.
    I cannot run your code myself because of a lack of software but I opened the VI up and saw it was missing error handling.

  • Importing movie files created with SONY HDR-TG5

    Having trouble importing movie files created with this camera. Have had success importing direct from the camera using streamclip, but struggling with old files imported from our PC. These files have these two extensions; .modd and .m2ts

    Eric:
    Thank you. MPEG Slipstream worked great.
    Do you know if there is software available that would let me see what is in/copy the files in the Sony folder so that I might be able to copy the disk directly instead of having to copy the files off of it with Handbrake? Would having the QT add-on for the MPEG-2 playback component be helpful?
    Thanks again
    Tim

  • How can I debug a DLL created with MS Visual Studio C++ using CVI?

    I have developed a DLL using MS Visual Studio C++, which is called by an other application written in CVI.
    My goal is to debug the DLL written with C++ when is called from CVI.
    So far I have some msg popups, but I would like to have more debugging capabilities.
    Thanks, Adalbert

    Hello Adi11,
    As documented in the CVI Help under "Debugging DLLs": "In the LabWindows/CVI development environment, you can debug only DLLs you create in LabWindows/CVI with the Create Debuggable Dynamic Link Library command. Other development environments cannot debug DLLs you create in LabWindows/CVI."
    This information was also mentioned on the following discussion forum.
    Thanks.
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • Call RFC with DLL created with DCOM CONNECTOR

    I try to call a RFC with a DLL that i created with the SAP R/3 DCOM CONNECTOR (Release 4.5.B):
    My external soft calls the DLL, which calls the RFC, which calls a transaction (Call Transaction Mode N, Update S)...
    When i test the RFC in SAP (SE37), it's OK.
    But when i call the RFC with my soft (and with the DLL), the Call Transaction returns sy-subrc = 1.001 (the methode "AdviseRfcGuiSink" included in the DLL allows me to launch the debugging with my external soft).
    I found no SAP notes about this problem.
    If you met the same problem, could you help me ?
    Thanks.
    Julien.

    Some Years later I have the same Problem.
    As discripet in the post before - first I've got an error in the Method "CreateNewRow()" where the Method wants to return "return new byte[]()". Well I don't know why the .Net-Connector creates that code - but it looks strange to me.
    The origin Code is:
        /// <summary>
        /// Creates an empty new row of type byte[].
        /// </summary>
        /// <returns>The newbyte[].</returns>
           public override object CreateNewRow()
                return new byte[]();;
    With Changing that method I've got the same Error as in the post before:
    System exception thrown while marshaling RFCTYPE_XMLDATAto .NET type.
    Does someone has found a solution for that kind of Problem?

  • DLL created with LV 7.1 Application Builder doesn,t work when analysis subVIs are present

    I'm looking for a solution of the following problem.
    The DLL created by the "sum1.vi" source works properly, while the DLL create by "sum2.vi" always gives a zero result.
    The "sum2.vi" source contains an additional "Hanning Window" VI (not wired), that seems to be the cause of the problem.
    If I delete the Hanning VI and re-build the DLL, the same works fine
    Is there a solution or is it not possible to make Labview DLLs when containing analysis VIs as filters, windows, FFTs, and so on?
    Thank you for your answers.
    N. Roberto
    Attachments:
    sum1.vi ‏12 KB
    sum2.vi ‏14 KB

    Roberto N. wrote:
    Thank you Jordan, I'm using Labview 7.1.
    Anyway I've resolved the problem by adding the "lvanlys.dll" file (present in "..\Labview 7.1\resource\lvanlys.dll" path) as support file in the building process. Now the DLL containing the analysis functions works correctly.
    Natalino Roberto
    Ok, you probably got lucky since the lvanlys.dll seems to implement that function directly. However most Advanced Analysis functions are just redirected by lvanlys.dll to the Intel Math Kerneal Library that gets installed with LabVIEW 7.1 and higher. The only way to get that properly installed with your LabVIEW executable or DLL is to create a LabVIEW installer in your Application Builder and make sure to select under "Installer Settings->Advanced" the "LabVIEW Run-Time Engine" and the "Analyze VIs Support". Then use that installer to install your DLL on another computer.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Using DLLs created with LabWindows/CVI 8.0.0 in LabWindows/CVI 8.0.1

    Hi,
    I have created a project containing some methods with LabWindows/CVI 8.0.0 and then build the project and generated the DLL and LIB files. These DLL and LIB files are working fine in another projects created in LabWindows/CVI 8.0.0 (even on another machines).
    But when I use these DLL and LIB files in a project created with LabWindows/CVI 8.0.1 on another machine and try to call the methods of these files, the following error occurs: -
    "The program has caused a 'Unknown' fault at 001B:7C812AFB"
    Is this error occurs due to ther version mismatch or there is some other problem?
    Please help me to resolve this issue.
    Thanks,
    Sarabjit Singh

    Judging from this, I don't think NI has a newer version of this tool:
    http://forums.ni.com/t5/Measurement-Studio-for-VC/Convert-project-from-LabWindows-CVI-to-Visual-Stud...

  • My current os x is 10.9.5, using final cut express vers. 4.0.1.  I have imported .mov clips created with a older mac os x (lion) and converted them to import into fce. after doing this as well as putting clips on the fce timeline when playing back t.h

    My current os x is 10.9.5, using final cut express vers. 4.0.1.  I have imported .mov clips created on a older mac os x (lion) and when I wanted to import them into fce, a quicktime conversion window opened up and converted them (I haven't experienced this in the past). I then imported the converted quicktime clips into my fce project.  After doing this I took selected clips and put those edited clips on the fce timeline.  When playing the video back in the fce timeline,I noticed
    1) the video wasn't playing back smoothly like the original content
    2) when looking at the timecode reading of the timeline, the timecode was sputtering as well as the video and audio.  I exported to quicktime just to see if that was consistent, it was.
    When I play the converted quicktime content independently of fce,  it plays normally (no sputtering of timecode, video and audio.  Need help to resolve the sputtering playback of converted video content in the fce timeline.  I've never experienced this before.  Any suggestions?

    When you say you converted the clips before importing them into FCE, did you convert to AIC or DV and do the converted clips match your FCE Sequence settings exactly?  If not, go back and convert the original files again, using the intended Sequence settings as a guide.
    -DH

  • Why can't I import a .mov created with QT screen recording into FCX?

    I created a .mov file with QuickTime's Screen Recording mode. The movie thus created opens in the QuickTime Player and plays fine, but when I try to import it into FCX's editor with File>Import, I get an error message: "File Error: 1 file(s) recognized, 0 access denied, 1 unknown".
    Why can't I import this .mov to edit it in FCX?
    Thanks,
    George

    Bengt, I believe the OP's "FCX" does mean FCE.
    Like Al said, they need to be transcoded (say, to AIC) in something like MPEG Streamclip, QT Pro  or Compressor.
    Actually, FCP X will happily open them.
    Russ

  • Calling a dll created with vision 7.0 from visual basic doesn't work

    I created a dll using some vision 7.0 functions and Labview 7.0 environment. I call this dll from visual basic. The dll will work fine as long as I don't stop the visual basic program execution. As soon as I stop the program execution the dll will no longer work. I must reload the visual basic environment and the call to the dll will start working again. I created the exact same dll but I created it with vision 6.0 in Labview 6i environment. It works great and has no issues.
    Attachments:
    Test.vi ‏36 KB

    Roberto N. wrote:
    Thank you Jordan, I'm using Labview 7.1.
    Anyway I've resolved the problem by adding the "lvanlys.dll" file (present in "..\Labview 7.1\resource\lvanlys.dll" path) as support file in the building process. Now the DLL containing the analysis functions works correctly.
    Natalino Roberto
    Ok, you probably got lucky since the lvanlys.dll seems to implement that function directly. However most Advanced Analysis functions are just redirected by lvanlys.dll to the Intel Math Kerneal Library that gets installed with LabVIEW 7.1 and higher. The only way to get that properly installed with your LabVIEW executable or DLL is to create a LabVIEW installer in your Application Builder and make sure to select under "Installer Settings->Advanced" the "LabVIEW Run-Time Engine" and the "Analyze VIs Support". Then use that installer to install your DLL on another computer.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Importing from DVD created with iMovie or iDVD

    Hi All,
    My friend and some crew guys recorded themselves doing sound check, playing some songs, and being silly. It looks like whoever gave him the DVD of him singing created the DVD with iDVD and it has an audio_ts folder and video_ts folder.
    He wants to put it on his myspace. So how do I import this DVD using premiere? Or how do I get the video and audio off the DVD so that I can put it on his myspace?
    Thanks in advance!

    FAQ: How do I import VOB files / edit a DVD?
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • How do I import SWC files created with Flex info Flash CS4?

    I've created very nice UI component using Flex 3 and I have exported it into a SWC file.
    How can I import it into Flash CS4 to use it there?

    Hmm... if you happen to be familiar with C#, then you may probably know about the problem of P/Invoke (this is a command that lets you access Windows API through C# code, which will apparently prevent it from functioning on other OSs).
    What happens with Flex framework is somewhat similar to this. I.e. it relies to much on the features of Flex compiler and the components of the framework create a lot of cross-dependencies, which makes them barely usable outside the framework.
    So, if you have time and doing this just as a matter of learning, I'd suggest you start an AS project in Flex builder and advance with it compiling it both with Flex and Flash to see if there are any differences (basically, once you see it doesn't compile / doesn't behave as you'd expect in Flash, you'll know you used something that is specific to Flex). These would be mostly meta tags, like [Bindable] for example.
    And, if you need any tutorials on how to code in pure AS, then, well, there are really to many So that you can even choose what's appropriate / goes better with your learning habits.
    If you like video lessons, there're tons of them at gotoandlearn.com, if you prefer reading documentation, here you go: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/class-summary.html
    if you prefer forums / written tuts, then, kirupa.com, actionscript.org, flashkit.com as well as Adobe forums will provide you with a lot of information.

  • Debugging a JNI DLL created with Visual C++

    Hello.
    Due to the necessary libraries, I need to create a DLL in Visual C++ to be called from my Java class:
    System.loadLibrary("my_dll_name");
    But I've got a problem: I'm newbie in Visual C++ and I would like to debug the DLL, so when I press F5 (Go for Debug mode), I get the message "Please specify the executable file". Obviously, I've got a DLL, not an .exe or .com file.
    I would be extremely obliged if anybody could share any experience.
    Thank you very much.

    What you nee to do is this:
    Run your java app (in an IDE if poss.) and have it pause at some point (if its a command line app., wait for a key, if its a Swing app, you're ok, just wait for the app. to appear. Now start VC6 and go
    menus:
    Build/StartDebug/Attach to process. Ther should be one process calleed java. Attach to that. If your DLL has debug info in it, you should be able to navigae to the source and set breakpoints etc.
    Alternativly, you could just put OutputDebugString(...) (this is a Win32 function) statements in your DLL and use DBMON.EXE (from the win32 SDK) to look at the output.

  • Error when Importing m4v files created with Handbreak

    I am copying my VHS home movies to DVD using a Sony DVD recorder. When I put the disk into my Macbook Pro it looks like a folder rather than a disk image. The folder (named SONYDVD_RECORDERVOLUME) is empty when I click on it. It plays fine on my DVD Player. Handbrake is able to load the DVD files and I can copy them using iTune high quality recording set. The resulting file funs fine with QT, loads on my iPod and plays fine, will copy into iMovie but when I try to put into Final Cut Express I get an error message : File Error: Unknown File. Is there something that I am missing??? Ideas would be appreciated,

    Eric:
    Thank you. MPEG Slipstream worked great.
    Do you know if there is software available that would let me see what is in/copy the files in the Sony folder so that I might be able to copy the disk directly instead of having to copy the files off of it with Handbrake? Would having the QT add-on for the MPEG-2 playback component be helpful?
    Thanks again
    Tim

Maybe you are looking for

  • Shipping point at storage location level in ME2O

    hi Guys, I am using stock transport orders at storage location level, and it works fine, we have a customizing point to configure shipping point at storage location level. My doubt is if we can use also shipping point det. at storage location level f

  • Multiple email accounts and calendars on ipad

    My wife and I both have iphones and we each have two email accounts for a total of four email addresses altogether.  I just ordered an iPad Air and while I'm waiting for delivery I started thinking about managing this collection of accounts.  She has

  • Traveling to Portugal --  Adapter/Converter Recommendations??

    I'm traveling to Portugal and I need to be able to charge my MacBook while I'm there. I went ahead and did some pretty superficial research that told me to buy both an adapter and a converter so that I don't fry my laptop. However, the converters I'v

  • Exception LOG_NOT_FOUND

    Hi SDNers, After upgrading from 4.6C to ECC6, I got a dump when I use the function COMMON_LOG_READ_PLAIN for BDC logs. In ECC6 version, this function uses the function RSTS_READ_OBJECT_DIRECT. This last function, only allows jobs log (JOBLGX) but not

  • CS5 Batch dose not work right.

    I am running window 7, 64 bit CS5. I have a folder that containg 100 High Res Images. I want to create a Batch file, so i can shrink them for email. This is what I did: I created a new folder i called it small version Then i created an Action called