Re: I am absolutely flat out new to COM and need help - Using COM in VB6 to talk to C EXE

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Mystif" <none@xxxxxxxxxxxx> wrote in message
news:fhf1v3lb4d51h4nl4u4qs3n27qo2alv93h@xxxxxxxxxx
On Sun, 30 Mar 2008 22:54:28 -0500, "Ralph"
<nt_consulting64@xxxxxxxxx> wrote:


"Mystif" <none@xxxxxxxxxxxx> wrote in message
news:ork0v3tjrn8lv3mc7auujkqkcrhk2h3haf@xxxxxxxxxx
On Sun, 30 Mar 2008 11:16:07 -0500, "Ralph"
<nt_consulting64@xxxxxxxxx> wrote:


"Mystif" <none@xxxxxxxxxxxx> wrote in message
news:34duu3tuuqe8rcp870vkgc4i3hc82023kp@xxxxxxxxxx
<snipped>

Ralph,

I posted a reply in the VC forum I hope you will read.

Simply put VB refused to run the code until I changed SCODE to long.

It seemed to me from what I found that VB dosn't seem to know what
to
make of SCODE, which is why I said SCODE was not supported in VB.

I have no idea how old the VC code I am dealing with is. It could
well be legacy code from who knows when... but a programmer at that
company (Maybe the same one for this app?) does NOT do normal things
and this could be part of the problem.

For example, take everything you know about creating traditional
user
interfaces and throw it away. This guy uses a scroll bar with a
disabled scroll button and disabled regions above/below (or
left/right) of the scroll bar. All that is avilable are single
clicks
on the arrow butons, and the scroll button is 1/5th of the scroll
space regardless of the length of the list.

There are MANY such examples.

Part of the desire for automation is to shield the machine operators
from the interfaces as much as we can. Our goal is to avoid
confusion
and reduce errors.

Mystif,

You are dealing with several inter-related but different topics.

First I probably should apologize for myself and your helpers. I only
half-read your intitial post and mis-understood what it was you were
trying
to do. Second, I only stuck my nose in to clear up one small part,
without
explaning the over-all problem. Third, you were getting knowledeable
information from C programmers that contained elements of fact but not
particularly useful for *your* situation. (They should have known
better,
but then so should I. <g>)

You got bombarded with lots of information (most kind of accurate) but
not
much actually useful to someone without COM experience. So let's start
over.
<g>

Well, I started typing but this is going to take a while, so let's
take
it
off line. Send me an EMail (the address is correct). How big is that
WinCad
thingy? If small enough send it along too.

-ralph



It would be small enough to send to you, but I will need to see if I
can get permission to do so, Monday.

It had to be downloaded from an FTP using a non guest account, and the
zip file it was contained in required a password. Seems that they
think highly of the software, but it really is not any good without a
(tongue in cheek here) two ton dongle - the machine it controls.

That's ok. I wasn't thinking. don't bother asking.

I'm sure it is proprietary. I wasn't going to run it, just examine it to
make sure something else wasn't going on. Hopefully no self-respecting
organization would allow a stranger to do that. <g>

-ralph


This software communicates with the same companies equipment. The
machine is no good without the software, and the software can only be
used to enter parts, but not make them, without the machine. That is
the reason for my previous comment about the two ton dongle. :)

I could give you the nickel tour via screenshots, if you like. But I
know that is not the same thing as being able to observe the exe as it
runs in memory.

No I only wanted to check the Interface - pure static. But that was only to
satisfy my curiosity.

You already have your solution so no reason to go there.

-ralph


.



Relevant Pages

  • Re: Any good mic pres in small mixers?
    ... if monitoring latency weren't an issue with PC recording. ... finer than those in interfaces like the E-Mu 1616m PCI or the Konnekt ... The reason I ask is that there's an SS setting that removes the ...
    (rec.audio.pro)
  • Re: wpa supplicant/ipw3945, ESSID last char missing
    ... avoid some issues, but damn it, breaking them "just because it fixes ... If the kernel knows about the version number, it should make sure that the ... interfaces are honored. ... reason why we have some of the abstraction layers we do in the kernel. ...
    (Linux-Kernel)
  • Re: [RFC] Splitting kernel headers and deprecating __KERNEL__
    ... particular header file, then you must include yyy.h first, or you can't ... reason to NOT use them. ... > that also new interfaces which need to specify an exact integer ... the kernel, and that are already used widely. ...
    (Linux-Kernel)
  • Re: Please simply answer this question and dont second guess my reason for asking it
    ... specific answer to a specific technical question. ... It is certainly not this difficult on the Windows groups. ... When I ask what is the reason for this ... Command line interfaces are generally far less complex (far ...
    (comp.os.linux.development.apps)