Re: Out of process AX-DLL (.exe) Help Needed
- From: Lorin <Lorin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 Aug 2008 18:14:01 -0700
How abut AX-EXE?
Seems that the name given for this must match several places.
But I do not know the rules.
I changed the name slightly within the IDE and compiled to the same old .exe
name.
This killed it I think.
I changed the names within the IDE and compiled again and this time the
calling app had no problems even though before there were no Resources errors.
Where is this convention defined?
When I am calling the AX-EXE what name am I calling? The .EXE
name.classname name (not!) or the Project Name.classname.
Must be project name.classname 'cause that works.
Need to study the object browser more. Probably would have seen that there.
Where is this object browser writen up so a newbie can understand it? Any
books or whitepapers?
"Ralph" wrote:
.
"Lorin" <Lorin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2BDB3BF7-7506-45C0-B617-50A52FD08026@xxxxxxxxxxxxxxxx
VB6cause
Out of process AX-DLL (.exe)
Better Procedure Needed?
Sometimes I can hook up and sometimes not while doing development.
I try the following sequence...
Close all apps using the AX-DLL.
Work on the AX-DLL and compile(no errors, runs in IDE), close the IDE, run
the AX-DLL to "register" (runs OK),
then close AX-DLL (closes OK).
Open the app (in the IDE) using the AX-DLL.
Reference reports missing AX-DLL even though it is there (probably be
the interface has changed, which it has).
Cannot hook back up unless I uncheck the AX-DLL, close the IDE and reopen,
then go find the AX-DLL and Check it again.
It show as checked but now the AX-DLL won't F2.
Says it can't find it even though checking in Reference agan says OK
(checked, not Missing).
There has got to be an easier way.
What steps am I doing wrong and what am I missing?
AX-DLL clsEntryPoint is set up as:
Name EntryPoint
DataBindingBehavior 0-vbNone
Instancing 5-Multiuse
Persistable 0-NotPersistable
Other classes in AX-DLL project are private
Binary Compatibility
http://www.vbsight.com/BinaryComp.htm
Also I'm a bit concerned that you keep using the term "AX-DLL (.exe)". An
ActiveX Executable is not a Dll, it is an executable. They both use COM
protocols for providing a COM interface, but with an Executable we are
really talking about OLE Automation. ie, think Word, Excel, etc.
Recognizing this distinction will serve you better when you attempt to
control the life-cycle, resources, and behavior of the ActiveX Executable.
hth
-ralph
- Follow-Ups:
- Re: Out of process AX-DLL (.exe) Help Needed
- From: Ralph
- Re: Out of process AX-DLL (.exe) Help Needed
- From: mayayana
- Re: Out of process AX-DLL (.exe) Help Needed
- References:
- Out of process AX-DLL (.exe) Help Needed
- From: Lorin
- Re: Out of process AX-DLL (.exe) Help Needed
- From: Ralph
- Out of process AX-DLL (.exe) Help Needed
- Prev by Date: Re: Windows 2008/Vista services
- Next by Date: Re: Out of process AX-DLL (.exe) Help Needed
- Previous by thread: Re: Out of process AX-DLL (.exe) Help Needed
- Next by thread: Re: Out of process AX-DLL (.exe) Help Needed
- Index(es):
Relevant Pages
|