Mechanisms to create ".dll"s other than Visual C++ 4.0

I�m new to this and I need to develop an application than needs to make a call to a native method... I�ve read all the JNI tutorial but I lack of Visula C++ to generate the ".dll" than I need to finally concatenate my whole application. What other ways there are to generate ".dll" files ? How you do it ?
I would be pleased with your help !!

You could try using gcc and cygwin(http://www.cygwin.com). It's all free, but will take a while to set up. This site has details on compiling the JNI DLLs: http://www.xraylith.wisc.edu/~khan/software/gnu-win32/

Similar Messages

  • I need to add a mileage calculation box to an existing form created by someone other than me. Please help, I am new to javascripting.

    I have the book 'Creating Dynamic Forms with Adobe LiveCycle Designer, but none of the javascript or formcalc script is working. Can someone tell me step-by-step how to go about adding this to the existing dynamic form?
    I added a small table on the existing subform, with the other 2 tables already in the form. This looked like a straight forward project. But, I have not any experience in java script other than googling for script and adding it to Adobe Acrobat fillable forms. So, I am sure I am going at this wrong.
    Respectfully

    Hi,
    can you provide the script you have tried and what exactly you want to do. What is the calculation you are trying to do?

  • Is there any way to tell "Create MP3 Version" where to create the files other than in the same folder as the songs you want to create the mp3 versions of?

    I am trying to get MP3 versions of my non DRM protected songs onto a DVD so I can import them into my cars "Music Register".
    There is no easy way to do this that I can see in Itunes . I follow this process..
    Highlight the songs I want to copy in Itunes
    Select Create MP3 version from main menu
    Open up Finder Window showing the Itunes folder with the m4a and MP3 files newly created..
    Go Up a directory or 2 to get the Artist 'folder'
    copy that folder to my external drive
    Delete the MP3 songs from the Itunes folder (I dont want duplicates showing) obviously
    Delete the M4a songs from the external drive....
    I have about 5000 songs so doing this manually is clearly a complete pain.
    I dont think you can force it to create the mp3 files anywhere other than in the current folder in itunes unless someone tells me otherwise 
    More likely does anyone know of any other software to do this with less effort...
    I confess to not being an Itunes fan at all I admit but I like the Match functionality so I keep it otherwise I would cheerfully chuck it in the bin...
    Thanks in advance...

    It appears I have figured it out. You gotta go down to where it says Destination and tell Lightroom to Organize into One Folder.

  • How to create FDM locations other than manually creatiion?

    In FDQM how will you create the locations? Other than manually how will you create locations?

    Why?
    The point of the API is to give you a 'black box' hook into the application without you having to really understand how it does it's work. Assuming you make the proper API calls, they will create everything properly.
    Nothing wrong with using the API, that's why it is there.
    Edited by: beyerch2 on May 3, 2012 9:28 AM

  • Create report container other than default report server

    Hi,
    is it possible to create a asp .net website that contains all reports in SSRS 2008 Report Server? i want to customize the we to be more user friendly and users who access to the website will view their designated reports.
    thanks,
    Addin
    AddinGanteng

    Hi ,
    If you want to call your ssrs reports in asp.net application then you can simply use report Viewer control.
    Design SSRS Report
    Step 1
    Design your SSRS report by using report designing tools. You can use Visual Studio or ReportBuilder.
    Step 2
    Include a Report Viewer in  .aspx page.
    Step 3
    Include a Script Manager in that page [if required].
    Step 4
    Include a button.
    you can below link;
    http://bhushan.extreme-advice.com/call-ssrs-report-from-asp-net/
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

  • Is there a way to create a file other than mp4 with iMovie under Maverick

    Since the installation of the last version of iMoviei I noticed that the creation of a sharing file is only in mp4 type. Is there a way to create, for ex a mov file??
    Thanks for reply
    Daniel Goyens

    It doesn't seem like it.
    If you share to iTunes you get an .m4v. Maybe you can open this in Quicktime and convert to .mov.

  • How to create used vehicle other than in velo tcode

    Hello All,
    I am new to VMS and i want to know how do we create a used vehicle for action (CRUV).  in a report and then i want to create a purchase order for the vehicle created using trade in action ( POEU ).
    Please let me know if any one has worked on it .
    Thanks,
    Ravi Aswani

    Hi Sagarika,
    use scc4 for creating a new client
    and login to the new client that u created using sap* and pass as password
    use sccl over there to do a local client copy
    sccl for copying local client
    scc9 for remote client copy
    Merlin

  • How to create a client other than 800 in sap 4.7E version?

    helo can any body tell how to create another client in 4.7 version?points r assured.

    Hi Sagarika,
    use scc4 for creating a new client
    and login to the new client that u created using sap* and pass as password
    use sccl over there to do a local client copy
    sccl for copying local client
    scc9 for remote client copy
    Merlin

  • Cannot access created sharepoint site other than server machine

    I have installed SP2013 in windowsserver2008, i have chosen standalone server while configuring the server. I have created a toplevel
    site using Central Admin with Admin permissions. I opened the newly created site in the browser successfully. But i cannot connect this site from another machine using browser, i can able to open the site in the same installed server not in another machine
    using a browser. Can you please suggest me how can i share the created site to users to get work around.

    This sounds like a networking/dns issue and nothing related to SharePoint. Once your networking is setup correctly, you should be able to access the farm with the url http://{Server Name}/. But there has to be a dns entry for [Server Name] on your
    domain controller that points to the ip address of your SharePoint server and the SharePoint Server has to be reachable over the network on port 80.
    Doug Hemminger http://www.sharepointdoug.com
    What is the way to find out the network/ dns issue?
    And how to solve if any of this has >

  • Create Movie for other than QT

    We use Easy Worship at our church, which uses Windows Media Player. I can create a movie using FCP or FCE and burn it using IDVD and play it that way. But how can I create it so I can network it to the soundbooth into the Easy Worship Software and play it without burning it to DVD?

    www.flip4mac.com

  • How to create dll in Visual Studio 2008 in Visual C++

    Hello,
    I have insatlled Visual Studio 2008. I have to create DLL in Project
    type Visual C++.
    Which Template i have to select to reate dll, MFC DLL or Class
    Library?.
    I have to call or import this dll in Windows Forms Application. How
    can i do this. Please give details procedure to do this.

    If we look at how  AFX_CLASS_EXPORT and AFX_CLASS_IMPORT  are defined in afxv_dll.h we see the following.
    #define AFX_CLASS_EXPORT __declspec(dllexport)
    #define AFX_CLASS_IMPORT __declspec(dllimport)
    So, when exporting our classes from our DLL we want the class declarations from the DLL to look like this:-
    class __declspec(dllexport) CMyClass : public CObject
    And, when importing our C++ classes into our application we want the class declarations from the DLL to look like this:-
    class __declspec(dllimport) CMyClass : public CObject
    OK, so here's how I do things.
    In the stdafx.h file for the export DLL, include two #defines at the bottom of the file like this:-
    #define _MYLIB_DLLAPI_
    #define _MYLIB_NOAUTOLIB_
    Now, in the main header file for your DLL, say mylib.h (the main 'point of entry' header for your DLL that you will include in you application later), add the following at the top:-
    // The following will ensure that we are exporting our C++ classes when
    // building the DLL and importing the classes when build an application
    // using this DLL.
    #ifdef _MYLIB_DLLAPI_
        #define MYLIB_DLLAPI  __declspec( dllexport )
    #else
        #define MYLIB_DLLAPI  __declspec( dllimport )
    #endif
    // The following will ensure that when building an application (or another
    // DLL) using this DLL, the appropriate .LIB file will automatically be used
    // when linking.
    #ifndef _MYLIB_NOAUTOLIB_
    #ifdef _DEBUG
    #pragma comment(lib, "mylibd.lib")
    #else
    #pragma comment(lib, "mylib.lib")
    #endif
    #endif
    Now, just declare all the C++ classes you want exported from the DLL like this:-
    (Note: Any C++ classes not declared with MYLIB_DLLAPI will not be exported from the DLL)
    class MYLIB_DLLAPI CMyClass : public CObject
    regards,
    Matt John
    complete variety of quilts is availabale here!
     PR: wait...
     I: wait...
     L: wait...
     LD: wait...
     I: wait...
    wait...
     Rank: wait...
     Traffic: wait...
     Price: wait...
     C: wait...

  • SD Partner Function other than "Sold To, Ship To etc.."

    Hello BI fam,
    What is the best approach in extracting additional partner funtion in SD (ex: Contacts, External Buyer) with mostly created with "Z" other than your usual suspects (Ship to, Sold To etc.).  We are attempting to query reports with total sales by External Sales person.  All are being extracted via standard cubes from SAP.
    Any help is greatly appreciated.
    Cheers,
    EG

    he is regular customer with account group 0001,
    intresting point  is that with the same account group (0001),for some customers it showing sold to,ship to(in sales order),but for some customers (for some orders)  it not showing sold to ,ship to.
    Edited by: raja kumar reddy on Jun 22, 2010 11:00 PM
    Edited by: raja kumar reddy on Jun 23, 2010 1:23 AM

  • Creating dll, lib, fp's to be used in other CVI programs

    Disclaimer: I am a self-taught CVI (and C) programmer in which I learned from examples, NI forums, and google  
    Main question: What is the proper way to create a dll, lib, and fp to be used in other CVI programs?  What I am doing is creating a "wrapper class" called PowerSupplies (and other wrapper classes) that takes arguments from the user and call the correct functions based on the power supply model type.
    Inside my Power Supplies project, I have included each power supply's function panel.  In the C file, I have added my functions and include file.  for example, here's one
    int _VI_FUNC Supply_InitSupply (int devs, char *resourceName, int IDQuery, int resetDevice, int *instrumentID) {
    switch (devs) {
    case AG663XXA:
    return ag663xxa_init(resourceName,IDQuery,resetDevice,instrumentID);
    case HPE364XA:
    return hpe364xa_init (resourceName, IDQuery, resetDevice, instrumentID); //Has Voltage and Current
    return -1;
    and then of course at the bottom, there resides the DllMain and DllEntryPoint functions.  What the heck are these, and am I suppose to rename these?  I ask because I created another wrapper classes with DMM's and I get the Multiply Defined Symbol Error with these two functions when using together in a separate program.
    Additionally, I have created a header file, which can be included in other CVI programs to know what functions there are.  I noticed I could "Generate Prototypes" after the fact and wasn't sure if this was the correct way or not.  My header file is below:
    #ifndef __PowerSupplies_H__
    #define __PowerSupplies_H__
    #ifdef __cplusplus
    extern "C" {
    #endif
    //==============================================================================
    // Include files
    #include "cvidef.h"
    #include "ivi.h"
    //==============================================================================
    // Constants
    #define POWER_SUPPLY_ENUM_FACTOR 200
    typedef enum
    AG663XXA = 200,
    HPE364XA
    } power_supply_type;
    static IviStringValueTable power_supply_table =
    {AG663XXA, "AG-663##X"},
    {HPE364XA, "HP-E364#A"}
    //==============================================================================
    // Types
    /************** Static Function Declarations **************/
    /************** Global Variable Declarations **************/
    /************** Global Function Declarations **************/
    int _VI_FUNC Supply_InitSupply(int devs,char *resourceName, int IDQuery, int resetDevice,int *instrumentID);
    /*commented out long list of functions for this forum's sake*/
    int _VI_FUNC Supply_Close(int devs, int instrumentID);
    int __stdcall DllMain(HINSTANCE hinstDLL,DWORD fdwReason, LPVOID lpvReserved);
    int __stdcall DllEntryPoint(HINSTANCE hinstDLL,DWORD fdwReason, LPVOID lpvReserved);
    #ifdef __cplusplus
    #endif
    #endif /* ndef __PowerSupplies_H__ */
    I then have built it as a static library and dynamic link library.  I then generated a Function Panel from the header file with Prefix Supply_ and Qualifier as _VI_FUNC.
    All worked nice and dandy, copied files to appropriate places in the IVI directory.
    In my other CVI program in which uses these "wrapper classes", I have included the function panel's that I created.
    Well with the error i mentioned above about Multiple Defined Symbol, I have come here to figure out what went wrong.
    What are the DllMain and entry point functions?
    Is my c and h files created correctly with proper prefixs?  I tried extern once, and got errors I believe.
    Does the function panel use the .lib files? Am I going about this correctly or is there an easier/more efficient way?
    Any and all advice is greatly appreciated!!!
    Thanks!

    There's info in the CVI help on how to make DLL,s in CVI.
    There's quite a bit more to it than you might imagine at first.
    I've pasted a DllMain that I wrote.
    Some key issues:
    You can put a type library into your DLL, that way if you add the DLL as a reference in Visual Studio, VS will know the prototype without your having to bring in a header file or import library of any kind.
    CVI created DLL's are not "active" DLL's and should not be registered with regsvr32, this will just make a mess.
    You can tell CVI what you're exporting in a couple of different ways, I always use "symbols marked for exports"  and use the macros DLLEXPORT DLLSTDCALL, but NI says using a header file is preferable, I forget why.
    The DLL search path is a wonderful thing - it's easy to wind up using a different copy of the DLL than you intended due to the way windows searches for the DLL.  Different versions of windows have slightly different rules.  Some allow redirection to help you manage the search path.
    CVI will not automatically switch between debug and release versions of the import library - you have to call out the correct version in your project and link it to any executable using it. 
    You can do "dynamic" loading / linking of a CVI DLL without binding to an import library using GetProcAddress function, but it's easier to use the import library.
    A DllMain isn't necessary but is good practice.
    Good luck.
    /*== PRAGMAS =====================================================================================================*/
    #if defined (_CVI_) && (_CVI_ >= 850)
      #if defined _CVI_DEBUG_
        #pragma C99_extensions_on  
      #endif
    #endif
    /*== INCLUDE FILES ===============================================================================================*/
    #include <windows.h>
    #include <userint.h>
    #include <ansi_c.h>                                                                                     
    #include <cvirte.h>
    #include <stdio.h>
    #include <utility.h>
    #include <analysis.h>
    #include <toolbox.h>
    #include <formatio.h>      
    /*== MACROS ======================================================================================================*/
    #define MAX_STRING_SIZE 256   
    #define MAX_MESSAGE_SIZE 256
    #undef  MAX_LOG_MESSAGE_SIZE
    #define MAX_LOG_MESSAGE_SIZE 256                                                
    #undef  WriteFile   // To deconflict formatio (CVI) version of this function
    #undef  ReadFile    // To deconflict formatio (CVI) version of this function             
    /*== TYPEDEFS ====================================================================================================*/
    // Data type providing reference structure for thread local storage (TLS).
    typedef struct ThreadData {
      CHAR ErrorString[MAX_STRING_SIZE];
    } ThreadData, * LPTHREADDATA;
    /*== MODULE SCOPE VARIABLES ======================================================================================*/   
    static FILE * logFileStream;                      
    static HANDLE hModule = INVALID_HANDLE_VALUE;
    /*== GLOBAL (HEAP) VARIABLES =====================================================================================*/
    // TLS index
    DWORD g_dwTlsIndex;
    /*== PROTOTYPES ==================================================================================================*/    
    /*== CODE ========================================================================================================*/  
    * Function: DllMain
    * Description:
    *    DLL Main entry point.  Provides for DLL initialization.  
    * Limitations:
    * Parameters:  System defined.
    * Return Value:
    BOOL WINAPI DllMain (HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved) {
      LPTHREADDATA lpThreadData;      
      switch (fdwReason) {
        case DLL_PROCESS_ATTACH:
          // Allocate a TLS index.
          if ((g_dwTlsIndex = TlsAlloc ()) == 0xFFFFFFFF) return FALSE;
          hModule = hInstDLL; 
          // No break - fall through and initialize for main thread
        case DLL_THREAD_ATTACH:
          lpThreadData = (LPTHREADDATA) calloc (1, sizeof (ThreadData));
          if (lpThreadData != NULL) TlsSetValue (g_dwTlsIndex, lpThreadData);
          lpThreadData = TlsGetValue (g_dwTlsIndex);
          lpThreadData->ErrorString[0] = '\0';     
          break;
        case DLL_THREAD_DETACH:
          // Release the allocated memory for this thread.
          lpThreadData = TlsGetValue (g_dwTlsIndex);
          if (lpThreadData != NULL) free (lpThreadData);
          break;
        case DLL_PROCESS_DETACH:
          // Free the allocated memory for this thread (main thread).
          lpThreadData = TlsGetValue (g_dwTlsIndex);
          if (lpThreadData != NULL) free (lpThreadData);
          // Release the TLS index.
          TlsFree (g_dwTlsIndex);
          break;
      return TRUE;
    } // end, DllMain
    INT DLLSTDCALL DllEntryPoint (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
      // Included for compatibility with Borland
      return DllMain (hinstDLL, fdwReason, lpvReserved);
    } // end, DllEntryPoint
    implement dll functions like this:
    int DLLEXPORT DLLSTDCALL myFunc (int iParam) {
      return 1;

  • Creating dictionary project in other than default datasource

    I want to create a dictionary project in other than default datasource . Every time I create a dictionary project and create archive and deploy it ...It creates tables in SAP default datasource MAXDB . I have created another datasource pointing to MSSQL in visual admin . I want dictionary project to be deployed to this datasource without making MSSQL  as default datasource . Can anyone please let me know how to do this ?
    Thanks in advance
    Bhat

    Hi Alka,
    from your post, it is not entirely clear to me what you are atempting to do.
    1) Do you need help with accessing tables in a non-default schema?
    2) Do you want to determine all tables in the default schema?
    If 1), please follow the hints given by Vladimir Pavlov.
    If 2), currently, the method DatabaseMetaData.getTables() is unfortunately not supported in Open SQL/JDBC. We are currently preparing a new download of the NetWeaver Java EE 5 edition. In this version, the getTables() method will be supported.
    Or do you just want to check for the existence of a specific database table in the default schema?
    I hope this helps,
    Best regards,
    Adrian

  • When in mail, i would like to move emails to different folders other than the inbox, sent and trash can a folder be created?

    When in mail i would like to move my emails to a different folder on mail account other than the inbox, sent and trash options, can i  create a new folder?

    The suggestion above is for MailBoxes on the Mac in the mail app and have nothing at all to do with the iPad. I think that you are asking about the iPad mail app.
    You need to have an IMAP email account in order to create additional mailboxes on the iPad.
    If you go to your email account in the Mail app and look at the window where your inbox, trash folder and sent folder are - if there is an Edit button at the top of the window - tap that and then tap Add Mailbox at the bottom.
    If the Edit button is not there - you cannot create folders on the iPad. Your email account is not IMAP. Only IMAP email accounts can create folders on the iPad. Any folders that you would already have in an IMAP account would sync to the device as well.

Maybe you are looking for