PureBytes Links
Trading Reference Links
|
It could be a timing issue as you say but I don't think so. There is no
query loop! The lines of code that do the damage are:
'oASynch is an object set to the ORASyncCommunication server
's is a string
'I'm Requesting the last price to update via ASync comm for ESU9
s = "ADVISE 0 FROM SYMBOL_DATA WHERE 31 = ""ES U9"""
'This command sends the request to Global Server
oASynch.RequestTransaction (s)
Upon further testing, I saw that the VB IDE crashed after a minute or two,
while the EXE crashed immediately.
Patrick White
----- Original Message -----
From: Kent Rollins <kentr@xxxxxxxxxxxxxx>
To: OmegaList <omega-list@xxxxxxxxxx>
Sent: Thursday, August 19, 1999 10:27 AM
Subject: Re: TS 2000i and VB
> Could be a timing issue. A compiled EXE will be 5-10 times faster than
the
> interpretted version. We all know about TS's speed problems. Try putting
a
> delay in your query loop. Other issues: it could be that VB keeps certain
> modules loaded in memory whereas your compiled standalone EXE doesn't.
>
> Kent
>
>
> -----Original Message-----
> From: Patrick White <spy@xxxxxxxxxxxxxx>
> To: Omega <omega-list@xxxxxxxxxx>
> Date: Thursday, August 19, 1999 2:00 AM
> Subject: TS 2000i and VB
>
>
> I have written the following question to Omega, but am curious if any of
you
> have run into this and found a way to get past it.
>
> When I try to access the ASynch server in Visual Basic, I can do so in the
> design environment, but a compiled executable of the same program crashes
> every time, giving an error with one of the VB DLLs. I am using SP2 in
VB6.
>
> The error is as follows:
> TESTDATA caused an invalid page fault in
> module MSVBVM60.DLL at 0167:6600ea4a.
> Registers:
> EAX=00000000 CS=0167 EIP=6600ea4a EFLGS=00010283
> EBX=00000000 SS=016f ESP=0228ff2c EBP=0228ff30
> ECX=00000006 DS=016f ESI=bff94645 FS=6467
> EDX=8176d0f0 ES=016f EDI=01b70718 GS=0000
> Bytes at CS:EIP:
> 83 78 34 00 0f 85 5f a0 07 00 66 83 78 38 00 0f
> Stack dump:
> 01b703d0 0228ff7c 60a37af7 00510f9c 00000001 60a428a0 00000400 00000001
> 0228ff68 00000000 00000000 00000000 00415a10 01b70bb0 01b70700 01b703d0
>
> Any ideas why it won't work as a compiled program but does within the VB6
> IDE?
>
> Any of you care to share VB code re: how you successfully did a price
query
> via the Asynch server in 2000i?
>
> Patrick White
>
>
>
>
|