CallBack IDE vs .Exe

I use a CallBack subroutine that is called by a driver Asio (Standard Sound Card Driver). When i run the application in the IDE of VB that work... while when i create the application .exe i get an error of memory (The momory can't be read)... Do you know because it do?
Thanks for Help
[299 byte] By [ringos75] at [2007-11-17 17:08:40]
# 1 Re: CallBack IDE vs .Exe
Usually you get this error when Interface changes somehow:
even if M$ spoke about compatible interfaces, I have found out that if you make some changes in methods that do not break the compatibility, it may result in a "memory" error... Better search for
driver Asio update...
Cimperiali at 2007-11-10 0:22:44 >
# 2 Re: CallBack IDE vs .Exe
It may also be a threading issue, this also occurs when you use the MMTimer APIs from VB. It is fine when running in the IDE but when you compile you always get memory errors. The only solution is to have the callback procedure in a different thread from the main application. This is fine in the IDE because this is how it works however when it is compiled it will run in the single thread and generate such problems.
TimCottee at 2007-11-10 0:23:40 >