Posts
  • Jaiprakash

    valueOf and toString

    • 0 Comments
    My colleague SDET Titus Chandramohan sent me a mail and reported a inconsistent bahavior in JScript. The issue he reported was... var f = function(){ return 5;}; var num = new Number(5); num.x = f.valueOf; num.x(); ------> this should return...
  • Jaiprakash

    A tip for improving perf with JScript...

    • 0 Comments
    Most of you must be knowing this but still i find it useful to share... " If you are calling a dom method again and again in your website then it is a good idea to cache it to improve performance ." For example, let's say you are calling a method...
  • Jaiprakash

    JScript exceptions not handled/thrown across frames if thrown from a expando method.

    • 0 Comments
    Hope all of you are doing great! Today I am going to discuss sort of limitation of Jscript engine which I had hard time debugging. I hope through this post i can save you guys from running into same issue. Scenario - Let’s say Foo() is defined...
  • Jaiprakash

    Calling VariantClear on a OUT param can lead to security hole !!!

    • 1 Comments
    There was a mail thread going on internally where a security hole was suspected due to VarianltClear() being called inside a method on a out param. Since i am new to COM world, I asked my fellow MSFTian Paul Dempsey that how can it be possible. Here is...
  • Jaiprakash

    JScript supports SafeArrays of Variants only!!!

    • 1 Comments
    Recently I investigated a bug in Jscript which was reported on Vista. The scenario was working perfectly fine on XP and win2k3 but regressed in Vista. Here is the repro code... var strSCID = "{305CA226-D286-468e-B848-2B2E8E697B74} 2"; var shell = new...
  • Jaiprakash

    For In Loop in JScript

    • 0 Comments
    Hi, It's been more than one year since my last post. I will try to be regular now on :). BTW, during this period, I have moved to Jscript team and will be sharing my little knowledge on JScript with you all. Recently I investigated a bug wherein...
  • Jaiprakash

    J#/C#/VB Express SKU prevent use of MS Word - Issue made us work hard

    • 0 Comments
    Hi all, Last week one J# user (Mike Ward of Eurostep) reported that after installing J# express from this link he was not able to work on any Office tools at all. He could install and work on J# express successfully but as soon as he tried to open...
  • Jaiprakash

    Bean Style properties in J#

    • 2 Comments
    Bean style properties in J#. Difference between bean properties and .net properties. Consuming bean style properties....
  • Jaiprakash

    Writing Indexers in J#...

    • 0 Comments
    Indexers in J#. How to consume J# properties in C# as indexers....
  • Jaiprakash

    Properties in J#...

    • 0 Comments
    Writing properties in J#. Differences from C#....
  • Jaiprakash

    BadImageFormatException for a J# assembly on 64 Bit machine.

    • 2 Comments
    Hi, Today I would like to write about something which left me clueless for hours and really made me work hard to figure the root cause. I was building and running a suite on a 64 bit machine. This suite was written in C# and referring few existing dlls...
  • Jaiprakash

    Here I come...

    • 0 Comments
    Hi Friends, This is Jaiprakash, working as SDET in Visual J# team for the last few years. During this stint with J# I have learnt quite a lot interesting things about different aspects of product development, about .net, about J# and had some real cool...
Page 1 of 1 (12 items)