Facing Two unsolvable problems (may be Bugs) :-(

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dinesh Jain

    Facing Two unsolvable problems (may be Bugs) :-(


    Hi All,

    I am developing an application under Framework 1.0 and really getting
    unsolvalble problems-

    1. System.Executio nEngineExceptio n in Unknown module:

    Occurs sometimes not frequent. (Might be Marshalling problems - read
    from MSDN)

    2. Failed to create a bitmap compatible with the screen to
    get information about screen bitmap format.
    Occurs more often than the first one
    (When adding .bmp/.ico file's icons to image list)

    I am using the following souce code to display local files' icons:


    c7d524b40b47898 9b6b%40msnews.m icrosoft.com&rn um=8

    Plase help,
    Thanks in advance,

    -Regards,
    Dinesh



    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Ken Tucker [MVP]

    #2
    Re: Facing Two unsolvable problems (may be Bugs) :-(

    Hi,

    Do you have service pack 2 for framework 1.0 installed ?

    Ken
    -------------
    "Dinesh Jain" <dinesh121@hotm ail.com> wrote in message
    news:el0%232Hdp DHA.708@TK2MSFT NGP10.phx.gbl.. .[color=blue]
    >
    > Hi All,
    >
    > I am developing an application under Framework 1.0 and really getting
    > unsolvalble problems-
    >
    > 1. System.Executio nEngineExceptio n in Unknown module:
    >
    > Occurs sometimes not frequent. (Might be Marshalling problems - read
    > from MSDN)
    >
    > 2. Failed to create a bitmap compatible with the screen to
    > get information about screen bitmap format.
    > Occurs more often than the first one
    > (When adding .bmp/.ico file's icons to image list)
    >
    > I am using the following souce code to display local files' icons:
    >
    > http://groups.google.com/groups?hl=e...8&selm=MPG.16f
    > c7d524b40b47898 9b6b%40msnews.m icrosoft.com&rn um=8
    >
    > Plase help,
    > Thanks in advance,
    >
    > -Regards,
    > Dinesh
    >
    >
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it![/color]


    Comment

    • Dinesh Jain

      #3
      Re: Facing Two unsolvable problems (may be Bugs) :-(


      Hello Ken,

      Thanks for the reply.

      I don't have service pack2 installed on my machine.
      I have seen the list of bug fixes with Srvice Pack 2-
      Microsoft Support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft Copilot, Microsoft 365, Windows 11, Surface, and more.

      Specially the Marshalling Problem.

      Will that really solve my problem - the specific errors
      those I am getting?
      My Client also reported one more error-

      System.Runtime. InteropServices .SEHException: External component has
      thrown an exception with the StackTrace-
      at System.Windows. Forms.SafeNativ eMethods.SetWin dowPos(IntPtr hWnd,
      IntPtr hWndInsertAfter , Int32 x, Int32 y, Int32 cx, Int32 cy, Int32
      flags)
      at System.Windows. Forms.Control.S etBoundsCore(In t32 x, Int32 y, Int32
      width, Int32 height, BoundsSpecified specified)....

      Are those .NET Bugs or am I doing something wrong with
      Marshalling issues?

      Please help,
      Thanks in advance,

      -Regards,
      Dinesh



      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      • Dinesh Jain

        #4
        Re: Facing Two unsolvable problems (may be Bugs) :-(

        Hello Ken,

        Thanks for the reply.

        I don't have service pack2 installed on my machine.
        I have seen the list of bug fixes with Srvice Pack 2-
        Microsoft Support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft Copilot, Microsoft 365, Windows 11, Surface, and more.

        Specially the Marshalling Problem.

        Will that really solve my problem - the specific errors
        those I am getting?
        My Client also reported one more error-

        System.Runtime. InteropServices .SEHException: External
        component has
        thrown an exception with the StackTrace-
        at System.Windows. Forms.SafeNativ eMethods.SetWin dowPos
        (IntPtr hWnd,
        IntPtr hWndInsertAfter , Int32 x, Int32 y, Int32 cx, Int32
        cy, Int32
        flags)
        at System.Windows. Forms.Control.S etBoundsCore(In t32 x,
        Int32 y, Int32
        width, Int32 height, BoundsSpecified specified)....

        Are those .NET Bugs or am I doing something wrong with
        Marshalling issues?

        Please help,
        Thanks in advance,

        -Regards,
        Dinesh



        [color=blue]
        >-----Original Message-----
        >Hi,
        >
        > Do you have service pack 2 for framework 1.0[/color]
        installed ?[color=blue]
        >
        >Ken
        >-------------
        >"Dinesh Jain" <dinesh121@hotm ail.com> wrote in message
        >news:el0%232Hd pDHA.708@TK2MSF TNGP10.phx.gbl. ..[color=green]
        >>
        >> Hi All,
        >>
        >> I am developing an application under Framework 1.0 and[/color][/color]
        really getting[color=blue][color=green]
        >> unsolvalble problems-
        >>
        >> 1. System.Executio nEngineExceptio n in Unknown module:
        >>
        >> Occurs sometimes not frequent. (Might be Marshalling[/color][/color]
        problems - read[color=blue][color=green]
        >> from MSDN)
        >>
        >> 2. Failed to create a bitmap compatible with the screen[/color][/color]
        to[color=blue][color=green]
        >> get information about screen bitmap format.
        >> Occurs more often than the first one
        >> (When adding .bmp/.ico file's icons to image list)
        >>
        >> I am using the following souce code to display local[/color][/color]
        files' icons:[color=blue][color=green]
        >>
        >> http://groups.google.com/groups?hl=en&lr=&ie=UTF-[/color][/color]
        8&oe=UTF-8&selm=MPG.16 f[color=blue][color=green]
        >> c7d524b40b47898 9b6b%40msnews.m icrosoft.com&rn um=8
        >>
        >> Plase help,
        >> Thanks in advance,
        >>
        >> -Regards,
        >> Dinesh
        >>
        >>
        >>
        >> *** Sent via Developersdex http://www.developersdex.com[/color][/color]
        ***[color=blue][color=green]
        >> Don't just participate in USENET...get rewarded for it![/color]
        >
        >
        >.
        >[/color]

        Comment

        Working...