Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5173

Re: COMSDK with SP4?

From "Jamal" <jamal@examples.net>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: COMSDK with SP4?
Date 2013-04-29 15:47 -0400
Organization Aioe.org NNTP Server
Message-ID <klmiot$3m0$1@speranza.aioe.org> (permalink)
References <9bc307e7-6eae-476f-9491-01ca7a740575@googlegroups.com> <klbgbt$fl$2@speranza.aioe.org> <ca7a4634-631b-403b-8a12-b26fbc398dc4@googlegroups.com> <klblj8$fka$1@speranza.aioe.org> <c0e7a04a-67f2-4c8b-a29b-65ad85bb14a7@googlegroups.com>

Show all headers | View raw


Carols,

I always admired VB6 even though it's old technology now that it could 
handle COM objects very elegantly and VO's way lacked the same ease of use. 
Sorry I could not help in this case.

Jamal

"Carlos Rocha"  wrote in message 
news:c0e7a04a-67f2-4c8b-a29b-65ad85bb14a7@googlegroups.com...

Jamal,

> I thought that VO COM generated code handles those types.

More or less, but with a few limitations. The more importants are:

1. one can't change a variant value passed by ref, what makes impossible 
e.g. Cancel an operation from an event (it works if the parameter is a 
boolean).

2. The only way to receive byte arrays is by changing it to a string 
(there's a function for that, thanks to Robert), but there's no way to pass 
a byte array to a COM object.

> Personally I never needed COMSDK and I've dealt many with COM objects. The
> fact that COMSDK is no longer developed, I would suggest that you do not
> waste your time trying to figure it out (unless the developers jump in and
> try to help).

Well, the code is there (except for CPU2800) and if it works I could give it 
a try. I think I will install 2.7 again and see what happens. My 
stubbornness is stronger than me :)

> Have you tried generating the COM object code in VO and use it?

Yes, and almost everything works fine. I need to change the generated code 
sometimes tho, but that's easy when one learn where to touch.
But the fact is that I still depend on VB6 to make everything work (there 
are even some tricky COM dlls to whom VO generates no code at all).

Carlos 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

COMSDK with SP4? Carlos Rocha <jazzda1307@gmail.com> - 2013-04-24 19:29 -0700
  Re: COMSDK with SP4? Carlos Rocha <jazzda1307@gmail.com> - 2013-04-24 19:45 -0700
  Re: COMSDK with SP4? "Jamal" <jamal@examples.net> - 2013-04-25 10:59 -0400
    Re: COMSDK with SP4? Carlos Rocha <jazzda1307@gmail.com> - 2013-04-25 08:41 -0700
      Re: COMSDK with SP4? "Jamal" <jamal@examples.net> - 2013-04-25 12:28 -0400
        Re: COMSDK with SP4? Carlos Rocha <jazzda1307@gmail.com> - 2013-04-25 10:58 -0700
          Re: COMSDK with SP4? "Jamal" <jamal@examples.net> - 2013-04-29 15:47 -0400

csiph-web