Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Wed, 2 Jul 2008 16:10:35 +0800,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


About ensure javascript var's type in c++   
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!~
date: Wed, 2 Jul 2008 16:10:35 +0800   author:   susan none

Re: About ensure javascript var's type in c++   
"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
date: Wed, 2 Jul 2008 08:10:22 -0400   author:   Igor Tandetnik

Re: About ensure javascript var's type in c++   
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
>
date: Thu, 3 Jul 2008 07:34:23 +0800   author:   susan none

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us