Enumwindows in adobeX

I had an  adobe plug-in,
when I  open a  pdf file  with IE application,  I had called the enumwindows function to get  handle of  IE Frame window.
but I can not get this handle.
I had checked it, if I  set uac is "Never notify me".  restart the machine , I can get the handle of IE Frame window by calling enumwindows.
but if  I set uac is   "default - notify me only when programs try to make changes to my computer" , I can not get the handle.
thanks any help.

Try disabling Protected Mode in the Preferences of Reader X. This setting is specific to user.

Similar Messages

  • AdobeX problem - opening/printing documents

    I installed AdobeX and am having a problem opening documents through my
    company websites to print out.  I have uninstalled and reinstalled it, still
    does not work.  I have run the Repair program, that still does not work.
    I would love to reinstall the older version but it is no longer on my computer.
    Can someone please help?  Thank you.

    Thank you a lot Brad!!
    We use Office 2003 and the note 549610 solves our issue!!
    Best Regards.

  • Cannot print with adobex

    I have winxp.  I cant always print with adobex .  adobe thinks its printing but nothing goes to printer.  I have an epson workforce 500.  I tried all the fixes that adobe recommended.  I even uninstalled my printer & reinstalled.  I can print pdf from some sites but not all. I tried downloading an older version but adobe says I already have a new version & stopped download.  What do I do now?

    Hi Robert,
    Please try the solutions mentioned below -
    Solution 1 :-
    Repair Adobe Reader, Help (Menu) -> Repair Installation.
    Solution 2 :-
    Try to print as Image, Quick fix | Print PDF as image | Acrobat, Reader
    Solution 3 :-
    Update the printer driver, please refer to this KB doc. for the troubleshooting steps Troubleshoot PDF printing | Acrobat, Reader
    Let me know if the issue persist.
    Regards,
    Aadesh

  • When I save a PDF as an Excel File, all of the data in the PDF is put into one column (AdobeXI)

    Hi, thanks for taking the time...
    I'm running a machine with Windows 7, Office 2010, and Acrobat XI.  When I save a specific PDF as an Excel workbook, all of the data in the original PDF is sorted correctly in four columns.  When the same task is performed on this file on another user's machine, all of the data is sorted into one column.  The user has the same versions of Windows, Office, and Acrobat.  I've attempted the "Repair installation" option but the problem persists.  Any suggestions?  Thanks again for helping,
    -E

    Thanks for the quick reply.  I figured out how to get the desired results by using tagging.  For anyone who may reference this post in the future, I went to "Customize" in the top right corner of Adobe, then selected "Create new tool set...", looked under "accessiblity and found the "tag" option.  Hit ok, tag is added to the toolbar.  Then I highlighted the dataset in the PDF that was relevant to the output format, then clicked "tag", saved as spreadsheet.  Sorry I can't provide more details on how tagging works or if there's a more elegant solution available, but I'm sure one's out there.

  • Since I installed adobeX when I try to open a pdf file I get an error message

    message "adobe cannot locate a DDE server".   But it works OK when I use Chrome, but not when I try to open a file on my hard drive or while using MS IE.

    You need to get a new copy of the PDF.

  • Java - Write And Read From memory Like CheatEngine ( Writing not working?)

    Hello Oracle Forum
    I came here some time ago to ask about javaFX , i solved all my issues and im right now waiting for javaFx tot ake over swing and hmm, im working on learning LIBGDX to create games in java.
    However, im in need to create an app to change values of memory to fix a bug in an old program that i have, and the only way until now is using cheatEngine, So i decided to take a tutorial and learn how to do that in java.
    Well, im able to read from the memory but the write isnt working somehow... Im posting the code here, if anyone can give me a hint, i would thank and a lot, because theres a community that really needs this app to automate the fix without using cheat engine.
    package MainStart;
    import com.br.HM.User32;
    import com.br.kernel.Kernel32;
    import com.sun.jna.Memory;
    import com.sun.jna.Native;
    import com.sun.jna.Pointer;
    import com.sun.jna.ptr.IntByReference;
    public class Cheater {
        static Kernel32 kernel32 = (Kernel32) Native.loadLibrary("kernel32", Kernel32.class);
        static User32 user32 = (User32) Native.loadLibrary("user32", User32.class);
        static int readRight = 0x0010;
        static int writeRight = 0x0020;
        //static int PROCESS_VM_OPERATION = 0x0008;
        public static void main(String[] args) {
            //Read Memory
            //MineSweeper = Campo Minado
            int pid = getProcessId("Campo Minado"); // get our process ID
            System.out.println("Pid = " + pid);
            Pointer readprocess = openProcess(readRight, pid); // open the process ID with read priviledges.
            Pointer writeprocess = openProcess(writeRight, pid);
            int size = 4; // we want to read 4 bytes
            int address = 0x004053C8;
            //Read Memory
            Memory read = readMemory(readprocess, address, size); // read 4 bytes of memory starting at the address 0x00AB0C62.
            System.out.println(read.getInt(0)); // print out the value!      
            //Write Memory
            int writeMemory = writeMemory(writeprocess, address, new short[0x22222222]);
            System.out.println("WriteMemory :" + writeMemory);
            Memory readM = readMemory(readprocess, address, size);
            System.out.println(readM.getInt(0));
        public static int writeMemory(Pointer process, int address, short[] data) {
            IntByReference written = new IntByReference(0);
            Memory toWrite = new Memory(data.length);
            for (long i = 0; i < data.length; i++) {
                toWrite.setShort(0, data[new Integer(Long.toString(i))]);
            boolean b = kernel32.WriteProcessMemory(process, address, toWrite, data.length, written);
            System.out.println("kernel32.WriteProcessMemory : " + b); // Retorna false
            return written.getValue();
        public static Pointer openProcess(int permissions, int pid) {
            Pointer process = kernel32.OpenProcess(permissions, true, pid);
            return process;
        public static int getProcessId(String window) {
            IntByReference pid = new IntByReference(0);
            user32.GetWindowThreadProcessId(user32.FindWindowA(null, window), pid);
            return pid.getValue();
        public static Memory readMemory(Pointer process, int address, int bytesToRead) {
            IntByReference read = new IntByReference(0);
            Memory output = new Memory(bytesToRead);
            kernel32.ReadProcessMemory(process, address, output, bytesToRead, read);
            return output;
    package com.br.HM;
    import com.sun.jna.Native;
    import com.sun.jna.Pointer;
    import com.sun.jna.Structure;
    import com.sun.jna.platform.win32.WinDef.RECT;
    import com.sun.jna.ptr.ByteByReference;
    import com.sun.jna.ptr.IntByReference;
    import com.sun.jna.win32.StdCallLibrary.StdCallCallback;
    import com.sun.jna.win32.W32APIOptions;
    * Provides access to the w32 user32 library. Incomplete implementation to
    * support demos.
    * @author Todd Fast, [email protected]
    * @author [email protected]
    public interface User32 extends W32APIOptions {
        User32 INSTANCE = (User32) Native.loadLibrary("user32", User32.class, DEFAULT_OPTIONS);
        Pointer GetDC(Pointer hWnd);
        int ReleaseDC(Pointer hWnd, Pointer hDC);
        int FLASHW_STOP = 0;
        int FLASHW_CAPTION = 1;
        int FLASHW_TRAY = 2;
        int FLASHW_ALL = (FLASHW_CAPTION | FLASHW_TRAY);
        int FLASHW_TIMER = 4;
        int FLASHW_TIMERNOFG = 12;
        public static class FLASHWINFO extends Structure {
            public int cbSize;
            public Pointer hWnd;
            public int dwFlags;
            public int uCount;
            public int dwTimeout;
        int IMAGE_BITMAP = 0;
        int IMAGE_ICON = 1;
        int IMAGE_CURSOR = 2;
        int IMAGE_ENHMETAFILE = 3;
        int LR_DEFAULTCOLOR = 0x0000;
        int LR_MONOCHROME = 0x0001;
        int LR_COLOR = 0x0002;
        int LR_COPYRETURNORG = 0x0004;
        int LR_COPYDELETEORG = 0x0008;
        int LR_LOADFROMFILE = 0x0010;
        int LR_LOADTRANSPARENT = 0x0020;
        int LR_DEFAULTSIZE = 0x0040;
        int LR_VGACOLOR = 0x0080;
        int LR_LOADMAP3DCOLORS = 0x1000;
        int LR_CREATEDIBSECTION = 0x2000;
        int LR_COPYFROMRESOURCE = 0x4000;
        int LR_SHARED = 0x8000;
        Pointer FindWindowA(String winClass, String title);
        int GetClassName(Pointer hWnd, byte[] lpClassName, int nMaxCount);
        public static class GUITHREADINFO extends Structure {
            public int cbSize = size();
            public int flags;
            Pointer hwndActive;
            Pointer hwndFocus;
            Pointer hwndCapture;
            Pointer hwndMenuOwner;
            Pointer hwndMoveSize;
            Pointer hwndCaret;
            RECT rcCaret;
        boolean GetGUIThreadInfo(int idThread, GUITHREADINFO lpgui);
        public static class WINDOWINFO extends Structure {
            public int cbSize = size();
            public RECT rcWindow;
            public RECT rcClient;
            public int dwStyle;
            public int dwExStyle;
            public int dwWindowStatus;
            public int cxWindowBorders;
            public int cyWindowBorders;
            public short atomWindowType;
            public short wCreatorVersion;
        boolean GetWindowInfo(Pointer hWnd, WINDOWINFO pwi);
        boolean GetWindowRect(Pointer hWnd, RECT rect);
        int GetWindowText(Pointer hWnd, byte[] lpString, int nMaxCount);
        int GetWindowTextLength(Pointer hWnd);
        int GetWindowModuleFileName(Pointer hWnd, byte[] lpszFileName, int cchFileNameMax);
        int GetWindowThreadProcessId(Pointer hWnd, IntByReference lpdwProcessId);
        interface WNDENUMPROC extends StdCallCallback {
             * Return whether to continue enumeration.
            boolean callback(Pointer hWnd, Pointer data);
        boolean EnumWindows(WNDENUMPROC lpEnumFunc, Pointer data);
        boolean EnumThreadWindows(int dwThreadId, WNDENUMPROC lpEnumFunc, Pointer data);
        boolean FlashWindowEx(FLASHWINFO info);
        Pointer LoadIcon(Pointer hInstance, String iconName);
        Pointer LoadImage(Pointer hinst, // handle to instance
                String name, // image to load
                int type, // image type
                int xDesired, // desired width
                int yDesired, // desired height
                int load // load options
        boolean DestroyIcon(Pointer hicon);
        int GWL_EXSTYLE = -20;
        int GWL_STYLE = -16;
        int GWL_WNDPROC = -4;
        int GWL_HINSTANCE = -6;
        int GWL_ID = -12;
        int GWL_USERDATA = -21;
        int DWL_DLGPROC = 4;
        int DWL_MSGRESULT = 0;
        int DWL_USER = 8;
        int WS_EX_COMPOSITED = 0x20000000;
        int WS_EX_LAYERED = 0x80000;
        int WS_EX_TRANSPARENT = 32;
        int GetWindowLong(Pointer hWnd, int nIndex);
        int SetWindowLong(Pointer hWnd, int nIndex, int dwNewLong);
        int LWA_COLORKEY = 1;
        int LWA_ALPHA = 2;
        int ULW_COLORKEY = 1;
        int ULW_ALPHA = 2;
        int ULW_OPAQUE = 4;
        boolean SetLayeredWindowAttributes(Pointer hwnd, int crKey,
                byte bAlpha, int dwFlags);
        boolean GetLayeredWindowAttributes(Pointer hwnd,
                IntByReference pcrKey,
                ByteByReference pbAlpha,
                IntByReference pdwFlags);
         * Defines the x- and y-coordinates of a point.
        public static class POINT extends Structure {
            public int x, y;
         * Specifies the width and height of a rectangle.
        public static class SIZE extends Structure {
            public int cx, cy;
        int AC_SRC_OVER = 0x00;
        int AC_SRC_ALPHA = 0x01;
        int AC_SRC_NO_PREMULT_ALPHA = 0x01;
        int AC_SRC_NO_ALPHA = 0x02;
        public static class BLENDFUNCTION extends Structure {
            public byte BlendOp = AC_SRC_OVER; // only valid value
            public byte BlendFlags = 0; // only valid value
            public byte SourceConstantAlpha;
            public byte AlphaFormat;
        boolean UpdateLayeredWindow(Pointer hwnd, Pointer hdcDst,
                POINT pptDst, SIZE psize,
                Pointer hdcSrc, POINT pptSrc, int crKey,
                BLENDFUNCTION pblend, int dwFlags);
        int SetWindowRgn(Pointer hWnd, Pointer hRgn, boolean bRedraw);
        int VK_SHIFT = 16;
        int VK_LSHIFT = 0xA0;
        int VK_RSHIFT = 0xA1;
        int VK_CONTROL = 17;
        int VK_LCONTROL = 0xA2;
        int VK_RCONTROL = 0xA3;
        int VK_MENU = 18;
        int VK_LMENU = 0xA4;
        int VK_RMENU = 0xA5;
        boolean GetKeyboardState(byte[] state);
        short GetAsyncKeyState(int vKey);
    package com.br.kernel;
    import com.sun.jna.*;
    import com.sun.jna.win32.StdCallLibrary;
    import com.sun.jna.ptr.IntByReference;
    // by deject3d
    public interface Kernel32 extends StdCallLibrary
        // description from msdn
        //BOOL WINAPI WriteProcessMemory(
        //__in   HANDLE hProcess,
        //__in   LPVOID lpBaseAddress,
        //__in   LPCVOID lpBuffer,
        //__in   SIZE_T nSize,
        //__out  SIZE_T *lpNumberOfBytesWritten
        boolean WriteProcessMemory(Pointer p, int address, Pointer buffer, int size, IntByReference written);
        //BOOL WINAPI ReadProcessMemory(
        //          __in   HANDLE hProcess,
        //          __in   LPCVOID lpBaseAddress,
        //          __out  LPVOID lpBuffer,
        //          __in   SIZE_T nSize,
        //          __out  SIZE_T *lpNumberOfBytesRead
        boolean ReadProcessMemory(Pointer hProcess, int inBaseAddress, Pointer outputBuffer, int nSize, IntByReference outNumberOfBytesRead);
        //HANDLE WINAPI OpenProcess(
        //  __in  DWORD dwDesiredAccess,
        //  __in  BOOL bInheritHandle,
        //  __in  DWORD dwProcessId
        Pointer OpenProcess(int desired, boolean inherit, int pid);
        /* derp */
        int GetLastError();
    http://pastebin.com/Vq8wfy39

    Hello there,
    this tutorial was exactly what I needed, so thank you.
    Your problem seems to be in this line:
    int writeMemory = writeMemory(writeprocess, address, new short[0x22222222]); 
    The problem is, you're creating a new short array with the length of 0x22222222. Which not only results in an java.lang.OutOfMemoryError: Java heap space
    but also, if it would work, would create an empty array with the length of 0x22222222.
    I think you want to write 0x22222222 as value in your address.
    Correctly stored the code you'd need to write would be:
    short[] sarray = new short[]{(short) 0x22222222};
    But because the value is too long for the short, the value stored in your array would be the number 8738.
    I think, what you want to do is to store the number 572662306, which would be the hex value, stored in an int variable.
    So first of all you need to strip down your hex-value to shorts:
    Short in Java uses 16 Bit = 2 Byte. 0x22222222 -> 0x2222 for your high byte and 0x2222 for your low byte
    So your array would be
    short[] sarray = new short[]{0x2222,0x2222};//notice, that sarray[0] is the lowbyte and sarray[1] the high byte, if you want to store 20 it would be new short[]{20,0} or if you use hex new short[]{0x14,0x00}
    The next part is your writeToMemory Method. If I'm right, the method in the tutorial is a little bit wrong. The right version should be this:
    public static int writeMemory(Pointer process, int address, short[] data) {
      IntByReference written = new IntByReference(0);
      int size = data.length*Short.SIZE/8;
      Memory toWrite = new Memory(size);
      for (int i = 0; i < data.length; i++) {
      toWrite.setShort(i*Short.SIZE/8,
      data[i]);
      boolean b = kernel32.WriteProcessMemory(process, address, toWrite,
      size, written);
      return written.getValue();
    You need to calculate your offset right. And the size of your memory. Maybe you could write this method not with shorts, but with integers. But this should work.
    If you pass your new array to this function, it should write 0x22222222 to your adress. If you read out your toWrite value with toWrite.getInt(0) you get the right value.
    And there is one more thing. In order to write data to a process, you need to grant two access rights:
    A handle to the process memory to be modified. The handle must have PROCESS_VM_WRITE and PROCESS_VM_OPERATION access to the process.
    You have to grant the right to write data: PROCESS_VM_WRITE: 0x0020 and PROCESS_VM_OPERATION: 0x0008
    So your writeProcess needs to get initialized this way:
    Pointer writeprocess = openProcess(0x0020|0x0008,pid);
    I hope this works for you. Let me know.
    Greetings
    Edit:
    Because every data you write will be 1 byte to whatever count of byte I think the best way is to use the following method to write data to the memory:
    public static void writeMemory(Pointer process, long address, byte[] data)
      int size = data.length;
      Memory toWrite = new Memory(size);
      for(int i = 0; i < size; i++)
      toWrite.setByte(i, data[i]);
      boolean b = kernel32.WriteProcessMemory(process, address, toWrite, size, null);
    You can see some changes. First I changed all address values from int to long, because some addresses are out of range. And with all, i mean all. Not only in writeMemory, but also in readMemory and in your kernel32 Class.
    Second I don't use the IntByReference anymore..
    To use this method you need to store your data the following way if you would write 4 Byte data:
    byte[] values = new byte[]{0x14,0x00,0x00,0x00};
    This value would be the number 20. Index 0 will be the lowest byte and index 3 will be the highest byte.
    And one more thing I wrote is an method which you can use to calculate your address if you have a baseAddress.
    If you restart your program/game your old addresses won't point at the same values of your game. With some research (I use CheatEngine) you can get the baseaddress. This one will alway be the same.
    To get from your baseaddress to the dynamic adress you use offsets.
    public static long findDynAddy(Pointer process, int[] offsets, long baseAddress)
      long pointer = baseAddress;
      int size = 4;
      Memory pTemp = new Memory(size);
      long pointerAddress = 0;
      for(int i = 0; i < offsets.length; i++)
      if(i == 0)
      kernel32.ReadProcessMemory(process, pointer, pTemp, size, null);
      pointerAddress = ((pTemp.getInt(0)+offsets[i]));
      if(i != offsets.length-1)
      kernel32.ReadProcessMemory(process, pointerAddress, pTemp, size, null);
      return pointerAddress;
    This methods gets a process, an array of offsets (hex-values) and your baseadress and returns the dynamic address.
    For Solitaire the following code would give you the address to the score:
    long baseAddr = 0x10002AFA8L;
      int[] offsets = new int[]{0x50,0x14};
      long addr = findDynAddy(process, offsets, baseAddr);
    If somebody wants to get the whole code (user32, kernel32 and the cheater) just pm me and I will give you a link.

  • Obtaining values from other programs

    I seen where you can use Spy ++ to get values from other running programs, how do you do it? I found the values un Spy ++ from the window, so where from I go from here?
    Regards, Carter Humphreys

    Here's some more.
    Option Strict On
    Imports System.Collections.Generic
    Imports System.Runtime.InteropServices
    Imports System.Text
    Public Class Form1
    <DllImport("User32.dll")> _
    Private Shared Function FindWindow(ByVal lpClassName As String, ByVal lpWindowName As String) As Integer
    End Function
    Private Declare Auto Function IsIconic Lib "user32.dll" (ByVal hwnd As IntPtr) As Boolean
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    ListView1.AllowColumnReorder = True
    ListView1.GridLines = True
    ListView1.View = View.Details
    ListView1.Sorting = SortOrder.Ascending
    ListView1.Columns.Add("Main Window Title", 150, HorizontalAlignment.Left)
    ListView1.Columns.Add("Child Class Name", 300, HorizontalAlignment.Left)
    ListView1.Columns.Add("Child hWnd", 100, HorizontalAlignment.Left)
    ListView1.Columns.Add("Child Main Window Title", 300, HorizontalAlignment.Left)
    ListView1.Columns.Add("Is Application Minimized", 300, HorizontalAlignment.Left)
    Timer1.Interval = 5000
    End Sub
    Private Sub ListView1_Click(sender As Object, e As EventArgs) Handles ListView1.Click
    TextBox1.Text = ""
    TextBox1.Text = "Main Window Title = " & ListView1.FocusedItem.SubItems.Item(0).Text.ToString & vbCrLf & _
    "Child Class Name = " & ListView1.FocusedItem.SubItems.Item(1).Text.ToString & vbCrLf & _
    "Child hWnd = " & ListView1.FocusedItem.SubItems.Item(2).Text.ToString & vbCrLf & _
    "Child Main Window Title = " & ListView1.FocusedItem.SubItems.Item(3).Text.ToString & vbCrLf & _
    "Is Application Minimized = " & ListView1.FocusedItem.SubItems.Item(4).Text.ToString
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    ListView1.Items.Clear()
    Dim enumerator As New WindowsEnumerator()
    For Each top As ApiWindow In enumerator.GetTopLevelWindows()
    For Each child As ApiWindow In enumerator.GetChildWindows(top.hWnd)
    Dim item1 As New ListViewItem(top.MainWindowTitle)
    item1.SubItems.Add(child.ClassName)
    item1.SubItems.Add(child.hWnd.ToString)
    item1.SubItems.Add(child.MainWindowTitle)
    If top.MainWindowTitle.Length > 0 Then
    Dim ICONIC As IntPtr = CType(CInt(FindWindow(Nothing, top.MainWindowTitle).ToString), IntPtr)
    item1.SubItems.Add(IsIconic(ICONIC).ToString)
    End If
    ListView1.Items.AddRange(New ListViewItem() {item1})
    Next child
    Next top
    End Sub
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    Timer1.Start()
    Using OFD As New OpenFileDialog
    If OFD.ShowDialog = DialogResult.OK Then
    End If
    End Using
    End Sub
    Dim InfoToWrite As New List(Of String)
    Dim CountIt As Integer = 1
    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
    InfoToWrite.Clear()
    Timer1.Stop()
    ListView1.Items.Clear()
    Dim enumerator As New WindowsEnumerator()
    For Each top As ApiWindow In enumerator.GetTopLevelWindows()
    For Each child As ApiWindow In enumerator.GetChildWindows(top.hWnd)
    InfoToWrite.Add(top.MainWindowTitle & " - " & child.ClassName & " - " & child.hWnd.ToString & " - " & child.MainWindowTitle)
    Dim item1 As New ListViewItem(top.MainWindowTitle)
    item1.SubItems.Add(child.ClassName)
    item1.SubItems.Add(child.hWnd.ToString)
    item1.SubItems.Add(child.MainWindowTitle)
    If top.MainWindowTitle.Length > 0 Then
    Dim ICONIC As IntPtr = CType(CInt(FindWindow(Nothing, top.MainWindowTitle).ToString), IntPtr)
    item1.SubItems.Add(IsIconic(ICONIC).ToString)
    End If
    ListView1.Items.AddRange(New ListViewItem() {item1})
    Next child
    Next top
    IO.File.WriteAllLines("C:\Users\John\Desktop\Some Info " & CountIt.ToString & ".Txt", InfoToWrite.ToArray)
    CountIt += 1
    End Sub
    End Class
    Public Class ApiWindow
    Public MainWindowTitle As String = ""
    Public ClassName As String = ""
    Public hWnd As Int32
    End Class
    ''' <summary>
    ''' Enumerate top-level and child windows
    ''' </summary>
    ''' <example>
    ''' Dim enumerator As New WindowsEnumerator()
    ''' For Each top As ApiWindow in enumerator.GetTopLevelWindows()
    ''' Console.WriteLine(top.MainWindowTitle)
    ''' For Each child As ApiWindow child in enumerator.GetChildWindows(top.hWnd)
    ''' Console.WriteLine(" " + child.MainWindowTitle)
    ''' Next child
    ''' Next top
    ''' </example>
    Public Class WindowsEnumerator
    Private Delegate Function EnumCallBackDelegate(ByVal hwnd As Integer, ByVal lParam As Integer) As Integer
    ' Top-level windows.
    Private Declare Function EnumWindows Lib "user32" _
    (ByVal lpEnumFunc As EnumCallBackDelegate, ByVal lParam As Integer) As Integer
    ' Child windows.
    Private Declare Function EnumChildWindows Lib "user32" _
    (ByVal hWndParent As Integer, ByVal lpEnumFunc As EnumCallBackDelegate, ByVal lParam As Integer) As Integer
    ' Get the window class.
    Private Declare Function GetClassName _
    Lib "user32" Alias "GetClassNameA" _
    (ByVal hwnd As Integer, ByVal lpClassName As StringBuilder, ByVal nMaxCount As Integer) As Integer
    ' Test if the window is visible--only get visible ones.
    Private Declare Function IsWindowVisible Lib "user32" _
    (ByVal hwnd As Integer) As Integer
    ' Test if the window's parent--only get the one's without parents.
    Private Declare Function GetParent Lib "user32" _
    (ByVal hwnd As Integer) As Integer
    ' Get window text length signature.
    Private Declare Function SendMessage _
    Lib "user32" Alias "SendMessageA" _
    (ByVal hwnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lParam As Int32) As Int32
    ' Get window text signature.
    Private Declare Function SendMessage _
    Lib "user32" Alias "SendMessageA" _
    (ByVal hwnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lParam As StringBuilder) As Int32
    Private _listChildren As New List(Of ApiWindow)
    Private _listTopLevel As New List(Of ApiWindow)
    Private _topLevelClass As String = ""
    Private _childClass As String = ""
    ''' <summary>
    ''' Get all top-level window information
    ''' </summary>
    ''' <returns>List of window information objects</returns>
    Public Overloads Function GetTopLevelWindows() As List(Of ApiWindow)
    EnumWindows(AddressOf EnumWindowProc, &H0)
    Return _listTopLevel
    End Function
    Public Overloads Function GetTopLevelWindows(ByVal className As String) As List(Of ApiWindow)
    _topLevelClass = className
    Return Me.GetTopLevelWindows()
    End Function
    ''' <summary>
    ''' Get all child windows for the specific windows handle (hwnd).
    ''' </summary>
    ''' <returns>List of child windows for parent window</returns>
    Public Overloads Function GetChildWindows(ByVal hwnd As Int32) As List(Of ApiWindow)
    ' Clear the window list.
    _listChildren = New List(Of ApiWindow)
    ' Start the enumeration process.
    EnumChildWindows(hwnd, AddressOf EnumChildWindowProc, &H0)
    ' Return the children list when the process is completed.
    Return _listChildren
    End Function
    Public Overloads Function GetChildWindows(ByVal hwnd As Int32, ByVal childClass As String) As List(Of ApiWindow)
    ' Set the search
    _childClass = childClass
    Return Me.GetChildWindows(hwnd)
    End Function
    ''' <summary>
    ''' Callback function that does the work of enumerating top-level windows.
    ''' </summary>
    ''' <param name="hwnd">Discovered Window handle</param>
    ''' <returns>1=keep going, 0=stop</returns>
    Private Function EnumWindowProc(ByVal hwnd As Int32, ByVal lParam As Int32) As Int32
    ' Eliminate windows that are not top-level.
    If GetParent(hwnd) = 0 AndAlso CBool(IsWindowVisible(hwnd)) Then
    ' Get the window title / class name.
    Dim window As ApiWindow = GetWindowIdentification(hwnd)
    ' Match the class name if searching for a specific window class.
    If _topLevelClass.Length = 0 OrElse window.ClassName.ToLower() = _topLevelClass.ToLower() Then
    _listTopLevel.Add(window)
    End If
    End If
    ' To continue enumeration, return True (1), and to stop enumeration
    ' return False (0).
    ' When 1 is returned, enumeration continues until there are no
    ' more windows left.
    Return 1
    End Function
    ''' <summary>
    ''' Callback function that does the work of enumerating child windows.
    ''' </summary>
    ''' <param name="hwnd">Discovered Window handle</param>
    ''' <returns>1=keep going, 0=stop</returns>
    Private Function EnumChildWindowProc(ByVal hwnd As Int32, ByVal lParam As Int32) As Int32
    Dim window As ApiWindow = GetWindowIdentification(hwnd)
    ' Attempt to match the child class, if one was specified, otherwise
    ' enumerate all the child windows.
    If _childClass.Length = 0 OrElse window.ClassName.ToLower() = _childClass.ToLower() Then
    _listChildren.Add(window)
    End If
    Return 1
    End Function
    ''' <summary>
    ''' Build the ApiWindow object to hold information about the Window object.
    ''' </summary>
    Private Function GetWindowIdentification(ByVal hwnd As Integer) As ApiWindow
    Const WM_GETTEXT As Int32 = &HD
    Const WM_GETTEXTLENGTH As Int32 = &HE
    Dim window As New ApiWindow()
    Dim title As New StringBuilder()
    ' Get the size of the string required to hold the window title.
    Dim size As Int32 = SendMessage(hwnd, WM_GETTEXTLENGTH, 0, 0)
    ' If the return is 0, there is no title.
    If size > 0 Then
    title = New StringBuilder(size + 1)
    SendMessage(hwnd, WM_GETTEXT, title.Capacity, title)
    End If
    ' Get the class name for the window.
    Dim classBuilder As New StringBuilder(64)
    GetClassName(hwnd, classBuilder, 64)
    ' Set the properties for the ApiWindow object.
    window.ClassName = classBuilder.ToString()
    window.MainWindowTitle = title.ToString()
    window.hWnd = hwnd
    Return window
    End Function
    End Class
    La vida loca

  • How can I capture and take screenshots of all the browser tabs and not only windows ?

    This class identifies all minimized windows and take a snapshot (screenshot) of them. I want to take screenshots also of all the broswer for example chrome tabs windows that are open but not in the front. Same idea that it get now the minimized windows but
    to get the screenshots of the broswer opened tabs ! What should I change in the WindowSnap class? Since both classes are a bit long I added them to pastebin.com
    What i'm doing now is to get all the minimized windows i mean all the the windows in the back if it's chrome browser windows or open tabs if it's program games other windows. This is what i'm doing in form1 constructor:
    this.listBoxSnap.Items.AddRange(WindowSnap.GetAllWindows(true, true).ToArray());
    int numitems = this.listBoxSnap.Items.Count;
    for (int i = listBoxSnap.Items.Count - 1; i >= 0; i--)
    string tt = listBoxSnap.Items[i].ToString();
    if (tt.Contains(" ,"))
    listBoxSnap.Items.RemoveAt(i);
    listBoxSnap is just a regular listBox1 in my form1 designer.
    And this is the WindowSnap class code, it's a bit long code but it's all connected:
    I'm not sure what to show here from this class what is the most important part so i added all the class code to a link to pastebin.com:
    WindowSnap.cs
    What i'm calling/using in form1 constructor from this WindowSnap.cs class is the GetAllWaindows method:
    public static WindowSnapCollection GetAllWindows(bool minimized, bool specialCapturring)
    windowSnaps = new WindowSnapCollection();
    countMinimizedWindows = minimized;//set minimized flag capture
    useSpecialCapturing = specialCapturring;//set specialcapturing flag
    EnumWindowsCallbackHandler callback = new EnumWindowsCallbackHandler(EnumWindowsCallback);
    EnumWindows(callback, IntPtr.Zero);
    return new WindowSnapCollection(windowSnaps.ToArray(), true);
    EnumWindowsCallBackHandler is:
    private delegate bool EnumWindowsCallbackHandler(IntPtr hWnd, IntPtr lParam);
    EnumWindows is:
    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    private static extern bool EnumWindows(EnumWindowsCallbackHandler lpEnumFunc, IntPtr lParam);
    Then i have the class called WindowSnapCollection:
    WindowSnapCollection.cs
    The problem is in form1 constructor i'm getting only 23-24 windows in the listBox1. When i'm doing this two lines:
    this.listBoxSnap.Items.AddRange(WindowSnap.GetAllWindows(true, true).ToArray());
    int numitems = this.listBoxSnap.Items.Count;
    I see in numitems about 30 windows and after filtering i'm getting 20 windows and i checked that's the correct number of opened minmizied windows i have in this example 20.
    Now what i want to do is somehow to get with all this windows in the listBox also all the opened tabs in chrome.
    For exmaple i have only 4 opened chrome windows. But in one of the chrome windows i have almost 40 tabs opened !
    I want somehow to add to the listBox all this opened tabs also as captured screenshots like i'm doing now with the windows.
    This is a screenshot of my program showing what i'm doing and what i get:
    So now i have 19 windows captured in the next refresh it will show 20.
    My question is if there is any way to capture also all the chrome opened tabs in all the windows if any opened tabs are opened at all ? Now i'm getting only the chrome opened windows captured screenshot. But i want to get also the chrome tabs captured screenshots.

    Hi Chocolade1972,
    Since this forum is discussing about Windows Forms general like winform controls, and your issue is related with Windows Desktop SDK, I will move this thread to the more related forum.
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Adobe Bridge crash linked to Camera Raw

    When I navigate in Bridge to find a photo file to open (tiff or psd), Bridge crashes. Chris on the CS5 mac forum said it is linked to camera raw. Below is a comment from the cs5 forum and the crash report. Can you help with this?
    Chris, now cs5 bridge is crashing when I open it and start to navigate through it to access photo files. (remember I upgrade to osx lion.
    Here is a crash report, I just got...
    Process:         Adobe Bridge CS5 [187]
    Path:            /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/MacOS/Adobe Bridge CS5
    Identifier:      com.adobe.bridge4
    Version:         4.0.5.11 (4.0.5.11)
    Code Type:       X86 (Native)
    Parent Process:  launchd [127]
    Date/Time:       2011-12-11 16:04:52.306 -0800
    OS Version:      Mac OS X 10.7.2 (11C74)
    Report Version:  9
    Interval Since Last Report:          3740 sec
    Crashes Since Last Report:           3
    Per-App Interval Since Last Report:  2133 sec
    Per-App Crashes Since Last Report:   3
    Anonymous UUID:                      E22A16C2-1711-47FD-A083-B2A03923E5E6
    Crashed Thread:  18  cr_area_task
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x000000001c4800f0
    VM Regions Near 0x1c4800f0:
        MALLOC_LARGE           0000000017f3c000-000000001c480000 [ 69.3M] rw-/rwx SM=PRV
    -->
        __TEXT                 0000000040000000-00000000400d2000 [  840K] r-x/rwx SM=COW  /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeJP2K.framework/Versions/A/AdobeJP2K
    Application Specific Information:
    objc[187]: garbage collection is OFF
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x94298c22 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x942981f6 mach_msg + 70
    2   com.apple.CoreFoundation                0x963a00ea __CFRunLoopServiceMachPort + 170
    3   com.apple.CoreFoundation                0x963a9214 __CFRunLoopRun + 1428
    4   com.apple.CoreFoundation                0x963a88ec CFRunLoopRunSpecific + 332
    5   com.apple.CoreFoundation                0x963a8798 CFRunLoopRunInMode + 120
    6   com.apple.HIToolbox                     0x99dd8a7f RunCurrentEventLoopInMode + 318
    7   com.apple.HIToolbox                     0x99ddfd9b ReceiveNextEventCommon + 381
    8   com.apple.HIToolbox                     0x99f75580 ReceiveNextEventInMode + 67
    9   com.apple.HIToolbox                     0x99f75618 ReceiveNextEvent + 72
    10  com.adobe.bridge4                       0x0066a16f Mondo::CProcess::Execute(Mondo::CFlags<unsigned long>) + 621
    11  com.adobe.bridge4                       0x0066164d Mondo::CExecutable::RunExecute() + 79
    12  com.adobe.bridge4                       0x006616d3 Mondo::CExecutable::Run() + 43
    13  com.adobe.bridge4                       0x00728c43 Mondo::CApplication::Main() + 65
    14  com.adobe.bridge4                       0x00729209 main + 91
    15  com.adobe.bridge4                       0x00002ca6 start + 54
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x9429b90a kevent + 10
    1   libdispatch.dylib                       0x944e7c58 _dispatch_mgr_invoke + 969
    2   libdispatch.dylib                       0x944e66a7 _dispatch_mgr_thread + 53
    Thread 2:
    0   libsystem_kernel.dylib                  0x9429b02e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x93b66ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x93b686fe start_wqthread + 30
    Thread 3:
    0   libsystem_kernel.dylib                  0x9429abb2 __semwait_signal + 10
    1   libsystem_c.dylib                       0x93b197b9 nanosleep$UNIX2003 + 187
    2   com.adobe.bridge4                       0x00960dcb vio_timeout + 882766
    3   com.adobe.bridge4                       0x00942563 vio_timeout + 757734
    4   com.adobe.bridge4                       0x00960ed8 vio_timeout + 883035
    5   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    6   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 4:
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x93b1942c pthread_cond_wait$UNIX2003 + 71
    3   com.apple.CoreServices.CarbonCore          0x96676f36 TSWaitOnCondition + 124
    4   com.apple.CoreServices.CarbonCore          0x965e8579 TSWaitOnConditionTimedRelative + 136
    5   com.apple.CoreServices.CarbonCore          0x9664a755 MPWaitOnQueue + 200
    6   AdobeACE                                0x030936f1 0x3059000 + 239345
    7   AdobeACE                                0x030930ed 0x3059000 + 237805
    8   com.apple.CoreServices.CarbonCore          0x9664b6b4 PrivateMPEntryPoint + 68
    9   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    10  libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 5:
    0   libsystem_kernel.dylib                  0x94298c76 semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore          0x9664ab6c MPWaitOnSemaphore + 104
    2   MultiProcessor Support                  0x081bc0f0 ThreadFunction(void*) + 78
    3   com.apple.CoreServices.CarbonCore          0x9664b6b4 PrivateMPEntryPoint + 68
    4   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    5   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 6:
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x93b1942c pthread_cond_wait$UNIX2003 + 71
    3   com.apple.CoreServices.CarbonCore          0x96676f36 TSWaitOnCondition + 124
    4   com.apple.CoreServices.CarbonCore          0x965e8579 TSWaitOnConditionTimedRelative + 136
    5   com.apple.CoreServices.CarbonCore          0x9664a755 MPWaitOnQueue + 200
    6   com.adobe.CameraRaw                     0x08578726 0x830a000 + 2549542
    7   com.adobe.CameraRaw                     0x085778d7 0x830a000 + 2545879
    8   com.apple.CoreServices.CarbonCore          0x9664b6b4 PrivateMPEntryPoint + 68
    9   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    10  libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 7:: cr_scratch
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x93b1942c pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.CameraRaw                     0x08377738 0x830a000 + 448312
    4   com.adobe.CameraRaw                     0x086fbd24 EntryFM + 919604
    5   com.adobe.CameraRaw                     0x0845071c 0x830a000 + 1337116
    6   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    7   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 8:: cr_negative_cache
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x93b1942c pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.CameraRaw                     0x08377738 0x830a000 + 448312
    4   com.adobe.CameraRaw                     0x08866f38 EntryFM + 2406984
    5   com.adobe.CameraRaw                     0x0845071c 0x830a000 + 1337116
    6   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    7   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 9:
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x93b193e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.adobe.CameraRaw                     0x08377688 0x830a000 + 448136
    4   com.adobe.CameraRaw                     0x08450966 0x830a000 + 1337702
    5   com.adobe.CameraRaw                     0x08451c5f 0x830a000 + 1342559
    6   com.adobe.CameraRaw                     0x083f0d81 0x830a000 + 945537
    7   com.adobe.CameraRaw                     0x086afacc EntryFM + 607708
    8   com.adobe.CameraRaw                     0x086afc25 EntryFM + 608053
    9   com.adobe.CameraRaw                     0x086b10a3 EntryFM + 613299
    10  com.adobe.CameraRaw                     0x0867b98c EntryFM + 394396
    11  com.adobe.CameraRaw                     0x0867c50a EntryFM + 397338
    12  com.adobe.bridge4                       0x0053c066 ThumbMetaLib::CameraRawFormat::ReadFile(ZFileSpec const&, long, ThumbMetaLib::ThumbnailMetaInfo&) + 262
    13  com.adobe.bridge4                       0x00496134 ThumbMetaLib::FBFormatReader::ReadProof(ThumbMetaLib::FBFileFormat*, ZFileSpec const&, unsigned long, ThumbMetaLib::ThumbnailMetaInfo&) + 100
    14  com.adobe.bridge4                       0x0046c56a ThumbMetaLib::MakeProofFromFile(ThumbMetaLib::FBFileFormat*, ZFileSpec const&, unsigned long, ThumbMetaLib::ThumbnailMetaInfo&, bool&, bool) + 602
    15  com.adobe.bridge4                       0x002e59f0 start + 3026304
    16  com.adobe.bridge4                       0x003c79a0 start + 3951920
    17  com.adobe.bridge4                       0x003cc072 start + 3970050
    18  com.adobe.bridge4                       0x002e7f53 start + 3035875
    19  com.adobe.bridge4                       0x00736f3a Mondo::CThread::EntryProc() + 18
    20  com.apple.CoreServices.CarbonCore          0x9664b6b4 PrivateMPEntryPoint + 68
    21  libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    22  libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 10:
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e78 _pthread_cond_wait + 914
    2   libsystem_c.dylib                       0x93b107f5 pthread_cond_timedwait + 47
    3   com.adobe.bridge4                       0x002e6d9b start + 3031339
    4   com.adobe.bridge4                       0x002e7ec6 start + 3035734
    5   com.adobe.bridge4                       0x002e7f2c start + 3035836
    6   com.adobe.bridge4                       0x00736f3a Mondo::CThread::EntryProc() + 18
    7   com.apple.CoreServices.CarbonCore          0x9664b6b4 PrivateMPEntryPoint + 68
    8   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    9   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 11:
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e78 _pthread_cond_wait + 914
    2   libsystem_c.dylib                       0x93b107f5 pthread_cond_timedwait + 47
    3   com.adobe.bridge4                       0x002e6d9b start + 3031339
    4   com.adobe.bridge4                       0x00332c10 start + 3342240
    5   com.adobe.bridge4                       0x00736f3a Mondo::CThread::EntryProc() + 18
    6   com.apple.CoreServices.CarbonCore          0x9664b6b4 PrivateMPEntryPoint + 68
    7   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    8   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 12:
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e78 _pthread_cond_wait + 914
    2   libsystem_c.dylib                       0x93b107f5 pthread_cond_timedwait + 47
    3   com.adobe.bridge4                       0x002e6d9b start + 3031339
    4   com.adobe.bridge4                       0x002e05de start + 3004782
    5   com.adobe.bridge4                       0x002ddaf2 start + 2993794
    6   com.adobe.bridge4                       0x00736f3a Mondo::CThread::EntryProc() + 18
    7   com.apple.CoreServices.CarbonCore          0x9664b6b4 PrivateMPEntryPoint + 68
    8   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    9   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 13:
    0   libsystem_kernel.dylib                  0x9429b02e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x93b66ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x93b686fe start_wqthread + 30
    Thread 14:
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x93b1942c pthread_cond_wait$UNIX2003 + 71
    3   SwitchBoardClient                       0x0dc38a94 adobe::switchboard::ConnectionQueue::run() + 228
    4   SwitchBoardClient                       0x0dbe04d0 thread_proxy + 96
    5   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    6   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 15:
    0   libsystem_kernel.dylib                  0x9429a83e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x93b68e21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x93b1942c pthread_cond_wait$UNIX2003 + 71
    3   SwitchBoardClient                       0x0dbffb42 adobe::switchboard::Client::run() + 178
    4   SwitchBoardClient                       0x0dbe04d0 thread_proxy + 96
    5   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    6   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 16:
    0   libsystem_kernel.dylib                  0x9429aad2 __recvmsg + 10
    1   SwitchBoardClient                       0x0dc16927 adobe::switchboard::Connection<boost::asio::basic_stream_socket<boost ::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >::runOne(boost::shared_ptr<adobe::switchboard::Connection<boost::asi o::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > > >&) + 583
    2   SwitchBoardClient                       0x0dc16de5 adobe::switchboard::Connection<boost::asio::basic_stream_socket<boost ::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >::run() + 85
    3   SwitchBoardClient                       0x0dbe04d0 thread_proxy + 96
    4   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    5   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 17:
    0   libsystem_kernel.dylib                  0x9429aad2 __recvmsg + 10
    1   SwitchBoardClient                       0x0dc16927 adobe::switchboard::Connection<boost::asio::basic_stream_socket<boost ::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >::runOne(boost::shared_ptr<adobe::switchboard::Connection<boost::asi o::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > > >&) + 583
    2   SwitchBoardClient                       0x0dc16de5 adobe::switchboard::Connection<boost::asio::basic_stream_socket<boost ::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >::run() + 85
    3   SwitchBoardClient                       0x0dbe04d0 thread_proxy + 96
    4   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    5   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 18 Crashed:: cr_area_task
    0   com.adobe.CameraRaw                     0x0842cfe0 0x830a000 + 1191904
    1   com.adobe.CameraRaw                     0x088bafd6 EntryFM + 2751206
    2   com.adobe.CameraRaw                     0x088bb203 EntryFM + 2751763
    3   com.adobe.CameraRaw                     0x08874e8b EntryFM + 2464155
    4   com.adobe.CameraRaw                     0x08875629 EntryFM + 2466105
    5   com.adobe.CameraRaw                     0x088759b3 EntryFM + 2467011
    6   com.adobe.CameraRaw                     0x0886a057 EntryFM + 2419559
    7   com.adobe.CameraRaw                     0x0886a637 EntryFM + 2421063
    8   com.adobe.CameraRaw                     0x086e1e63 EntryFM + 813427
    9   com.adobe.CameraRaw                     0x086dfcc8 EntryFM + 804824
    10  com.adobe.CameraRaw                     0x0846b49c 0x830a000 + 1447068
    11  com.adobe.CameraRaw                     0x0832586e 0x830a000 + 112750
    12  com.adobe.CameraRaw                     0x08450df2 0x830a000 + 1338866
    13  com.adobe.CameraRaw                     0x0845071c 0x830a000 + 1337116
    14  libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    15  libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 19:: cr_area_task
    0   com.adobe.CameraRaw                     0x0849156c 0x830a000 + 1602924
    1   com.adobe.CameraRaw                     0x08697e97 EntryFM + 510375
    2   com.adobe.CameraRaw                     0x0846b49c 0x830a000 + 1447068
    3   com.adobe.CameraRaw                     0x0832586e 0x830a000 + 112750
    4   com.adobe.CameraRaw                     0x08450df2 0x830a000 + 1338866
    5   com.adobe.CameraRaw                     0x0845071c 0x830a000 + 1337116
    6   libsystem_c.dylib                       0x93b64ed9 _pthread_start + 335
    7   libsystem_c.dylib                       0x93b686de thread_start + 34
    Thread 18 crashed with X86 Thread State (32-bit):
      eax: 0x1c47f780  ebx: 0x0842cd77  ecx: 0x000001b0  edx: 0x0000001b
      edi: 0x1c47ff40  esi: 0x1c47fb60  ebp: 0xb019e918  esp: 0xb019e780
       ss: 0x00000023  efl: 0x00010202  eip: 0x0842cfe0   cs: 0x0000001b
       ds: 0x00000023   es: 0x00000023   fs: 0x00000023   gs: 0x0000000f
      cr2: 0x1c4800f0
    Logical CPU: 0
    Binary Images:
        0x1000 -   0xb74fe7 +com.adobe.bridge4 (4.0.5.11 - 4.0.5.11) <812C0DCF-A71C-EF14-B940-B364981D9FE5> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/MacOS/Adobe Bridge CS5
    0x114c000 -  0x1172ff6 +AdobeAXE8SharedExpat (??? - ???) <5848BBCE-3A3E-66EE-5527-97A96F0CA4CC> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeAXE8SharedExpat.framework/Versions/A /AdobeAXE8SharedExpat
    0x1183000 -  0x1187ffc +com.adobe.AdobeCrashReporter (3.0 - 3.0.20100302) <E6437929-0E69-8A56-E69F-F64305E82DD9> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/A dobeCrashReporter
    0x118e000 -  0x1226fff +com.adobe.AdobeExtendScript (ExtendScript 4.1.25 - 4.1.25.8102) <5F3913A6-9912-6F60-4BDE-5D9AF3143719> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeExtendScript.framework/Versions/A/Ad obeExtendScript
    0x1285000 -  0x1312ff7 +com.adobe.AdobeScCore (ScCore 4.1.25 - 4.1.25.8102) <FFDC013D-D8D1-AFC3-C93A-E04902F9A2DA> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeScCore.framework/Versions/A/AdobeScC ore
    0x1357000 -  0x209afff +com.adobe.psl (AdobePSL 12.0.0.7524 - 12.0.0.7524) <CFBCB19A-03F7-D095-1F48-8D68F05A25C5> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobePSL.framework/Versions/A/AdobePSL
    0x23d9000 -  0x243fffb +com.adobe.amtlib (amtlib 3.0.0.64 - 3.0.0.64) <DD471011-9120-1BC2-F1B5-D6FF09D0859F> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/amtlib.framework/Versions/A/amtlib
    0x246f000 -  0x25a7ff7 +WRServices (??? - ???) <693D315C-73F1-3E8B-9ABD-B8418F863F22> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/WRServices.framework/Versions/A/WRService s
    0x25ed000 -  0x2f9dfff +libicudata.dylib.36.0 (36.0.0 - compatibility 36.0.0) <02108DEA-3DD2-14BE-DAEB-BE522B619C1D> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/ICUData.framework/Versions/3.6/libicudata .dylib.36.0
    0x2fa0000 -  0x3031ff7 +libicucnv.dylib.36.0 (36.0.0 - compatibility 36.0.0) <581475CC-C039-1B42-49BA-71811D8B4E15> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/ICUConverter.framework/Versions/3.6/libic ucnv.dylib.36.0
    0x3050000 -  0x3053ff8 +com.adobe.ape.shim (adbeape version 3.1.65.7508 - 3.1.65.7508) <FFDDAB7A-220F-7344-F12B-010CA0C41DAB> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/adbeape.framework/Versions/A/adbeape
    0x3059000 -  0x316dfff +AdobeACE (??? - ???) <DD291A17-ECF4-FE20-5837-AC1F5BC76940> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeACE.framework/Versions/A/AdobeACE
    0x3190000 -  0x349fff7 +AdobeAGM (??? - ???) <6D88093F-E581-FDE1-B2F8-3F2DFDB628DC> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeAGM.framework/Versions/A/AdobeAGM
    0x3555000 -  0x3591fff +AdobeARE (??? - ???) <76851E91-2381-5D05-742C-BB24E4BAD276> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeARE.framework/Versions/A/AdobeARE
    0x359a000 -  0x35b5fff +AdobeBIB (??? - ???) <3B3092DC-A296-9D1C-1922-D20E6A5A7D7E> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeBIB.framework/Versions/A/AdobeBIB
    0x35bf000 -  0x35e0ff7 +AdobeBIBUtils (??? - ???) <E1FAA7A3-E807-DE5A-1F68-7A53780E8202> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeBIBUtils.framework/Versions/A/AdobeB IBUtils
    0x35ec000 -  0x38deff7 +AdobeCoolType (??? - ???) <9FDD596D-9824-2BB9-5DA2-25DACAB6A324> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeCoolType.framework/Versions/A/AdobeC oolType
    0x3966000 -  0x39f2fef +AdobeXMPFiles (??? - ???) <A72BD678-CAD0-0C2A-0989-11E87B154AB5> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeXMPFiles.framework/Versions/A/AdobeX MPFiles
    0x3a29000 -  0x3a81ff7 +AdobeXMP (??? - ???) <73329999-C364-2451-6574-4D0277057D19> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeXMP.framework/Versions/A/AdobeXMP
    0x3a90000 -  0x3afdfef +FileInfo (??? - ???) <4A4C74F9-CA83-B174-F56D-F7671DC61389> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/FileInfo.framework/Versions/A/FileInfo
    0x3b18000 -  0x3ef0ff7 +AdobeMPS (??? - ???) <13614867-4D80-EB74-FA7F-6136492478BA> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeMPS.framework/Versions/A/AdobeMPS
    0x401f000 -  0x4058ffb +com.adobe.AAM.AdobeUpdaterNotificationFramework (UpdaterNotifications 1.0.0.64 - 1.0.0.64) <C64CCBDC-B8E9-45E8-53E7-8577CFE9F2F0> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/UpdaterNotifications.framework/Versions/A /UpdaterNotifications
    0x4073000 -  0x4140ff3 +libicui18n.dylib.36.0 (36.0.0 - compatibility 36.0.0) <08F15219-7F35-574E-7725-1ACAA1B18A00> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/ICUInternationalization.framework/Version s/3.6/libicui18n.dylib.36.0
    0x41a3000 -  0x427dfef +libicuuc.dylib.36.0 (36.0.0 - compatibility 36.0.0) <5EE72009-40B3-7FB7-3A49-576AEDE0D400> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/ICUUnicode.framework/Versions/3.6/libicuu c.dylib.36.0
    0x42bd000 -  0x42fafff  com.apple.vmutils (4.2.1 - 107) <43B3BFA5-8362-3EBD-B44B-32DCE9885082> /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutil s
    0x4314000 -  0x43c1ff7  libcrypto.0.9.7.dylib (0.9.7 - compatibility 0.9.7) <7B6DB792-C9E5-3772-8734-8D0052757B8C> /usr/lib/libcrypto.0.9.7.dylib
    0x4493000 -  0x4494ff1  com.apple.textencoding.unicode (2.4 - 2.4) <4E55D4B9-4E67-3FC9-9407-3E99D1D50F15> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    0x44ee000 -  0x44eefff  libmx.A.dylib (2026.0.0 - compatibility 1.0.0) <859B5BCC-B5D9-370F-8B6C-1E2B242D5DCD> /usr/lib/libmx.A.dylib
    0x7e10000 -  0x7e80feb +com.adobe.adobe_caps (adobe_caps 3.0.116.0 - 3.0.116.0) <50675115-BEDC-72F9-C42D-374196E83EC2> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/adobe_caps.framework/adobe_caps
    0x7fa0000 -  0x8054ffa +Photoshop Adapter (??? - ???) <651A55F9-B579-F313-62B0-9C68E563C2F8> /Applications/Adobe Bridge CS5/*/Photoshop Adapter.plugin/Contents/MacOS/Photoshop Adapter
    0x8182000 -  0x81e6ff4 +MultiProcessor Support (??? - ???) <F3CB7402-2B6F-8FB2-603D-FF918BD40E55> /Applications/Adobe Bridge CS5/*/MultiProcessor Support.plugin/Contents/MacOS/MultiProcessor Support
    0x822e000 -  0x828bff5 +MMXCore (??? - ???) <E33B13F2-4BB8-D100-7BFE-6CB585B257EB> /Applications/Adobe Bridge CS5/*/MMXCore.plugin/Contents/MacOS/MMXCore
    0x830a000 -  0x93ccfef +com.adobe.CameraRaw (6.5 [216] - 6.5.0f216) <ABEF0EEA-18DF-F50B-2AF8-38D616D6E206> /Library/Application Support/Adobe/*/Camera Raw.plugin/Contents/MacOS/Camera Raw
    0xb760000 -  0xb789feb +com.adobe.ape (adbeapecore version 3.1.70.10055 - 3.1.70.10055) <F3239526-C171-AD3C-835E-FC9998EEFB28> /Library/Application Support/Adobe/*/adbeapecore.framework/adbeapecore
    0xc9a4000 -  0xc9d1ff8  GLRendererFloat (??? - ???) <1264885F-1492-3591-BFB1-B671A7B08A29> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat .bundle/GLRendererFloat
    0xd02d000 -  0xd19affc  GLEngine (??? - ???) <C49CCDEA-F23E-30CD-9BCD-FC09C9D07CF4> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle /GLEngine
    0xd1ce000 -  0xd2c5ffb  libGLProgrammability.dylib (??? - ???) <8E592FEB-B6A8-3BFF-828B-B37B05D4D574> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libG LProgrammability.dylib
    0xd512000 -  0xd513ffc  ATSHI.dylib (??? - ???) <805E9255-39D3-3137-8DA9-3C69182D9BD7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ATS.framework/Versions/A/Resources/ATSHI.dylib
    0xd518000 -  0xd51cffb  libFontRegistryUI.dylib (??? - ???) <608F6D4D-9CDD-3D7F-8504-24398B4C1A54> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/A TS.framework/Resources/libFontRegistryUI.dylib
    0xdbc6000 -  0xdc67fff +SwitchBoardClient (??? - ???) <9C73EA94-A105-44A6-4585-3979C210B22D> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/SwitchBoardClient.bundle/Contents/MacOS/S witchBoardClient
    0x40000000 - 0x400d1fe7 +AdobeJP2K (??? - ???) <EF392886-5A95-6A96-C95D-43DA0322925C> /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/Frameworks/AdobeJP2K.framework/Versions/A/AdobeJP2K
    0x8f002000 - 0x8f7a4ffb  com.apple.GeForceGLDriver (7.12.9 - 7.1.2) <1570AD94-BFF7-3660-A6C5-64F3004B2572> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeFo rceGLDriver
    0x8feac000 - 0x8fede9c7  dyld (195.5 - ???) <BCC83F99-7244-3DBA-867D-6226D53DD9F2> /usr/lib/dyld
    0x9002b000 - 0x90030ffd  libGFXShared.dylib (??? - ???) <820D744C-C641-3918-A72A-AC2E5276BCB6> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libG FXShared.dylib
    0x90031000 - 0x90031fff  libdnsinfo.dylib (395.7.0 - compatibility 1.0.0) <A870EB56-560C-3DA2-B189-6E0FD2D3B66D> /usr/lib/system/libdnsinfo.dylib
    0x90048000 - 0x90048ff0  com.apple.ApplicationServices (41 - 41) <C48EF6B2-ABF9-35BD-A07A-A38EC0008294> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/A pplicationServices
    0x900cb000 - 0x902b4ff7  com.apple.CoreData (104 - 358.12) <F8AD7990-2C30-31A4-8E78-FA8DD5CF03CC> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x904ff000 - 0x904fffff  com.apple.vecLib (3.7 - vecLib 3.7) <8CCF99BF-A4B7-3C01-9219-B83D2AE5F82A> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x9054b000 - 0x90bdcfe3  libclh.dylib (4.0.3 - 4.0.3) <74C875FE-0355-3A3E-974F-E324A2A7C0DE> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libc lh.dylib
    0x90c1f000 - 0x90e92fff  com.apple.CoreImage (7.82 - 1.0.1) <6C99F458-E83A-3538-9B71-2C8BD0C9DCD5> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks /CoreImage.framework/Versions/A/CoreImage
    0x90eb7000 - 0x90fafff7  libFontParser.dylib (??? - ???) <83E7E71E-D217-3DEE-B288-F5BAE7E118C5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x92a38000 - 0x92a3cff7  com.apple.OpenDirectory (10.7 - 146) <3D3D30CE-6D82-3681-AA98-4E3AEFFA4229> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDir ectory
    0x92a3d000 - 0x92a3efff  libDiagnosticMessagesClient.dylib (??? - ???) <DB3889C2-2FC2-3087-A2A2-4C319455E35C> /usr/lib/libDiagnosticMessagesClient.dylib
    0x92a6f000 - 0x92a70fff  liblangid.dylib (??? - ???) <C8C204E9-1785-3785-BBD7-22D59493B98B> /usr/lib/liblangid.dylib
    0x92a81000 - 0x92ad9fff  com.apple.HIServices (1.10 - ???) <76B50B43-6CFD-3067-A085-11420FD4FAA6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/HIServices.framework/Versions/A/HIServices
    0x92b00000 - 0x92b19fff  libPng.dylib (??? - ???) <A83B66DC-302C-3A4C-8107-0E5560708024> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x92b86000 - 0x92b8dffd  com.apple.NetFS (4.0 - 4.0) <AE731CFE-1B2E-3E46-8759-843F5FB8C24F> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x92fb6000 - 0x92fcbfff  com.apple.speech.synthesis.framework (4.0.74 - 4.0.74) <92AADDB0-BADF-3B00-8941-B8390EDC931B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x93148000 - 0x933cdfe3  com.apple.QuickTime (7.7.1 - 2306) <F8C64DC4-3FE4-3A06-B10B-59E7F3BA6FDD> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x933ce000 - 0x9348efff  com.apple.CoreServices.OSServices (478.29 - 478.29) <EAAAAC1B-2599-3875-9068-DF7E6B5760A8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Framewor ks/OSServices.framework/Versions/A/OSServices
    0x93566000 - 0x93582ff5  com.apple.GenerationalStorage (1.0 - 125) <F1D67293-9192-367D-AE74-2732B23E7E77> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versi ons/A/GenerationalStorage
    0x937e7000 - 0x9384cff7  libvDSP.dylib (325.4.0 - compatibility 1.0.0) <4B4B32D2-4F66-3B0D-BD61-FA8429FF8507> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks /vecLib.framework/Versions/A/libvDSP.dylib
    0x9391c000 - 0x9391effb  libRadiance.dylib (??? - ???) <4721057E-5A1F-3083-911B-200ED1CE7678> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x9392a000 - 0x93999fff  com.apple.Heimdal (2.1 - 2.0) <DE626683-DF32-341B-8997-AE63309590C7> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimda l
    0x939a6000 - 0x93b07ffb  com.apple.QuartzCore (1.7 - 270.0) <0916DA83-6400-3FEA-BC53-5F4BA4D126EC> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x93b08000 - 0x93bd3fff  libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <1B0A12B3-DAFA-31E2-8F82-E98D620E4D72> /usr/lib/system/libsystem_c.dylib
    0x93ee1000 - 0x93f6eff7  com.apple.CoreText (220.11.0 - ???) <4F98D709-75AC-35F0-AD88-8F2C4BD744C0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/CoreText.framework/Versions/A/CoreText
    0x93f6f000 - 0x93fcbff3  com.apple.Symbolication (1.2 - 83.1) <A458DFFA-0294-319F-9508-D29A39487B1F> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/ Symbolication
    0x93fcc000 - 0x93fd5ff3  com.apple.CommonAuth (2.1 - 2.0) <D49B41B1-A5DD-366A-8C30-49E9B875AA13> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/Com monAuth
    0x940eb000 - 0x9414dff3  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <266CE9B3-526A-3C41-BA58-7AE66A3B15FD> /usr/lib/libstdc++.6.dylib
    0x94282000 - 0x942a0ff7  libsystem_kernel.dylib (1699.24.8 - compatibility 1.0.0) <124A6CE3-3934-3994-9D0A-E85A0C0BF082> /usr/lib/system/libsystem_kernel.dylib
    0x942a1000 - 0x942a9ff3  libunwind.dylib (30.0.0 - compatibility 1.0.0) <E8DA8CEC-12D6-3C8D-B2E2-5D567C8F3CB5> /usr/lib/system/libunwind.dylib
    0x942aa000 - 0x9438dff7  libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <BD913D3B-388D-33AE-AA5E-4810C743C28F> /usr/lib/libcrypto.0.9.8.dylib
    0x943e0000 - 0x9447bff3  com.apple.ink.framework (1.3.2 - 110) <F0E9C225-0D20-31D2-AB14-2299CFAE6C2E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink .framework/Versions/A/Ink
    0x9447c000 - 0x944cdff9  com.apple.ScalableUserInterface (1.0 - 1) <3C39DF4D-5CAE-373A-BE08-8CD16E514337> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks /ScalableUserInterface.framework/Versions/A/ScalableUserInterface
    0x944e5000 - 0x944f3fff  libdispatch.dylib (187.7.0 - compatibility 1.0.0) <B50C62AD-0B5B-34C3-A491-ECFD72ED505E> /usr/lib/system/libdispatch.dylib
    0x94b70000 - 0x94b70fff  com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) <22997C20-BEB7-301D-86C5-5BFB3B06D212> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks /vecLib.framework/Versions/A/vecLib
    0x94c29000 - 0x94c4cfff  com.apple.CoreVideo (1.7 - 70.1) <3520F013-DF91-364E-88CF-ED252A7BD0AE> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x94c4d000 - 0x94d35fff  libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <A1B07527-9C74-3107-A972-9795B817D683> /usr/lib/libxml2.2.dylib
    0x94d36000 - 0x94d36fff  com.apple.Accelerate (1.7 - Accelerate 1.7) <4192CE7A-BCE0-3D3C-AAF7-6F1B3C607386> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x94d37000 - 0x94d3cff7  libmacho.dylib (800.0.0 - compatibility 1.0.0) <943213F3-CC9B-328E-8A6F-16D85C4274C7> /usr/lib/system/libmacho.dylib
    0x94d95000 - 0x94df6ffb  com.apple.audio.CoreAudio (4.0.1 - 4.0.1) <089D78E0-46A6-38DB-9545-7F35CC815939> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x94df7000 - 0x94e0affb  com.apple.MultitouchSupport.framework (220.62.1 - 220.62.1) <3D94520B-C976-370F-AF56-278002BCF11D> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Version s/A/MultitouchSupport
    0x95035000 - 0x9505dff7  libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <5158C760-D168-3842-AAE0-3B146B3537A7> /usr/lib/libxslt.1.dylib
    0x95062000 - 0x95065ffd  libCoreVMClient.dylib (??? - ???) <2D135537-F9A6-33B1-9B01-6ECE7E929C00> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libC oreVMClient.dylib
    0x95066000 - 0x950adfff  com.apple.SystemConfiguration (1.11.1 - 1.11) <CA6CE2B6-DC18-31FF-9668-70BB2FD8D7BB> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/S ystemConfiguration
    0x95162000 - 0x95173fff  libbsm.0.dylib (??? - ???) <54ACF696-87C6-3652-808A-17BE7275C230> /usr/lib/libbsm.0.dylib
    0x9517a000 - 0x9517bffd  libCVMSPluginSupport.dylib (??? - ???) <96F2F2F4-E7A9-36C8-B1CF-D58AA3DB2B44> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libC VMSPluginSupport.dylib
    0x9520d000 - 0x9525dff4  libTIFF.dylib (??? - ???) <E86EA22A-82C0-3E77-9EAF-739F385790D9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x9525e000 - 0x95274ffe  libxpc.dylib (77.17.0 - compatibility 1.0.0) <E01E0074-0830-3F20-8703-EA7722BFD358> /usr/lib/system/libxpc.dylib
    0x95275000 - 0x952ceffb  com.apple.coreui (1.2.1 - 164.1) <890E0BE9-3360-3B56-BE46-5A2421875A40> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x952db000 - 0x95300ff9  libJPEG.dylib (??? - ???) <743578F6-8C0C-39CC-9F15-3A01E1616EAE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x95301000 - 0x953a5fff  com.apple.QD (3.12 - ???) <02425CB4-2571-307F-96AD-F3CD3C83614A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/QD.framework/Versions/A/QD
    0x953a6000 - 0x954b7ff7  libJP2.dylib (??? - ???) <35D120D4-3304-3A02-9259-EB933E74E63A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x95515000 - 0x95517ff7  libdyld.dylib (195.5.0 - compatibility 1.0.0) <52F7B44C-1B43-3B7B-9C9E-6410D8682935> /usr/lib/system/libdyld.dylib
    0x9551a000 - 0x9555dffd  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <6B35F203-5D72-335A-A4BC-CC89FEC0E14F> /usr/lib/system/libcommonCrypto.dylib
    0x9555e000 - 0x95a3aff6  libBLAS.dylib (??? - ???) <134ABFC6-F29E-3DC5-8E57-E13CB6EF7B41> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks /vecLib.framework/Versions/A/libBLAS.dylib
    0x95a3b000 - 0x95b11a5b  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <A0EDB351-4B9D-3AA2-9D1A-0C22204FCCD3> /usr/lib/libobjc.A.dylib
    0x95b85000 - 0x95ca5fec  com.apple.vImage (5.1 - 5.1) <008B989F-F080-398E-ACB1-FBF5BA107D6D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks /vImage.framework/Versions/A/vImage
    0x95ca6000 - 0x95cadff9  libsystem_dnssd.dylib (??? - ???) <2FD48636-7CFA-32FA-A595-F12E4246E355> /usr/lib/system/libsystem_dnssd.dylib
    0x95cae000 - 0x95cf7ff7  libGLU.dylib (??? - ???) <AEA2AD9A-EEDD-39B8-9B28-4C7C1BACB594> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libG LU.dylib
    0x95cf8000 - 0x95d15ff3  com.apple.openscripting (1.3.3 - ???) <8ABD04D6-7B7A-3C39-801E-1630098D5B42> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ope nScripting.framework/Versions/A/OpenScripting
    0x95d16000 - 0x95d16fff  com.apple.audio.units.AudioUnit (1.7.1 - 1.7.1) <2E71E880-25D1-3210-8D26-21EC47ED810C> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x95d17000 - 0x95d17fff  com.apple.Cocoa (6.6 - ???) <5FAFE73E-6AF5-3D09-9191-0BDC8C6875CB> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x95d18000 - 0x95d2dff7  com.apple.ImageCapture (7.0 - 7.0) <E019C6BB-CCE9-3D8C-A131-909CE8853502> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ima geCapture.framework/Versions/A/ImageCapture
    0x96096000 - 0x9609aff3  libsystem_network.dylib (??? - ???) <62EBADDA-FC72-3275-AAB3-5EDD949FEFAF> /usr/lib/system/libsystem_network.dylib
    0x9617d000 - 0x961a6ffe  com.apple.opencl (1.50.63 - 1.50.63) <C4EC60D6-9A7C-3CE9-AA80-2F81D9BB4465> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x961e9000 - 0x962a6ff3  ColorSyncDeprecated.dylib (4.6.0 - compatibility 1.0.0) <ADBA42F5-0130-315B-880C-70AA70666474> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/C olorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
    0x962a7000 - 0x962b2ff3  libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <9B131BA5-E89B-3628-9F52-756D46EBC468> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x962d5000 - 0x962e5fff  com.apple.LangAnalysis (1.7.0 - 1.7.0) <6D6F0C9D-2EEA-3578-AF3D-E2A09BCECAF3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x962e6000 - 0x9636dfff  com.apple.print.framework.PrintCore (7.1 - 366.1) <BD9120A6-BFB0-3796-A903-05F627F696DF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/PrintCore.framework/Versions/A/PrintCore
    0x9636e000 - 0x96544fe3  com.apple.CoreFoundation (6.7.1 - 635.15) <AC9F6462-6315-3D89-8075-D048DB4DBF7E> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFo undation
    0x965aa000 - 0x968acfff  com.apple.CoreServices.CarbonCore (960.18 - 960.18) <8094724D-591D-3CC2-81DE-4E3029624E11> /System/Library/Frameworks/CoreServices.framework/Versions/A/Framewor ks/CarbonCore.framework/Versions/A/CarbonCore
    0x968eb000 - 0x96a9fff3  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <6AD14A51-AEA8-3732-B07B-DEA37577E13A> /usr/lib/libicucore.A.dylib
    0x96aa0000 - 0x96aa3ffb  com.apple.help (1.3.2 - 42) <B1E6701C-7473-30B2-AB5A-AFC9A4823694> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Hel p.framework/Versions/A/Help
    0x96aa4000 - 0x96bb3ff7  libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <90D36793-04A5-3BFF-BE83-EEEDCBEDC756> /usr/lib/libsqlite3.dylib
    0x96d09000 - 0x96e18ffb  com.apple.DesktopServices (1.6.1 - 1.6.1) <9F02752A-617B-3AC7-BCA1-F040C105EDDE> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versi ons/A/DesktopServicesPriv
    0x96e19000 - 0x96e7dfff  com.apple.framework.IOKit (2.0 - ???) <D14460ED-2B6C-375D-B3A4-B8C82E922666> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x96e7e000 - 0x96ee0ffb  com.apple.datadetectorscore (3.0 - 179.4) <12EF80E0-35CC-30A7-942F-2F9E87C4C98C> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Version s/A/DataDetectorsCore
    0x96ee1000 - 0x96eecfff  libkxld.dylib (??? - ???) <AD3C0B3E-EBA8-3A85-ADDB-F86613564E2D> /usr/lib/system/libkxld.dylib
    0x96eed000 - 0x96f4affb  com.apple.htmlrendering (76 - 1.1.4) <409EF0CB-2997-369A-9326-BE12436B9EE1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTM LRendering.framework/Versions/A/HTMLRendering
    0x96f4c000 - 0x9701bfff  com.apple.ImageIO.framework (3.1.1 - 3.1.1) <8B8A3DD3-BB3D-33FC-A714-81E1B883B155> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ImageIO.framework/Versions/A/ImageIO
    0x9701c000 - 0x9702afff  com.apple.opengl (1.7.5 - 1.7.5) <81166D23-DE8E-3938-AAD3-29B1FA5E446E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x9702b000 - 0x974a0ff7  FaceCoreLight (1.4.7 - compatibility 1.0.0) <312D0F58-B8E7-3F61-8A83-30C95F2EBEAA> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/ FaceCoreLight
    0x975b9000 - 0x975f5fff  libcups.2.dylib (2.9.0 - compatibility 2.0.0) <AA56493C-D7C6-3D4F-8DC8-855405AFF57B> /usr/lib/libcups.2.dylib
    0x97651000 - 0x97655fff  libGIF.dylib (??? - ???) <06E85451-F51C-31C4-B5A6-180819BD9738> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/F rameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x9770d000 - 0x97715fff  com.apple.DiskArbitration (2.4.1 - 2.4.1) <28D5D8B5-14E8-3DA1-9085-B9BC96835ACF> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskA rbitration

    I updated to acr 6.6. So far, the first few minutes, it works. No crashing when I go to folders with tiffs or dngs and the bridge crashes. I think I'll wait and see before I am sure it's holding. let you know later  if it works long term or not.

  • How to Clear all the data of open windows form of another exe?

    Hi,
    I want to make utility which will clear all the data from one windows application.
    i know the application name. The application of which data i want to clear is made in C# and contains many windows forms and controls.
    out of that opened windows form and controls inside it need to be cleared.
    Please guide on how to do this in C#?

    Short version: Find the window and send it a message with
    SendMessage.
    Open up Spy++ and find your form's window.  You will see that the window has children and they have classes of the form "WindowsForms10.EDIT.*"  Those are TextBox controls.  You can call things like SetWindowText to set the
    text of the window to clear it.
    To do this programmatically, you'll have to obtain the window hand that corresponds to the control.  You can find windows with
    FindWindowEx or
    EnumWindows.  Locate the window by name or class or whatever else you can determine about it.  Find the child windows and "clear" them however you wish.  I assume you mean to set empty strings to all the TextEdit controls. If you
    intend to do something more sophisticated than that, then you'll have to be more specific about what you mean by "Clear all the data".
    It may or may not be obvious that you'll be poking around with Win32 API calls via PInvoke to accomplish much of this. Example:
    SetWindowText via PInvoke.

  • I need Native Code for my code

    can anyone tell me native code for my method ..
    BOOL CALLBACK DetectProcesses(HWND hwnd, LPARAM lParam)
         char str[60] ;
         ::GetWindowText(hwnd, str, 60) ;
         CListBox listbox = (CListBox )lParam ;
         if( str[0] != 0 )
              listbox->AddString( str ) ;
         return true ;
    BOOL CAllProcessesDlg::OnInitDialog()
         CDialog::OnInitDialog();
         // Add "About..." menu item to system menu.
         // IDM_ABOUTBOX must be in the system command range.
         ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
         ASSERT(IDM_ABOUTBOX < 0xF000);
         CMenu* pSysMenu = GetSystemMenu(FALSE);
         if (pSysMenu != NULL)
              CString strAboutMenu;
              strAboutMenu.LoadString(IDS_ABOUTBOX);
              if (!strAboutMenu.IsEmpty())
                   pSysMenu->AppendMenu(MF_SEPARATOR);
                   pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
         // Set the icon for this dialog. The framework does this automatically
         // when the application's main window is not a dialog
         SetIcon(m_hIcon, TRUE);               // Set big icon
         SetIcon(m_hIcon, FALSE);          // Set small icon
         LPARAM lp = (LPARAM)&m_process ;
         ::EnumWindows(DetectProcesses, lp) ;
         return TRUE; // return TRUE unless you set the focus to a control
    }

    can anyone tell me native code for my method ..native code for your method

  • White line at print - not in pdf or indesign

    Hi there
    I am a newbie with indesign, but still managed to create a cv. However, when I print, it creates a white line at the right margin, that is not shown in indesign or in the pdf reader. I have circled the line from the show print screen at the pdf reader - you can see it here: http://imageshack.us/photo/my-images/833/whybv.png/  what can the problem be?
    Thanks in advance... 

    I think that it was a display error in Foxit reader, since it do not appear in print screen preview in Adobe Acrobat...  However, the images are here:   ID: http://imageshack.us/photo/my-images/834/cornerg.png/   Adobe:  http://imageshack.us/photo/my-images/713/adobex.png/

  • E-Mail in Outlook über Visual Basic mit Hilfe von AdobePDFMakerforOffice erstellen

    Ich möchte gerne aus Visual Basic eine E-Mail aus Outlook als PDF abspeichern, wobei ich auch gerne die Anhänge mit im PDF abspeichern möchte. Dazu möchte ich das Addin in Outlook über Visual Basic verwenden.
    Ich verwende derzeit VisualBasix Express und Adobe Acrobat XI Version 11.0.4.
    Ich habe aufgrund von Quelltexten im Internet nachfolgenden Code erstellt, wobei ich das Objekt bzw. das Addin in Outlook das "AdobePDFMakerforOffice" anscheind nicht finden bzw. zuordnen kann.
    Von Visual Basic wurde folgende Fehlermeldung angezeigt bei der markierten "-------->>" Zeile angezeigt:
    "Zusätzliche Informationen: Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "AdobePDFMakerForOffice.PDFMaker" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{1FE6F30F-4AA0-4EB5-A61C-00C14761EC3E}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE))."
    Es gibt wohl verschiedene Möglichkeiten das Objekt zu übernehmen, aber ich bekomme immer diese Fehlermeldung. Die Meldungen zwischendurch habe ich nur zur Bestätigung, dass Outlook bzw. das AdobePDFForOffice gefunden w bzw. connectet ist hinzugefügt.
    Weiß hier jemand Rat ?
    Der Code lautet:
    Imports System.Diagnostics
    Imports System.Linq
    Imports System.Reflection
    Imports System.Runtime.InteropServices
    Imports Microsoft.Office.Interop
    Imports AdobePDFMakerForOffice
    Private Sub BtnEmailOutlookPdf_Click(sender As Object, e As EventArgs) Handles BtnEmailOutlookPdf.Click
            Dim appAdobe As AdobePDFMakerForOffice.PDFMaker
            Dim appsettings As AdobePDFMakerForOffice.ISettings
            Dim Result As Boolean = EnumWindows(Callback, IntPtr.Zero)
            Dim ObjOl As Object
            Dim myItem As Outlook.Inspector
            Dim SpeichernameMSG, SpeichernamePDF As String
            Dim a
            Dim IndX As Int16
            Dim objInterOL As Microsoft.Office.Interop.Outlook.Application
            Dim objSelection As Microsoft.Office.Interop.Outlook.Selection
            Dim objItems As Microsoft.Office.Interop.Outlook.Items
            Dim objMailItem As Microsoft.Office.Interop.Outlook.MailItem
            ' Outlook suche und Objekt übernehmen
            If Process.GetProcessesByName("OUTLOOK").Count() > 0 Then
                ' If so, use the GetActiveObject method to obtain the process and cast it to an Application object.
                objInterOL = DirectCast(Marshal.GetActiveObject("Outlook.Application"), Outlook.Application)
                'MsgBox("Outlook-Objekt übergeben: Erfolg")
            Else
                MsgBox("Outlook ist nicht geöffnet, bitte Outlook starten")
            End If
            'Acrobat Objekt in Outlook suchen
            With objInterOL
                Do
                    IndX = IndX + 1
                    If IndX > .COMAddIns.Count Then Exit Do
                Loop Until .COMAddIns(IndX).Description = "Acrobat PDFMaker Office COM Addin"
                If IndX > .COMAddIns.Count Then
                    MsgBox("Unable to locate Acrobat PDFMaker COM Add-In for Microsoft Office." & vbCrLf & "Please contact an MIS associate for assistance", vbCritical, "Cannot Export PDF")
                Else
                    'MsgBox("My ProgID is " & .COMAddIns(1).ProgID & " and my GUID is " & .COMAddIns(1).Guid)
                    If .COMAddIns(IndX).Connect Then
                        MsgBox("The add-in is connected.")
                    Else
                        MsgBox("The add-in is not connected.")
                    End If
    ---->>>>       appAdobe = .COMAddIns(IndX).object                       <<---------------------
                    MsgBox("appAdobe zugewiesen !")
                End If
            End With
            SpeichernamePDF = "Test.PDF"
            appAdobe.GetCurrentConversationSettings(appsettings)
            With appsettings
                .IsConversionSilent = True
                .IsAutomation = True
                .ShouldShowProgressDialog = True
                .AddTags = False
                .ConvertComments = True
                .AddBookmarks = False
                .AddLinks = False
                .OutputPDFFileName = SpeichernamePDF
                .ViewPDFFile = True
                .AttachSourceFile = False
            End With
            appAdobe.CreatePDFEx(appsettings, 0)
        End Sub

    I don't think the Adobe Reader forum is the right place to discuss such an issue.  Try
    http://forums.adobe.com/community/acrobat/acrobat_sdk (in English, if possible)
    http://forums.adobe.com/community/international_forums/deutsche (deutsches Forum)

  • Getting (WHND) of windows applications

    Hi,
    I am trying to develop an application that on windows retrives the handles of a couple of native windows applications, to see if I can remote controll them using the message quea. I am not sure this is the right forum, but the one that seems to match most. I have unsuccesfully tried a couple of other forums.
    Does some one know how to retrieve a handle from another application please?
    Even without using J/Direct please?
    Thanks in advance.
    Michael (fairly inexperienced)

    Getting the HWND of a Win32 application depends largely on your understanding of the Windows architecture. There are two main approaches from a total-solution perspective. BOTH perspectives rely on Java Native Interface API, but they use it differently. After you decide which of these two options to choose, you need to ask yourself, What input parameters can I provide to determine which Window's HWND I need?
    1. Use the JNI, or a third-party library based upon it, to map individual Win32 API calls (like EnumWindows) into a Java class. Then write a Java program that calls these Win32 methods tagged as native in Java. This is the strategy used to implement the Standard Widget Toolkit, by the way...
    2. Use the JNI, but in a different way, to call a more complicated Win32 procedure (rather than just the basics of JNI, which allow you to call a DLL which was written in C.) You could use Njawin, for example, to call into a COM DLL (like a Visual Basic application) which itself provides a more complete solution to the problem. APIs like Jawin, JIntegra, Njawin, and JacobGen will take a complicated Win32 binary module (a DLL, TLB, etc. depending upon which solution we're talking about) and interoperate it with Java, allowing you to retrieve Pure Java return types, call methods synchronously or asynchronously, etc.
    If you are going to be invoking further native functionality after you get the HWND (as you hinted with the message queue), you will probably want to go with Solution 2; coding directly to the Win32 API is not necessary in many situations. If you need to use JAVA as the front end to your program, but you want a lot of native functionality, then:
    1. Write all your native functionality in a high-level, object-oriented, COM-enabled Win32 programming language like Delphi, VB, C++, etc.
    2. Code the main native procedure into a public object inside a COM DLL, and use JacobGen or Njawin to be able to call that method from inside Java.

  • Very hard to implement a long process dll or applicatio​n in TestStand such as firmware download task.

    Hi All
    In my daily projects there are many firmware download tasks on mass production for kinds of products sucha s phone, mp3, game box and so on. The common download is performed via USB or serial port.
    Firmware download is often a long process what will take up to hundreds of seconds. The download application or dll is often provided by customer or the chipset supplier, I have ever call a download dll in TestStand, the only way is to run the dll in another threading and at the UI threading I monitor the dll's log file for status, it looks a very stupid way to do, things oftn lose control.
    This time I have to automatically download firmwares to a mp3(Sigmatel chipset), Sigmatel provided an application for parallel downloading what is very unstable, the application often hangs or crash, I tried to update the application source code but Sigmatel says they will not support if I change something.
    If someone use the application, he needs to press the START button, if fail, press the STOP firstly, if crash..... everything lose control. In my opinion, even if I change the application to a dll, there are still long processes, I must let TestStand wait there for the log file information? I do not think that is a good idea.
    My thought is this is a usual task in manufacturing, could someone please advice me how do you handle this kind of testing in your test station? How to run a long process task in TestStand and communicatio with it and keep everything in control.
    Thanks.
    帖子被paulbin在04-06-2008 07:49 PM时编辑过了
    *The best Chinese farmer*

    Hi,
    I have used a VC++ dll
    Here are some snipptes
    void CProcessLoaderApp:ostMessageToProcess(LPPROCESS_INFORMATION lpProcessInformation,UINT Msg, WPARAM wParam, LPARAM lParam)
     FINDWINDOWHANDLESTRUCT fwhs;
     fwhs.ProcessInfo = lpProcessInformation;
     fwhs.hWndFound  = NULL;
    EnumWindows ( EnumWindowCallBack, (LPARAM)&fwhs ) ;
     PostMessage ( fwhs.hWndFound, Msg, wParam, lParam );
    BOOL CALLBACK CProcessLoaderApp::EnumWindowRcs5SystemTestCallBac​k(HWND hwnd, LPARAM lParam)
     FINDWINDOWHANDLESTRUCT * pfwhs = (FINDWINDOWHANDLESTRUCT * )lParam;
     DWORD ProcessId;
     CString Title;
     GetWindowThreadProcessId ( hwnd, &ProcessId );
     // note: In order to make sure we have the MainFrame, verify that the title
     // has Zero-Length. Under Windows 98, sometimes the Client Window ( which doesn't
     // have a title ) is enumerated before the MainFrame
     CWnd::FromHandle( hwnd )->GetWindowText(Title);
     if ( ProcessId  == pfwhs->ProcessInfo->dwProcessId && Title.Compare("MyApplicationName_ReplaceThatStuff"​) == 0)
      pfwhs->hWndFound = hwnd;
      return false;
     else
      // Keep enumerating
      return true;
     MainStuff:
    SetCursorPos(10,23);
     m_App.PostMessageToProcess(&g_pi,WM_LBUTTONDOWN,0​x01,0x000A0017);
      WaitForSingleObject(Event,200);
     m_App.PostMessageToProcess(&g_pi,WM_LBUTTONUP,0x0​0,0x000A0017);
      WaitForSingleObject(Event,200);
    Greetings
    juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

Maybe you are looking for