Interior Design Tool
Pen Drive Apps Free http://portabler.blogspot.com/search/label/Advanced%20IP%20Address%20Calculator - ABR viewer .net 2.0 (1) - ACDSee32 v2.42 (1) - Advanced IP Address Calculator (1) - AMP Font Viewer (1) - Anymp4 Media Converter (1) - Artful GIF Animator (1) - Auto shutdown n Remind (1) - Bearshare (1) - Blaze GIF Creator (1) - CCleaner (1) - CloneDVD 2 (1) - CloneDVD mobile (1) - Coffe Cup Gif Animator (1) - Corel Draw 11 Portable (1) - CuteFTP (1) - Dictionary 7 languages (1) - Digital Object Rescue (1) - Disk Shower 2007 (1) - Driver Magician (1) - DVD Info Pro (1) - Easy Photo Recovery (1) - EVEREST Ultimate Edition (1) - Fast AVI MPEG Joiner (1) - FastStone Capture (1) - Final Recovery (1) - Flash Player Pro (1) - FlashFXP (1) - Fresh UI (1) - FTPRush (1) - Gif Creator (1) - GoldWave (1) - Google Earth (1) - HideWindow Plus (1) - Image Icon Converter (1) - Indigorose Setup Factory (1) - Internet Download Manager (1) - Kaspersky Internet Security (1) - KMPlayer (1) - Magic ISO Maker (1) - MagicDisc (1) - Mobile Ringtone Converter (1) - Nero Portable (1) - nlite (1) - NoteZilla (1) - O O Media Recovery (1) - Opera (1) output via parameters, so I > > want it to return the TUserInfo as a json object, so that V8 script > > writers can do > > > // in V8: > > > var ui = wcLookupName(name); > > if (ui) { > > // do something useful > > } else { > > // not found > > } > > > So I have the RTE call back like so: > > > static Handle<Value> wcLookupNameCallback(const Arguments& args) > > { > > if (args.Length() != 1) { > > // throw exception??? > > return v8::Undefined(); > > } > > > HandleScope scope; > > v8::String::AsciiValue username(args[0]); > > wc::TUserInfo ui = {0}; > > if (!WildcatV8Processor::wcLookupName(*username,ui)) { > > return v8::Undefined(); > > } > > v8::Handle<v8::Object> result = v8::Object::New(); > > result->Set(v8_str("Id"), v8_num(ui.Id)); > > result->Set(v8_str("Name"), v8_str(ui.Name)); > > result->Set(v8_str("Title"), v8_str(ui.Title)); > > return result; > > } > > > However, this creates a fault when it exits the routine. > > > Obviously, I am missing some fundamental understanding. I "think" its > > a matter of a lost pointer. What do I need do here? > > > TIA > > > -- --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
