Okay, thanks! I saw that it was being used in the Trader example and included it into my app. It was sending lots of messages and I think that is why my app kept choking.
Now I have finally got my threaded app working and I removed this observer and it is working much better. It still...
One thing I learned with using the M_HEARTBEAT message is that if you are running a black box over the internet then this message usually arrives but there are times when a heartbeat message is missed. I had to add special coding into my app to account for times when this message was missed...
I'm getting closer and closer to having my application working in a threaded environment. I am however getting stumped on a few things.
1. For the main thread, are you creating it using AfxBeginThread or are you considering the hook into Anvil as being your main thread? The reason I'm...
ctarmor,
In your applications do you make all of the B_ calls in your main thread?
I'm wondering if the reason I'm experiencing the problem with the Anvil Server Time changing on me is because I call many of the B_ methods within my worker thread.
Has anyone ever experience the current Anvil Time changing in the middle of the day in sym mode?
I just changed my application so that it processed the data from Anvil in a separate thread and it appears to work great. The only problem is that both times that I ran it this morning about a...
[I copied exactly " [Extension] Path=C:\otbt\dll" into the file and ran. I still get the same error]
I'm sorry about putting the path "C:\otbt\dll" in there. That is what I use. You'll want to change this path to where ever you place your dll.
Maybe you should try to put your dll into...
You can do the following to have an extension automatically load into the application upon startup.
Within the Anvil.ini file add the following to the bottom:
[Extension]
Path=C:\otbt\dll
Make sure to put the DLL files that you want auto loaded into the path specified above.
Once again I have to say thank you!!
The messages that tfield and ctarmor-et have posted have been extremely helpful!!!
I of course have to ask a few more questions.
1. In one of the older postings there was talk about how ATL was better to use than MFC. Dioes anyone know how much...
Thanks so much for the information you have shared.
[If you are following the examples then your dialog is an MFC dialog, correct? When you created this dialog, it actually hooked into the main windows thread of Anvil, and MFC will gracefully unhook it as well when you shut down your...
I've written a few small extension's for the Anvil app and now I'm at a point where I need to add threading. I've worked with threading before but never in a windows environment.
I'm wondering if anyone would have a sample dll that they would be able to share that would show the basics of...