Error in using  the title of the JFrame window as handle

Hello,
To get the handle of JFrame, i used FindWindow. I used as given below in JNI.
JNIEXPORT void JNICALL
Java_T_Tmanager_init1(JNIEnv *env, jclass cla,jstring str)
const char* cw = env->GetStringUTFChars(str, 0);
     HWND hwnd = FindWindow(NULL,cw);
     env->ReleaseStringUTFChars(str, cw);
     InitTwain(hwnd);
When i tried to create dll file, it is showing the following error :
TmanagerImpl1.obj : error LNK2001 : unresolved external symbol impFindWindowA@8
sample.dll: fatal error LNK1120 : 1 unresolved externals
How to solve this problem? Help me in solving this.
Thanks,
Sri

plz help me !!!!!

Similar Messages

  • Error while using the export utility

    Dear all of
    I am getting the following error while using the export utility in the Oracle database 9i
    I have run the catexp.sql and catrm.sql suggested by the experts in this forum. But it did not help me. Kindly help me in solving this issue.
    FOLLOWING ARE THE ERROR ----------------------------
    EXP-00008: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00024: Export views not installed, please notify your DBA
    EXP-00000: Export terminated unsuccessfully
    -----------------------------------------------------------------------------------------------------------------------------------

    Can you go to this discussion please.
    Re: Getting a strange error for Exp
    -aijaz

  • ARM approval error after upgrading to SP14: Database error while using the secure store.

    Dear GRC experts,
    After upgrading GRC 10 to SP14, assigning manual passwords during the approval of a request, the approval process is failing.
    Here is the scenario; your advice will be appreciated.
    Task: Manually assign passwords to multiple systems contained in the request
    Where: On the access request, go to “User System Details” tab
    Issue: After approving/submitting the request, the error “Database error while using the secure store” is generated
    Logs: Nothing on transactions SLG1 or ST22; however ST11 shows the error attached below:
    This is the failed approval of the request:
    Other scenarios executed as a workaround, and passed the password assignment this time:
    The approval will work if only one password is assigned to any of the given systems. The rest of the systems get an auto-generated
    password.
    ARM also accepts multiple passwords when the requestor assigns passwords on the “User System Details” prior submitting a
    request. The GRC admin can approve once reached for system approval.
    AS FYI, “Confirm Password” is only required when creating the request but not on any other stage.
    System information:
      -Netweaver 7
      -GRCFND_A SP14
      -GRCPINW SP13
    Regards,
    Gustavo

    SAP just delivered a note to fix this issue. The number is 2022294.

  • Multivalue error when using the previous() function

    I am getting a multivalue error when using the previous() function on a dimension object in the report.  I thought that the previous function was supposed to look at the current report and then look at the previous record's contents.  How could this possibly give me a multivalue error when the value is clearly output in the previous row?  Anyone have any ideas?
    By the way, this is a valuable function for the types of reports that I design.  The next() function would be even more valuable.
    Thanks for your help.

    Hi Michael,
    Could you please test the following solutions it might help you to resolve the issue.
    Solution1:
    Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
    Solution2:
    Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
    Regards,
    Sarbhjeet Kaur

  • TS1702 unknown error when using the app store

    unknown error when using the app store

    Im sorry I will try to be more clear.. and I appreciate all of ur input. Wi-fi works fine.. everything opens and functions fine on the I pad. The problem is I will click on app store or the I tunes store...it opens fine and I am able to look at and download apps  etc... but after being in the appstore or I tunes store for a couple of minutes I get kicked out to the I pads home screen. Its like pushing the home button but I didn't. It only seems to do this when im in the app store or I tunes store. I have been using the chrome browser and other downloaded apps such as ebay just fine with out this problem occurring. Not sure about safari as I dont use it and use chrome instead. Um I don't think the home button its self is faulty because it works fine and as stated before this only happens when I am in the appstore or I tunes . I've only had this I pad 1 64gb wi-fi for a few days .. I got it off of ebay it was stuck in restore mode getting error code 1611.  I was able to successfully Restore it with I tunes and it running ios 5.1. Seams to work great besides the problem being mentioned.

  • Intermittent  error when using the Disco Viewer client

    Hi, I have a user receiving the following intermittent error when using the Discoverer Viewer client:
    “The application encountered an invalid state.
    - Discoverer Beans XML Exception. Method: findNode Class: XMLUtils Error: Cannot find parent node. Parent element does not exist in XML document, looking for database_account/eul
    OracleBI Discoverer Viewer was unable to find the necessary data for displaying the results of this event. Please correct any errors and try again.”
    Any idea what this might be? Any help or direction would be very much appreciated! Thank you!

    Hello
    Is this related to a single machine or common to a single report or is it purely random?
    I did a search on your behalf and came up with nothing related to this error. You may therefore need to raise the problem with Oracle Support.
    Just out of curiosity which version of Discoverer are you using?
    Michael

  • An impersonation error occurred using the security context of the current user. -- Report server is on remote server and file share folder is on local server

    I have deployed a report on the server (e.g. remoteserver\reports) from my local machine. I opened the report in browser in my local machine and created a new subscription with windows file share delivery option.
    But its giving an error "Failure writing file \\localserver\subscriptions\Report1.xls : An impersonation error occurred using the security context of the current user." Here "subscriptions"
    is the folder which I have created in my local machine.
    I followed the instructions found in the link "http://msdn.microsoft.com/en-us/library/ms157386.aspx"
    Please help to solve this issue.

    Hi,
    Thank you for your reply.
    I have followed the same process. The credentials which I have given are same as my PC. But I am getting the same error. Can you please clarify the statement "Service
    account that is using for file share subscription should have write access to shared folder."
    given in the above link?
    I am the one who created the folder and subscribing the report, so probably I have the full write permissions to the shared folder. What is the service account in this context?
    I think the problem is, I am deploying the report on the server and creating the shared folder in the local machine. I tried giving shared folder permissions to the user on the server. But my local machine is in local domain and I cant access the users on
    the remote server. Do I need to create a shared folder on the server? I am new to SSRS. Please help me.
    PS: I have assigned with all roles viz. Browser, Content Manager, Publisher, Report Builder etc. and My Role name (WEBSERVER\User)
    is different from my local user name (domain\username) in domain.

  • Window.open() will open separated windows even using the same window name?

    Hi, I have below two test html pages as below(could not find a way to insert a attachment, so paste the content below). The reproduce step is as below: (My environment is Win8.1 with IE11)
    1. Open print_test.html page in IE, here we call page1.
    2. Click "File -> New Session" menu from IE menu bar, which will open another new IE window which display another " print_test.html" page, here we call page 2.
    3. Click "Print" hyper-link in page1, and a popup window which display "print_test_open.html" page, counting begins from 1, here we call it page 3.
    4. Click "Print" hyper-link in page2, and another popup window which display "print_test_open.html" page, counting begins from 1, here we call it page 4.
    However, the behavior above is totally different on my Win7 (64 bit) with IE 10, which is in step 4, when I click "Print" hyper-link in page2, instead of open a new popup window, the window for page 3 will be reused and counting will restart from
    1.
    I googled and know from MDN for window.open() and get below information to indicate that in my test pages, I use the same window name, so that the existed window with the same name will be reused is as expected, but however, why IE behave differently in
    Win8.1 with IE 11? Why the existed window could not be reused anymore?
    If a window with the name strWindowName already exists, then, instead of opening a new window, strUrl is loaded into the existing window. In this case the return value of the method is the existing window.
    The behavior in Win8.1 + IE 11 is similar with what Google Chrome does, and Chrome's explanation is that two separated window using separated processes which do no share information, so that even using the same window name. twp separated windows will
    popup.. So I am confused here, IE 10 and IE 11 are both using multi-process mechanism right? I saw from the Windows Task Manager, when using "File -> New Session" to open another print_test.html page in step 2. both IE 10 and IE 11 are opening
    4 iexplore.exe processes, two of them are 64 bit, and two of them are 32 bit. I can't see any configuration difference between these two envs, but why the behavior is so different? 
    Could anyone give some help and clarify here? Great thanks in advance.
    Oh, btw, another colleague can reproduce the issue (open separated windows even using the same window name) in his Win7 64 bit with IE 10 env, but could not reproduce in his Win 32 bit with IE 10 env... Hope this information could also do help.
    ======================== Test pages ===============================
    (1) print_test.html
    <!DOCTYPE html>
    <html>
    <head>
    <title>Print test</title>
    <head>
    <body>
    <h1>Print test</h1>
    <p><a href="javascript:void(0)" onclick='window.open("print_test_open.html", "test");'>Print</a></p>
    <p><a href="javascript:void(0)" onclick='window.open("print_test_open.html", "test"); myWindow.location.reload(true);'>Print (force refresh)</a></p>
    </body>
    </html>
    (2) print_test_open.html
    <!DOCTYPE html>
    <html>
    <head>
    <title>Open</title>
    <head>
    <body>
    <h1>
    <div id="count">Test</div>
    </h1>
    <p>Test</p>
    <script type="text/javascript">
    var e = document.getElementById("count");
    sessionStorage['count'] = 0;
    function timedCount() {
        i = sessionStorage['count'];
        i++;
        sessionStorage['count'] = i;
        e.innerHTML = "Count: " + i;
        setTimeout(function(){timedCount()},100);
    timedCount();
    </script>
    </body>
    </html>

    Hi,
    please try in noAddons mode and with the IE Popup blocker turned off. Also ensure you are using the default IE Security zone settings. Internet Options>Security tab, click "Reset all zones to default"
    To debug your scripts in IE11.
    Tools>Internet Options>Advanced tab, check "Always record developer console messages".
    start your test and display the developer tool console to display suppressed errors and warnings.
    (I don't see where myWindow is assigned).
    "If a window with the name strWindowName already exists, then, instead of opening a new window, strUrl is loaded into the existing window. In this case the return value of the method is the existing window."
    window.open has an optional 'replace' parameter...
    http://msdn.microsoft.com/en-us/library/ie/ms536651(v=vs.85).aspx
    to reuses a tab or window
    window.open({url},[name],[placement],[replace])
    If possible can you please provide a publicly accessible link to your test pages as we need to inspect the response headers to monitor what is cached.
    or
    f12>Networking tab, click 'Start' button, then proceed with your test plan.
    Regards.
    Rob^_^

  • How to use the Latest End to handle overdue task?

    Experts,
      How to use the Latest End to handle overdue task?
      Thanks you very much!
    Ken.li

    Hi KL,
    could you give more details to get more from the Forum Experts.
    Just to give you an example. If you using a User Decision step and you want a Deadline to be set, click on the Latest End tab for the User Decision Step, there is a Refer/Date/Time column, list out 'Work item creation'.
    Below you would find Time column, enter appropriate period.
    If you want a message to be escalated to someone after the period that you entered above has passed, you can enter the recipient in the column 'Recipient of message'.
    Hope it helps.
    Aditya
    P.S - how good your query is, better answers you can expect from others.

  • How can I use the MS Windows Key in Linux

    Hello!
    I'm using KDE 4.3 and want to use the MS Windows Key to open the KDE start menu.
    I tried to add the Windows Key by pressing as a "KDE Application Launcher" hotkey, but the window key wasn't accepted as a hotkey.
    Is it possible to add this key as a hotkey?
    Thanks for help!
    Best regards,
    Flasher

    I have the following line in my .xinitrc:
    /usr/bin/xmodmap -e "keycode 133 = F30" &
    ...where keycode 133 is my win key. I assign it to F30 (it can be any number besides 1-12, I guess), and then it's just a matter of configuring escape key (in your case, it'll be kde start menu) to F30.

  • If my Adobe Muse and Air apps are  both up to date as of today and I cannot open a Muse file, what are my options? I get an error message regarding the Progress Window showing and then Muse crashes.

    If my Adobe Muse and Air apps are both up to date (as of today) and I cannot open a Muse file, what are my options? While Muse is relinking assets I get an error message regarding the Progress Window "showing" and then Muse crashes.

    Hi there,
    Do you get this error while opening a particular file or all files?
    Please try opening a different .muse file, and check if it does the same?
    Ar you opening a .muse which is saved on a network drive?
    Thanks.

  • Making the JFrame window appear at center of screen

    How can i making the JFrame window appear at center of screen, just like JOptionPane?

    Toolkit tk = Toolkit.getDefaultToolkit();
         Dimension screenSize = tk.getScreenSize();
         int screenHeight = screenSize.height;
         int screenWidth = screenSize.width;
         setLocation((screenWidth - framewidth)/2, (screenHeight-framehight)/2);
         setSize(framewidth,framehight);;

  • I want to use the full windows 10 and customize it to see how i like it but i need to activate windows

    I want to use the full windows 10 enterprize and customize it to see how i like it but i need to activate windows 

    Hi,
    Windows 10 full version has not been released at this moment, as mentioned in the first reply, you can use the Windows 10 Technicla Preview, a product key is not required for this software, you can get latest news by subscribing
    Windows IT Pro Insider
    Yolanda Zhu
    TechNet Community Support

  • Content search is it normal to get an error when using the PublishedDateOWSDATE (blog) property

    basic use of Content search employed on a single blog
    I use the template called 2 lines. First line is for the title, second line I would like to have either the published date or the categories (of the blog). While the latter is more complicated, I thought the date was fairly simple.
    I have placed PublishedDateOWSDATE and when I saved, I got the error message 
    Object does not support property or method 'indexof' (corerender: {path}item-twolines.js)
    What am I doing wrong?

    Hi suxxxann,
    Let's verify the followings:
    Whether you used a custom display templete for the Content Search web part.
    Whether you mapped the managed property to the associated crawled property.
    I did a test, however, I couldnot reproduce your issue. My steps are:
    Create a column in a library, and upload some documents into it.
    Do a crawl for my content source, then create a managed property called "Test" and map it to the related crawled property.
    Create a page, insert a Content Search web part.
    Edit the Content Search Web Part. Expand the Display Templates section, Item: Two lines.
    Expand Property Mappings, Line 1: Title, Line 2: Test.
    Click OK, and save the page
    In my testing, everything worked well. Please try to do as my above steps, compare the result.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Program error when using the Eyedropper tool on Win8/Photoshop CC (14.2.1)

    After a year of using Photoshop CC (with many errors I still have to cope with) there is a new one. Whenever I use the color picker I get an error message, that the quest can not be done for a program error. I click close and I can use the new color but I can not see it in the tool bar preview. This really disturbs my flow while working a great deal (always clicking the error message away, never having a color preview). I am annoyed paying 25 € per month for so many error, just because Photoshop is considered a standard in the industry.

    First Part System Info:
    Adobe Photoshop Version: 14.2.1 (14.2.1 20140207.r.570 2014/02/07:23:00:00) x64
    Operating System: Windows 8 64-bit
    Version: 6.2
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 2
    Logical processor count: 4
    Processor speed: 2494 MHz
    Built-in memory: 3798 MB
    Free memory: 1788 MB
    Memory available to Photoshop: 3114 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    Font Preview: Medium
    TextComposer: Latin
    Display: 1
    Display Bounds: top=0, left=0, bottom=1080, right=1920
    OpenGL Drawing: Enabled.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Drawing Mode: Basic
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    NumGPUs=1
    gpu[0].OGLVersion="3.0"
    gpu[0].MemoryMB=1962
    gpu[0].RectTextureSize=16384
    gpu[0].Renderer="Intel(R) HD Graphics 4000"
    gpu[0].RendererID=4416
    gpu[0].Vendor="Intel"
    gpu[0].VendorID=4318
    gpu[0].HasNPOTSupport=1
    gpu[0].DriverVersion="10.18.10.3316"
    gpu[0].Driver="igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10 iumd32"
    gpu[0].DriverDate="20131001000000.000000-000"
    gpu[0].CompileProgramGLSL=1
    gpu[0].TestFrameBuffer=1
    gpu[0].OCLPresent=1
    gpu[0].OCLVersion="1.2 "
    gpu[0].CUDASupported=0
    gpu[0].OCLBandwidth=0
    gpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.30 - Build 10.18.10.3316"
    gpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[1447]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[96]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[4096]
    gpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[4096]
    gpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[64]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1

Maybe you are looking for

  • How to access onActivityResult() in nativeExtension Activity??

    hi.. I want to access method in native extension activity.. I call startActivityForResult() method for execute other activity.. but it can't receive return value.. because startActivityForResult method is called in activity.. how to get result in nat

  • Problem Getting Thread to Stop

    Hello, I am simulating a race. When the winner has been determined, I need to stop the other threads since the race is over. Here is the code that I have with regards to stopping the threads: public void simulateTravelTime() { try { Thread.sleep((int

  • ExportToDisk as PDF scales report

    Hi all. I've developed a little system service using Visual Studio pro 2008 with CR 2008 Basic for VS2k8 that shall export a small list of reports as PDF files at night. When I open the reports in Crytsal Reports 9 the reports are shown correctly, wh

  • How to send data to textbox with spaces

    <html> <head> <title> jsp code�..</title> <body> <% String temp=�have a nice day�; %> // in my project at Runtime i will assign data to temp <h1>output in the textbox</h1> <input type="text" name="a1" value=<%=temp%> /> // here the data in temp shoul

  • Previous system folders hav 10gb on an 80mb disk  could not repair vol

    I'm trying to install Virtual PC. It seems to hang and the reason I suspect is there isn't enough disk space. Can I delete the previous system folders? I shouldn't need them for anything I can think of. There are two of them 5gb each. I have another