--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > > Win.DllCallsquished("dllfilename.routine.#", "str#value", ;; > > "hwnd#" ++ anHwnd, "int#33") > > > I think its better to separate type and arguments: one can then > used a variable name as an output parameter for a string. You would > have to initialize it to a have a certain number of bytes with > repeat function.
I forgot how I do com.method_typed: goes like this: com.method_typed(objApp, "RegRead", "svsv","key", "") i.e. one string for types of all subsequent args, two characters per argument. Howzat? > > Bruce, I found > > > > http://www.thecodeproject.com/dll/Execute_DLL_Function.asp > > > > if you're coding this one. > A quick glance shows the person seems to be coding the stack push of > arguments themselves. Elegant, but I am planning something simpler > and cruder if I get around to doing it. > My understanding is that in the C calling sequence, the caller has > to clean the stack, so I was going to try a single call to dll > routine always with eight parameters, some of which would be null > pointers if the plugin call had less than 8 parameters. Hmm. Sneaky. > If that does not work, I'll just code 8 different calls and choose > one. > > Of course, anyone that uses this plugin with invalid type info or > missing parameters will likely crash PowerPro. Yeah, definitely caveat scriptor. ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
