How can i use/invoke the "typeof" keyword of javascript in c++? or how can i ensure a javascript var's type in C++? thx!~
"susan" <none> wrote in message news:AC297FC1-BF75-4718-A9BD-84DBBDFD1533@microsoft.com > How can i use/invoke the "typeof" keyword of javascript in c++? You get the value of the expression as a VARIANT, and inspect its "vt" field. -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925
thank you, Igor! "Igor Tandetnik" дÈëÏûÏ¢ news:#Y0XcyD3IHA.4164@TK2MSFTNGP03.phx.gbl... > "susan" <none> wrote in message > news:AC297FC1-BF75-4718-A9BD-84DBBDFD1533@microsoft.com >> How can i use/invoke the "typeof" keyword of javascript in c++? > > You get the value of the expression as a VARIANT, and inspect its "vt" > field. > -- > With best wishes, > Igor Tandetnik > > With sufficient thrust, pigs fly just fine. However, this is not > necessarily a good idea. It is hard to be sure where they are going to > land, and it could be dangerous sitting under them as they fly > overhead. -- RFC 1925 >