AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 192 matches
AutoHotkey Community Forum Index
Author Message
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Thu Oct 13, 2011 6:18 pm   Subject: getting value of COM Object method argument (byref)

Please provide a working VBA (Excel) example.


just run the VBA (instead .ahk) on my .dll
on your local machine.

Jethrow,
I think in this point, we will end the thread.

I followed your ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Thu Oct 13, 2011 5:46 pm   Subject: getting value of COM Object method argument (byref)
If it won't work in vbscript or jscript, I can't imagine why it should work in AHK_L.
1.
in AHK_L there is a byRef return value syntax.
in Javascript there is no byRef syntax at all.(as far as I k ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Thu Oct 13, 2011 5:23 pm   Subject: getting value of COM Object method argument (byref)
OK - now can you provide an example where retValue is set by the method? Both the following displayed "foo" :

Jethrow,
I surprised again from your answer,
1.
you have to get the return ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Thu Oct 13, 2011 12:07 pm   Subject: getting value of COM Object method argument (byref)

It registered ok, but I'm still getting the Invalid Class String error when trying to create myDLL.myCOMclass .

I think you use worng .dll

just download :
myethod.dll
and register it,
and ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Mon Oct 10, 2011 11:17 pm   Subject: getting value of COM Object method argument (byref)

Also, you never provided
a link to the documentation for this Com Object (API Reference), or a working VBScript or JScript example

Jethrow
I provided .dll with .ahk that uses 2 simple methods ...
  Topic: parse JSON string
rani

Replies: 4
Views: 234

PostForum: Ask for Help   Posted: Fri Oct 07, 2011 6:42 am   Subject: parse JSON string
Try it out:obj = {name:myName,family:myfamily,ID: 12345}
WScript.Echo(obj

from your examples,
it seems I can create IE instance, and use the Javascript JSON parser,build-in ? additionally of the ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Fri Oct 07, 2011 6:16 am   Subject: getting value of COM Object method argument (byref)
I need the exact filename of the file. If you are looking at your listing on autohotkey.net


just enter directly :
user : rani
password : 123456

I'll change the password after you or other' ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Wed Oct 05, 2011 4:28 am   Subject: getting value of COM Object method argument (byref)
you have to give the specific link. http://www.autohotkey.net/~rani/

I made, after login:
http://www.autohotkey.net/xfm/list/
I see the files under:Browsing rani
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Tue Oct 04, 2011 10:49 pm   Subject: getting value of COM Object method argument (byref)
create account on Autohotkey.net
upload files
post links to files here
profit?

autohotkey.net
I uploaded files under rani
can you see these files ?
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Tue Oct 04, 2011 5:33 pm   Subject: getting value of COM Object method argument (byref)

rani, can you post your dll? then we don't have to try to compile it. Use autohotkey.net to host it.


hi engunneer,
have you some advance ?

or you wait for me ?
if yes, can you give any mai ...
  Topic: parse JSON string
rani

Replies: 4
Views: 234

PostForum: Ask for Help   Posted: Tue Oct 04, 2011 4:44 am   Subject: parse JSON string
I believe there are one or two json libraries that you can use for this.

JSON syntax
the name of the varCode and it's value, has to be with quotes ?
means:
{name:myName,family:myfamily,ID: 12345 ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Fri Sep 30, 2011 3:56 pm   Subject: getting value of COM Object method argument (byref)
Error: 0x800401F3 - Invalid class string

Line#
---> 001: myComObject := ComObjCreate("myDLL.myCOMclass")
002: myComObject.myMethod(returnValue)
003: Exit
004: Exit
004: Ex ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Fri Sep 30, 2011 3:09 pm   Subject: getting value of COM Object method argument (byref)

rani, can you post your dll? then we don't have to try to compile it. Use autohotkey.net to host it.


is is after registry of course.
I can send you the whole VB project (saved as activex dll) ...
  Topic: getting value of COM Object method argument (byref)
rani

Replies: 25
Views: 673

PostForum: Ask for Help   Posted: Fri Sep 30, 2011 5:21 am   Subject: getting value of COM Object method argument (byref)
Does this help: Also, you never provided a link to the documentation for this Com Object (API Reference), or a working VBScript or JScript example

jethrow,

VB6 method
I gave above a simple VB m ...
  Topic: [AHK_L][Alpha]CGUI - Object-Oriented GUIS!
rani

Replies: 126
Views: 7330

PostForum: Scripts & Functions   Posted: Thu Sep 29, 2011 5:41 pm   Subject: GUI Menu Instance
"CMENU"

fragman,

in your example you use "CMENU"
where is the Instance (new) of CMENU ?

or it's build in ?
 
Page 1 of 13 Goto page 1, 2, 3 ... 11, 12, 13  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group