Issue with Multithreading and vertical scroll bar - help needed to debug!!!

I have been working on a desktop Visual Studio 2010 application for quite a few years. It is written in C++ and MFC. This code is a combination of code I have written and code I inherited. It worked great for years on Windows XP, but when I ported
it to Windows 7, a tricky problem has come up that I am having the darnest time trying to figure out
In summary, it is a single .exe desktop application. There is the main thread (thread A), which launches another thread (thread B). Both threads share a pointer to a single window object which displays events. This window also implements a vertical and horizontal
scroll bar. 
The interaction and message processing between the threads seems a little sticky to me. Both threads A and B call the same member function of the CWnd object. BUT, Thread B ALSO posts messages to thread A's queue.
So, in thread B, you will see code like this, which makes a direct call to the output window object, AND THEN it also posts a message to Thread A's mainframe window like this...
if( m_pEventLog )
pOutputWindow->AddLine("Some test...");
if( m_phNotifyWnd[RECEIVE] && m_puiEventWMsg[RECEIVE] ) {
::PostMessage( m_phNotifyWnd[RECEIVE], m_puiEventWMsg[RECEIVE], 0, (LPARAM) pPkt );
WHEN thread A receives the message that thread B posted above, it only does the following:
LRESULT CMainFrame::OnSocketReceive( WPARAM, LPARAM lParam )
CSPkt* pPkt;
CRWPkt* pRWPkt;
CSPktSocket* pSocket;
ULONG ulType;
CString csTemp;
CBSWords bsWords;
CSSSWords sssWords;
CRWPkt* pLoopBackRWMsg; // used if we have to send a loopback msg back to sender
CLMsg lmsg;
m_wndTextWindow.AddLine("Test message");
return 0;
So both threads are writing to the output window via the .AddLine() member function.
void COutputWnd::AddLine( CString& strLine, COLORREF crColor )
UpdateVScroll();
return;
And this function then makes a call to :UpdateVScroll().  The problem seems to arise because thread B does a
post to thread A, where thread A in turn writes to the output window. Eventually, the program
HANGS in the call to
SetScrollInfo() below...
void COutputWnd::UpdateVScroll()
CSingleLock lock( &m_CSVertScrollLock ); // lock things up while we are in here
BOOL bok = lock.Lock();
if (lock.IsLocked() == TRUE)
int iMax = m_FifoIndices.GetHighestIndex();
if( iMax < ( m_iMaxViewableLines - 1 ) )
iMax = 0;
//SetScrollRange( SB_VERT, 0, iMax, FALSE );
//SetScrollRange( SB_VERT, 0, 9, FALSE );
SCROLLINFO scrollinfo;
scrollinfo.cbSize = sizeof(SCROLLINFO);
scrollinfo.fMask = SIF_RANGE;
scrollinfo.nMin=0;
scrollinfo.nMax= iMax;
SetScrollInfo(SB_VERT, &scrollinfo, FALSE);
lock.Unlock();
It doesn't take long for the program to hang...maybe about 10 seconds. 
When I hit DEBUG->BREAK ALL, I get the output below in the CALL STACK WINDOW.
ntdll.dll!770070f4()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
user32.dll!76c0cde0()
user32.dll!76c018d9()
>
mfc100d.dll!AfxInternalPumpMessage()  Line 153 + 0x13 bytes
C++
mfc100d.dll!CWinThread::PumpMessage()  Line 900
C++
mfc100d.dll!CWinThread::Run()  Line 629 + 0xd bytes
C++
mfc100d.dll!_AfxThreadEntry(void * pParam=0x0022f6a4)  Line 122 + 0x13 bytes
C++
msvcr100d.dll!_callthreadstartex()  Line 314 + 0xf bytes
C
msvcr100d.dll!_threadstartex(void * ptd=0x004f97c0)  Line 297
C
kernel32.dll!762cee1c()
ntdll.dll!770237eb()
ntdll.dll!770237be()
NOTE: If I never make the call to SetScrollInfo(), the program never HANGS.
Sooo....I am trying to determine if there is a fundamental issue with the way the threads are communicating that is causing the issue, or if maybe I have a memory overwrite. It always hangs in ::SetScrollInfo(), no matter what I comment and uncomment. This
makes me think that scroll bat behavior is different in Windows 7 than on XP, but I have not been able to find any documentation about it. 
Can anyone provide any insight as to what may be the cause of the program hanging>

It might look like working but it will crash eventually. The windows are thread affine and other thread must never touch other threads windows. Sometimes you might get along but usually it just crashes.
Thread B must use PostMessage ( or SendMessage if suncronous action is require) to thread A's windows to achieve correct updating. Some very basic calls are implemented directly with SendMessage so they are safe to use but then you must individually check
which ones are safe.
Also having multiple SendMessage calls from B to A require rendezvous which might cause other problems ( thread B stalls or program deadlocks, depending on other program structure).
So PostMessage is the way to do it ( or create yourself another inter-thread mechanism, possible but usually too much troble)

Similar Messages

  • Is there a way to hide the horizontal and vertical scroll bar?

    Hi,
    I have report with customized page height and width and I am displaying it in the windows forms.
    When I am resizing the form wherein the crviewer is dock in, the horizontal and vertical scroll bars appears.
    Is there a way for me to suppress the those scrollbars?
    Thanks in advance.

    Couple of ways I've been able to find info about. E.g.; there is not straight API off os the viewer (CRviewer.ScrollBar = False ).
    1)  Add Panel control onto the page and add report viewer control into a Panel. Set Scrollbar, width, height property of Panel control.
    2) See http://www.dotnetspider.com/forum/266932-Remove-Scrollbar-from-Crystal-report-Viewer.aspx for another idea.
    If either of the above works for you, please let us know as I have not tested this yet.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How do I view the Horizontal Scrolling bar and status bar at the bottom of the screen. I can only see the top menus, toolbars and vertical scroll bar?

    Before the most recent upgrade, the bottom horizontal scrolling bar and status bar appeared on my screen. Now since upgrading, I cannot see the. Anyone ideas how to restore them?

    If you haven't already, you could force-quit Quicktime by using the menu option from the desktop (finder) and choose Quicktime.
    Not sure what you have frozen on the screen, be it a failed movie, or some unusual screen shot. If you can find by date (created) you may be able to look for .mov or quicktime suffix name or other video file content to delete it.
    And you may have to restart your computer and perhaps run repair disk permissions from Disk Utility's first aid on the hard disk drive in your computer.
    Not sure if all that would help now, but it is something a few days late...!
    Good luck & happy computing!

  • I need to turn the horizontal and vertical scroll bars off when in full screen mode is this possible

    I am using a touchscreen monitor and am running the website at 1280 x 1024, however there are scroll bars and I dont want them and I dont want to alter the HTML

    Try this code in the file [http://kb.mozillazine.org/userContent.css userContent.css]
    <pre><nowiki>html,body { overflow: hidden !important; }</nowiki></pre>
    * http://kb.mozillazine.org/Editing_configuration
    * ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html

  • Java applet and vertical scroll bar

    Hi,
    We are upgrading from SRM 3.0 to 5.0 and are encountering these 2 issues:
    1- When clicking on approval preview users get a Java pop up box titled "request authentication", the warning message is: Identification Required. Please select certificate to be used for authentication." when the click okay it disappears and approval preview is displayed. No configuration is maintained for signed java applet.
    2- in shop create on the web, everytime the page gets refreshed from entering data or clicking on an icon, it displays back in sections starting with the top of the page (default settings for items) and it may take up to 20 seconds for the whole page to finally get displayed.
    If anyone has encountered and was able resolve these issues, please let me know.
    (SRM 550 SAPKIBKT10)
    Thank you,
    Richard

    Not sure if this issue is resolved, but the 1st question is something which is related to the IT Network/PC division folks. The certificate is termed "unsafe" or "not trusted" by your network, this is why you get the popup everytime. Inform the network division of your company which is responsible for the maintenance of servers/workstations to add this certificate into the "trusted certificate" list of their servers. Even your basis team should be able to guide you.

  • Corner Button with only a Vertical Scroll Bar

    I would like to have a corner button but the ScrollPane only requires a Vertical ScrollBar, and thus there is no room for the button. I understand it is possible to have a Heading which will then create the corner space required for a button, could somebody please point me to an example of a heading with a single line of text.
    The ScrollPane does not contain a Table but a TextPane containing document.
    Thanks
    Rich

    Something like this should work...
    JLabel columnHeaderComponent = new JLabel("some text in one line...");
    JScrollPane scrollPane = new JScrollPane(someComponent);
    scrollPane.setColumnHeaderView(columnHeaderComponent);In order to have more control over the columnHeaderComponent you should write your own class that overwrites getPreferredSize, getMinimumSize and getMaximumSize so that the component fits your needs.
    Finally you do something like...
    scrollPane.setCorner(JScrollPane.UPPER_LEFT_CORNER, topLeftElement);
    scrollPane.setCorner(JScrollPane.UPPER_RIGHT_CORNER, topRightElement);Greets
    Christian

  • Personalization Issue with Master Item form EBS R12 -help needed

    There is an existing personalization in EBS 11i on Master Item form (INVIDITM) that is ported over to R12. Personalization prevents one responsibility from making updates/inserts.
    trigger event: WHEN-NEW-FORM-INSTANCE
    responsibiity: INV Inquiry
    Under Action tab:
    Block>MTL_SYSTEM_ITEMS>UPDATE_ALLOWED>FALSE
    Block>MTL_SYSTEM_ITEMS>INSERT_ALLOWED>FALSE
    Block>MTL_SYSTEM_ITEMS>DELETE_ALLOWED>FALSE (although this is not needed since seeded form prevents deletes)
    In 11i this works as intended, i.e. when form is opened no updates or inserts are possible. When block is queried the data is not updatable, no inserts are possible.
    In R12 (12.1.3) when form is opened no updates or inserts are possible. When block is queried the data fields become updatable and can be saved. No inserts are possible though.
    I thought this is an anomaly.
    Has anyone encountered this. If so what is the solution?
    Thanks,
    Sunil

    Are thery any other personalization events in 11i, apart from WHEN-NEW-FORM-INSTANCE which are not migrated to R12?
    Thanks
    Shree

  • TileList does not recognize the size of vertical Scroll Bar

    Hi,
          I have a tileList with a custom vertical scroll bar that I made, the problem is that when the tilelist gets filled, it does not recognize that the vertical scroll bar width is not the default 16 pixels (I think the default value it's 16, but I'm not really sure) but 5 or 6 pixels, so the first time it gets filled it shows 3 columns of items (no problems with the rows). The columnWidth is set to 185, if I lower it to 180, it shows the 4 columns that I want it to show (instead of 3). I know that there is enough space because when I scroll down, and then scroll up, the fourth column appears. That's why I think that the TileList is not recognizing that the width of the vertical scroll Bar is less than the default width.
    Does anybody know how to make it recognize the new width? And how is  it that it has to take a scroll down to get it to recognize it.
    Thank you for your help.
    Sebasti'an Toro O.

    Yeah, you can try signing up for DropBox - it's a free service that allows you to sync any files between your iPhone and your computer.  More info here:  http://www.dropbox.com/about

  • How to fix double vertical scroll bar in responsive output

    After implementing the solution provided for the question 'Responsive HTML5 Output: How to auto adjust the screen resolution for all devices?', the function bar in output does not appear and also another vertical scroll bar in the output. I edited the max-width value in the layoutfix.min.css file and fixed the function bar issue. How can I do away with the additional vertical scroll bar?

    I've looked into the issue.
    @Delennish: In your case, the size of the iframe is too large, or you have an extra empty element below the iframe. You can try 2 things:
    1. Best solution but may have side effects: In the main.css, add the following code:
    div.contentholder { overflow: hidden !important;}
    For this option, please check for undesired side effects.
    2. Works, but is ugly: In the main.css, add the following code:
    div.floatholder iframe.wTopic { height: 95% !important;}
    Try playing with the height setting until the 2nd scrollbar disappears.
    @CarolW: The layout you're using is very old. I've made a new responsive layout with TOC only. Please use that one instead: http://www.wvanweelden.eu/sites/default/files/attachments/Theme1_Standard_TOC_Only.zip (I'll update my site with this new version later.)

  • Vertical Scroll Bar on the device display

    Hello,
    I had the problem with both horizontal and vertical scroll bars. Managed to get rid of the horizontal scroll bas using the parameters ~itsmobileelemfactor and ~itsmobileelemunits but the vertical scroll bar is still there. As our transactions are developed internally, I managed to sqeeze the screen elements but still the vertical scroll bars are there.
    I am testing with Intermec CK3 device with Intermec Browser.
    I was going thru this forum and someone has suggested to modify the CSS.
    Can someone help me which html parameters are required and under which css class e.g. font size, line-height etc to reduce the overall screen size? I am not good in HTML.
    Thanks in advance.
    Regards
    Narottam

    Hi Oisin,
    Parameters in SE80:
    ~GENERATEDYNPRO = 1
    ~ITSMOBILE = 1
    ~SOURCES = ZZITS_IB_LM00,ITSMOBILE01,ITSMOBILE
    ~THEME = 99
    ~TRANSACTION = LM01
    Parameters in SICF:
    ~ITSMOBILE = 1
    ~TRANSACTION = LM01
    ~THEME = 99
    ~SOURCES = ZZITS_IB_LM00, ITSMOBILE01,ITSMOBILE
    ~POPUPS = 1
    ~WEBTRANSACTIONTYPE = EWT
    ~ITSMOBILEDEVICEINCLUDE = ZZ_IBROWSE
    ~ITSMOBILEELEMFACTOR = 8
    ~ITSMOBILEELEMUNIT = px
    I know you helped me earlier and provided two OSS notes. Those nores are installed.
    Again, please let me know what I am missing to get rid of the vertical scroll bar. Strictly we have followed 16X20 screen size which is SAP RF standard.
    Regards
    Narottam

  • Vertical Scroll bars in analysis - View all rows

    Users want to see the whole report displayed in one page with only a vertical scroll bar. They do not want the up/down arrows. Is this possible in OBIEE?
    Thanks.
    Ad

    To implement the solution, please do:
    1. Change instanceconfig.xml file in <biee11g_install>\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1 as following
    <Views>
    <Pivot>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <DefaultRowsDisplayedInDownload>2500</DefaultRowsDisplayedInDownload>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <DisableAutoPreview>false</DisableAutoPreview>
    <MaxVisibleColumns>5000</MaxVisibleColumns>
    <MaxVisiblePages>2500</MaxVisiblePages>
    <MaxVisibleRows>500000</MaxVisibleRows>
    <MaxVisibleSections>5000</MaxVisibleSections>
    </Pivot>
    <Table>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <DefaultRowsDisplayedInDownload>2500</DefaultRowsDisplayedInDownload>
    <MaxVisiblePages>2500</MaxVisiblePages>
    <MaxVisibleRows>500000</MaxVisibleRows>
    <MaxVisibleSections>5000</MaxVisibleSections>
    </Table>
    </Views>
    3. Note the new elements added are the following to both <Pivot> and <Table>, the Pivot part controls Pivot view, and Table part controls Table View, my testing was done with Table View.
    <MaxVisiblePages>2500</MaxVisiblePages>
    <MaxVisibleRows>500000</MaxVisibleRows>
    <MaxVisibleSections>5000</MaxVisibleSections>
    4. Restart Presentation Server from EM, then run your request, do excel export to verify.
    Thanks...

  • Help with a vertical scroll bar issue with a List component

    hi. i have a basic <s:list> that uses an XMLListCollection as it's data provider and a very basic itemrenderer. when a row in the list is clicked a function gets the list.selectedIndex then populates some text fields with more xml data. that all works fine.. the problem i have is that the vertical scroll bar on the list seems to be "clickable" - just like a row in the list. the scroll bar scrolls normally but when it's clicked the selectedIndex becomes -1 which is not helpful b/c the value -1 is passed to the XMLListCollection.
    any ideas? cheers.

    thanks but still problematic...surely the <s:List> component shouldn't return a value when the scrollbar thumb is clicked? i created a very basic list (see below) and made the list dimensions short enough so that there is a vertical scrollbar and found that when the scrollbar thumb is clicked the trace(event.currentTarget.selectedIndex) returns a number. that's annoying b/c i just want a selectedIndex value for a row that is clicked not the scrollbar.
    any ideas to get around? cheers
    <fx:Script>
    <![CDATA[
    protected function list1_clickHandler(event:MouseEvent):void
    trace(event.currentTarget.selectedIndex);
    ]]>
    </fx:Script>
    <s:List x="162" click="list1_clickHandler(event)" y="276" labelField="@label" width="144" height="153">
    <s:dataProvider>
    <s:XMLListCollection>
    <fx:XMLList xmlns="">
    <node label="one"/>
    <node label="two"/>
    <node label="three"/>
    <node label="four"/>
    <node label="five"/>
    <node label="six"/>
    <node label="seven"/>
    <node label="eight"/>
    <node label="nine"/>
    <node label="ten"/>
    <node label="eleven"/>
    </fx:XMLList>
    </s:XMLListCollection>
    </s:dataProvider>
    </s:List>

  • At times when dragging the vertical scroll bar my computer screen oscillates up and down for some time before going blank or not responding to any clicks requiring a forced system restart. What is wrong?

    Hi,
    Suddenly while working with Firefox if I happen to drag the vertical scroll bar, a very abnormal behavior occurs. My screen dances up and down for a short time before either going black or getting restored but with no clicks working. The only way to resume is to force a restart of the system.
    Any help would be deeply appreciated.
    Thanks and Regards
    Deepak

    That didn't work. On trying to install a new driver I got the error the graphics driver could not find compatible graphics hardware. Is there anything else that can be done to at least prevent the hanging of the computer even if it means less features from Firefox being available?

  • SharePoint 2010, unable to see the site vertical scroll bar in Safari and Mozilla Firefox

    Hi,
    I am not able to see the sharepoint site vertical scroll bar in Safari and Mozilla firefox in window OS as well as  Mac OS , even I have tried with various option of the browser but still not able to see the vertical scroll bar.
    I have tried to check with other sharepoint site in Windows OS and found that I can see others sites vertical scroll bar in Safari and Mozilla firefox , Please let me know why I am not able to see for my sharepoint sites.
    Thanks
    Roopak

    Screen in jammed or how it looks without vertical scroll bar ? Check with site master page if you have modified anything related to  vertical bar or else Try in other system and check if you are able to see vertical bar . 
    Let us know your result 
    Whenever you see a reply and if you think is helpful, click &quot;Vote As Helpful&quot;! And whenever you see a reply being an answer to the question of the thread, click &quot;Mark As Answer

  • Why do I have 2 Vertical Scroll Bars and 1 Horizontal one

    Can anyone tell me from the code below where I am going
    wrong. I have an AP Div inside an AP Div that has text content and
    the overflow is at Auto which gives me a horizontal scroll bar but
    also 2 vertical scroll bars instead of one in Firefox. What is the
    reason for this? I hope someone can help me - here's the code:
    <div id="apDiv6"><img src="frame.jpg" alt="Frame"
    width="518" height="335" /></div>
    <div id="apDiv23">
    <p align="left">
    <strong>Hors d'Oeuvres<br/><br/>
    </strong><strong>Soupe...........</strong><br/><br/>Soupe
    a l'oignon
    gratinée............................................
    $6.75<br />
    </strong>Onion soup<br /><br/>
    <strong>Soupe du Jour ..........................
    $5.25<br/>
    </strong>Soup of the day<br/><br/>
    <strong>Les entrées
    froides...........<br/><br/>
    </strong><strong>Huîtres du
    Jour.....................La Pièce $1.85<br/><br/>
    </strong>
    Oysters (served with Champagne shallot
    vinegar)<br/><br/>
    Salade et fromage, vinaigrette à la moutarde de
    Dijon........ $6.00<br/>
    Mixed salad with feta cheese, Dijon mustard
    vinaigrette<br/><br/>
    Salad frisée aux lardons et oeuf poché..........
    $7.95<br/>
    Frisée salad with bacon and poached egg, sherry
    vinaigrette<br/><br/>
    Salade de crabes, concombre et betterave, sauce
    aïoli......$8.50<br/>
    Crab salad with golden beet and cumcumber, aioli
    sauce<br/><br/>
    Foie gras cuit au torchon et
    toast........$14.50<br/><br/>
    Les entrées chaudes......<br/><br/>
    Moules Marinières................$9.00<br/>
    Steamed Mussels Marinieres, White Wine and garlic (Side
    French fries $2.50)<br/><br/>
    Poêle de ris de veau et épinards, jus au
    romarin..........$9.50<br/>
    Sautéed sweetbread with spinach, rosemary
    jus<br/><br/>
    Escargots de Bourgogne au beurre d'ail et
    persil..............$7.50<br/>
    Escargots from Burgundy in garlic parsley butter (plate
    6)<br/><br/>
    Les Plats<br/><br/>
    Légumes........<br/><br/>
    L'assiette végétarienne du Chef...............
    $14.90<br/>
    Chef Vegetarian<br/>
    Red beet raviolis wih parmesan cheese and seasonal
    vegetables, mushroom jus<br/><br/>
    Poisson<br/><br/>
    Pave de saumon, purée de pommes de terre et
    épinards, sauce homard et vin blanc...... $16.50<br/>
    Steamed salmon with mashed potatoes, spinach and mussels,
    white wine with lobster sauce<br/><br/>
    Filet de bar meunière, poireaux caramélisés,
    sauce grenobloise.....$16.75<br/>
    Sauteed bass served with caramelized leeks, Grenobloise
    sauce<br/><br/>
    Tronçon d'espadon legumes de saison couscous, safran
    orange sauce.... $17.95<br/>
    Sauteed swordfish with couscous and spring vegetables, orange
    and saffron sauce<br/><br/>
    Viandes et volailles......<br/><br/>
    Boeuf Bourguignon et purée de pommes de
    terre..........$16.25<br/>
    Beef Bourguignon sered with mashed
    potatoes<br/><br/>
    Suprême de poulet, ragoût de macaronis poireaux et
    chanpignons, sauce orange... $15.50<br/>
    Roasted chicken breast, leek mushrooms macaroni ragout orange
    sauce<br/>
    Lapin façon Normande............$17.25<br/>
    Rabbit Normandy served with Peruvian mashed
    potatoes<br/><br/>
    Le Cassoulet toulousain Maison...........$21.00<br/>
    Home Made Cassoulet with beans (Duck leg Confit, port,
    Toulouse sausage)<br/><br/>
    Jarret d'agneau braise 6 heures, blettes jus d'agneau et
    romarin.....$23<br/>
    Lamb shank braised for six hours served with swiss chard,
    rosemary lamb jus<br/><br/>
    New York steak, french fries, shallot red wine
    butter<br/><br/>
    </p>
    </div>
    Thank you for helping!

    Hi,
    This is a problem with firefox. It will always show
    scrollbars if the div's css property of overflow is set to anything
    except none.
    Gaurav
    www.gauravchandra.com

Maybe you are looking for

  • Anybody  has answers???

    I do have three questions Would be great if someone clears them . How can I insert data from a table to 3 tables at the same time in pl/sql? What oracle does internally for a query like select * from dept; What is Row migration ? I shall be grateful

  • Problme saving a WebI as Excel or CSV

    Hi, I am trying to save a Web Intelligence report as Excel or CSV. After saving the report onto my local system or PC, when i try to open the excel, i get an error saying - Windows cannot locate this file, please make sure you have typed in the name

  • J2ME, MIDP,CLDC, ...

    Hi all, i'm new to this "micro Java tech" and i would like to have clear some general concepts ;-) right now i've got an application written in "waba" for running it in a Palm device, i just needed waba VM, waba classes and some applications for crea

  • Invisible Mode

    When I log on using Invisible mode, one of my contacts almost immediately comes online and sends me an IM. Am I invisible or not?

  • SAP B1 Crystal Integrator Error

    After installing the Add-on Crystal Integrator and running it, I restarted my PC and tried running the Crystal Integrator and error message pop-up "Crystal Reports ActiveX Designer DOS error". How to resolve this? Thanks Need solution ASAP...