How can I use a dll if I dont have a header file

I'm not sure if I'm even trying the possible here as I have searched and not been able to find much at all.  However I figured it was worth asking here.
I have access to several dll's used by a program, I need to open a file using the program (for some reason it is completely non responsive unless you open it "within" the program itself) and so decided to browse the .dll files included.  Ive found a few functions which may carry out the function I need.  Is there a way of figuring out the inputs/outputs if I don't have documentation or a header file?
This is the next stage in a huge project I am working on at the moment and I've been banging my head against the wall all day trying to figure this out.
Thanks in advance for any help
Rik
That glass?
Thats glass is neither half full or half empty....
Its twice the size it needs to be

Yes, that makes sense. It also means that what you are trying to do is not likely to work. You have no way of knowing what the program does when opening the file, so guessing at using the DLLs is purely a shot in the dark without even knowing where the dark is. Even if you could find the function (assuming it's just one) that loads a file, how is the program supposed to use it now? That function has to be called from within the program. When you call it from LabVIEW you are not sitting inside the program's memory space, so it has no way of knowing about the file.
I would suggest, instead, to see if the program accepts command-line parameters. For example, does it accept a name of a file to open as part of launching it from the command line? If not, then you may need to resort to trying to control it via automation. If it has no built-in automation then you need to resort to using the OS to make pretend you're clicking buttons and typing text. This has come up many times before, and there have been numerous posts on this, so please do a search on controlling an external program from LabVIEW within this forum. You can call the Windows API functions to move the mouse to a specific location and click the button as well as typing text, or you can use third-part automation tools. One that I have used successfully is AutoIt. The search I indicated will yield other suggestions. 

Similar Messages

  • Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ?

    Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ? Please help me as its urgent.THanks for your help in advance.

    Hi Jay,
    SSIS can only recognize the absolute path of a XML Configuration file, the relative path is not supported. Furthermore, if the XML Configuration file is already generated, we can use the Environment variable package configuration type instead so that
    SSIS runtime automatically looks for the configuration file from the path defined in the environment variable. This is convenient when we need to deploy a package to different environment. We only need to define the environment variable for package configurations
    once on each server, and then the variable can be used by all the packages on this server.
    Regards,
    Mike Yin
    TechNet Community Support

  • How can I use Automator to extract specific Data from a text file?

    I have several hundred text files that contain a bunch of information. I only need six values from each file and ideally I need them as columns in an excel file.
    How can I use Automator to extract specific Data from the text files and either create a new text file or excel file with the info? I have looked all over but can't find a solution. If anyone could please help I would be eternally grateful!!! If there is another, better solution than automator, please let me know!
    Example of File Contents:
    Link Time =
    DD/MMM/YYYY
    Random
    Text
    161 179
    bytes of CODE    memory (+                68 range fill )
    16 789
    bytes of DATA    memory (+    59 absolute )
    1 875
    bytes of XDATA   memory (+ 1 855 absolute )
    90 783
    bytes of FARCODE memory
    What I would like to have as a final file:
    EXCEL COLUMN1
    Column 2
    Column3
    Column4
    Column5
    Column6
    MM/DD/YYYY
    filename1
    161179
    16789
    1875
    90783
    MM/DD/YYYY
    filename2
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    MM/DD/YYYY
    filename3
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    Is this possible? I can't imagine having to go through each and every file one by one. Please help!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

  • How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    Did you check the help page for Correct Camera Distortion and Process multiple file
    Correct Camera Distortion: http://helpx.adobe.com/photoshop-elements/using/retouching-correcting.html#main-pars_headi ng_5
    Process multiple files: http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f89cffc612e28adab65-7 fff.html#WS287f927bd30d4b1f89cffc612e28adab65-7ff6

  • How can i find my ipod when i dont have serial number

    how can i find my ipod when i dont have serial number

    What To Do If Your iDevice or Computer Is Lost Or Stolen
    If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T, Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. Lost or Stolen iPhone? Here’s What to do
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on MobileMe
      3. OS X Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Third-party solutions for computers:
      1. VUWER 1.5.4
      2. Sneaky ******* 0.2.0
      3. Undercover 4.7
      4. LoJack for Laptops Premium Mac
      5. STEM 2.1
      6. MacPhoneHome 3.5

  • HT1349 how can i reset security question when i dont have rescue email?

    how can i reset securty questions when i dont have rescue email?

    You'll have to contact Apple to fix. Contact numbers here:
    http://support.apple.com/kb/HT5699?viewlocale=en_US

  • How can i download imovie '11 if i dont have the latest mac software

    how can i download imovie '11 if i dont have the latest mac software
    and should i download the next version of mac software or does it slow the computer down
    thanks

    The easiest way is to install Mountain Lion, and then you can download iMovie 11. If your Mac is supported by Mountain Lion, performance should be fine.
    The other way would be to try to find a retail boxed copy of iLife 11 from eBay or Amazon. You can then install iMovie 11 up to version 9.04. But that is it, you cannot get 9.07 without at least installing Lion.

  • HT5312 how can i reset my security question i dont have a an optional rescue email adress

    how can i reset my security question i dont have a an optional rescue email adress

    You need to contact Apple. Click here, phone them, and ask for the Account Security team.
    (87718)

  • How can i find my ipod if i dont have any outer apple products

    how can i find my ipod if i dont have any outer apple products

    You don't need other Apple products. If you didn't set up "Find My iPhone" on it, you have no chance of tracking and finding it then.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • How can i use JWSDP1.6 from Ant tool to convert .wsdl file into Java class

    Hi All,
    i m very new in the development field.plese help me...
    i have a .wsdl file and i have to make some modification in the file and return this file with build file used in Ant tool.
    means my requirement is to conver the .wsdl file into java class,modify it and convert back to wsdl file.how can i do it using JWSDP1.6 and Ant tool.
    thanks in advance...
    Vikram Singh

    lemilanais wrote:
    hello!
    I have developpe an animation with flash. before give it to othe person in order to use it, i would like to secure it by integrated a security module inside the software.Secure it from what? Being played? Copied? Deleted? Modified?
    Because, i am a java developper, i have choose Netbeans 6.1 to secure it.That has to be the most random thing I've read in some time.
    do you know how can i do to integrate my animation .swf inside my java class?Java can't play SWF files and Flash can't handle Java classes, so what you're suggesting here doesn't make a lot of sense.

  • HOW CAN I USE TIME MACHINE TO BACKUP ONLY PART OF MY FILES ON EXTERNAL D?

    Hi, I am using time machine to back up all my files at the moment. but I want to get rid of video and photo material from my laptop and keep it on the external hard drive to which the time machine backs up my stuff.
    how can i do this without losing the video and photo files permamnently?
    thank a lot!

    nefsi wrote:
    doesn't time machine back up my files on the External hard disk?
    By default, Time Machine backs-up almost everything on your internal HD to your External HD. It can also back up things on an external HD, if you want it to.
    What I would like is, to find a way so that I could back up everything, but not have all the videos and photos I do not use often, on my laptop. instead I want to put them on the external hard drive and have time machine update all the other files.
    Yes, you can do that, but there are two considerations:
    You should partition the external HD so the TM backups are in one partition, and the other files are in the other partition. A partition (also called a volume), is treated like a separate disk for most purposes. See #3 in the Frequently Asked Questions *User Tip* at the top of this forum.
    You should find another way to back-up the videos and photos in that other partition, such as archiving them to CDs/DVDs.
    In other words, can Time machine back up only some of my files?
    Yes. You can exclude things from Time Machine. See #10 in the FAQ Tip. If you partition your TM drive, the other partition on it should be excluded automatically; but if it isn't, you can easily add it to the +Do not back up+ list in TM Preferences > Options.
    For detailed instructions on making another partition on your external HD, see #6 in the FAQ Tip. It shows how to add a TM partition to a drive that already has other data on it, but the procedure is the same.

  • How can i reset an ipad if if dont have the apple id

    i just wanna find out how can i reset this ipad i just bought it from a guy and it ask for a password and he doesnt knoe it and i am not able to do it

    With iOS 7, Find My iPhone includes a new feature called Activation Lock, which makes it difficult for anyone to use or sell stolen iPad.
    With Activation Lock, the Apple ID and password of original owner will be required to:
    1. Turn off Find My iPhone on your device
    2. Erase your device
    3. Reactivate and use your device
    http://support.apple.com/kb/ht5818

  • How can i find my iphone if i dont have the find my iphone app.

    How can i find my iphone 5 if i didnt download the find my iphone app.

    Click here for information.
    (94784)

  • How Can i Use Windows DLL in Forms 6i

    I want to use DLLs registred in Windows XP
    What i should i Do

    Hi,
    We have the same problem in our project . In this case we are upgrading from an older version of forms (3.0) to 6i. The UE worked fine in the older version, but now we get a NON ORACLE ERROR. Our DLL is written in MS-VC++ project.
    We'd like to know whether , besides the common version and platform, you have also written the DLL using MS-VC++ ; otherwise please tell us .
    Regards,

  • If I have a list of Vimeo videos on a webpage, how can I use just one video frame and have all videos play in that one frame?

    I am creating a page with a list of Vimeo video links. I want to have only one video frame on the page. So no matter which video link a user clicks on, the chosen video needs to play in that one video frame on the page. How do I do this in Muse?
    Thanks.

    You can use composition widget for this. Insert the video details in trigger container and then insert that corresponding vimeo video widget in that specific target container. So It would work like, users will click on different video buttons but the actual video will play on same frame which is actually a target container of composition.
    The ID that we use for vimeo widget cannot be used for different videos on same time , because every video shares its own ID and url. But you can surely try the above.
    Thanks,
    Sanjit

Maybe you are looking for

  • Problems bundling visa run time with installer

    I am trying to build an installer for an application that makes VISA read/writes through a serial port.  I have tried to create an installer for this application but I keep getting a cryptic error that then terminates LV.  I am experiencing the same

  • I tunes 8 wont install

    when the status gets to computing spaace requirments i get a error message sayin (could not acces network location.) i av tried to download previous itunes and it says exactly the same. please help as i cant use my ipod.

  • Installing Database 11.2.0.1.0  on Solaris 9 SPARC machine.

    Hi, I am installing db using ade copydb and than running startme , I am getting this error continously. ld.so.1: /ade_autofs/nfsdo_release_unix/RDBMS/11.2.0.1.0/SOLARIS.SPARC64/RELEASE/sqlplus/bin/sqlplus: fatal: libm.so.2: open failed: No such file

  • I can not activated my iphone

    Please help and quickly Can not activate the iPhone on iTunes on the iphone 4 ios6.0.1

  • How do you incorporate a vimeo movie into an existing slide show?

    Does anyone know how I can incorporate a vimeo movie into an existing slide show I have already created? I insert the code using the insert html function. The movie appears on the page, but I can't add it to my existing slide show. Any ideas how to m