Re: Program does not invoke methods of ActiveX-DLL

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I hate to suggest the obvious, but this isn't a syntax problem with the way
the function is being called.

I.e. If you're calling a sub then you mustn't use brackets (unless you're
using the Call command), but if you're calling a function then you must use
the brackets (unless you're not interested in the returned value).

I seem to remember that theres some combination which doesn't cause a
compiler error.

Dermot


"Felix Obermaier" <FelixObermaier@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:7C355702-2504-4469-96C4-75DB01D1B1CF@xxxxxxxxxxxxxxxx
> Hello everyone,
> since the program I'm currently working on evolved it started to get hard
to
> handle. therfore I splitted the program into one standard-exe and several
> activex-dlls.
> the main programm can access the properties of the objects inside the dlls
> but refuses to execute its methods. trying to do that does not even
generate
> an error, it seem they are simply ignored.
> The functions/subs I'm reffering to are all declared as public and the
> classes have the attribute MultiUse. some dll have a class with the
attribute
> GlobalMultiUse.
>
> The project compiles without any errors and it works fine inside the IDE
>
> I'm using VB6 with SP6
>
> Any ideas?
> Thanks in advance


.



Relevant Pages

  • Re: Program does not invoke methods of ActiveX-DLL
    ... "Dermot Hardy" wrote: ... If you're calling a sub then you mustn't use brackets (unless you're ... > compiler error. ... >> the main programm can access the properties of the objects inside the dlls ...
    (microsoft.public.vb.com)
  • RE: registering dll
    ... Try calling CoInitializeearly on in _tmain, ... It's possible that some of the DLLs are calling CoInitialize for themselves ... registering the dll with regsvr32 shows no errors on this files. ... HCRET lpfnDllUnRegisterServer; ...
    (microsoft.public.vc.atl)
  • Re: Can I use Windows Sockets API in DllMain or CWinApp::InitInsta
    ... But the template code created by App Wizard also include AfxSocketInit ... calling in the InitInstance when the Windows Sockets feature is selected. ... Calling functions in DllMain that require DLLs other than Kernel32.dll ...
    (microsoft.public.win32.programmer.networks)
  • Re: updating a table with a space in the field name
    ... instead of calling dcUpdate.Adapter.Update ... and having VB auto-generate the Update statement, ... the UpdateCommand property, thus being able to use brackets... ...
    (microsoft.public.dotnet.languages.vb)
  • Re: [opensuse] How do I get kedit back to normal?
    ... In the picture, when ... I mouse on 'open recent' a list pops up next to it. ... How do I get rid of the garbage in the brackets? ... Calling an illegal alien an "undocumented immigrant" is like calling a drug ...
    (SuSE)