Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

winapi - How to read memory values using VBScript? -


i want use vbscript read values directly out of memory of running application.
can't seem find information on using readprocessmemory() in vbscript.

i intend use in quick test pro screen scraping of application needs testing. application not use standard controls , using qtp's ocr abilities not provide reliable results.

we have code written in autoit reads values of application directly memory , converts ascii. want remove reliance on , using vbscript within qtp ideal.

so can tell me how can read values executable in memory using vbscript?

you can't in vbscript directly. josh einstein's comment above mentions, it's impossible call native windows api functions directly vbscript. there 2 major reasons why case. first, pose obvious security risks code written in such scripting language able call native code directly. , second, vbscript has 1 data type (variant), not going work return values of of windows api functions.

instead, you'll have wrap native api functions need in activex dll (com automation object), and call functions library vbscript. wrapper dll designed vbscript-interoperability , take care of necessary data-type conversions, exposing variant types , containing of necessary (or potentially necessary!) error handling routines. using vb 6 quickest , easiest way , doesn't require learn new language, can c++, if you're comfortable there.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -