I created hTcp as Dword and made it global.....
Now, I open the port in one function, do some stuff and go to the next function and continue to grab data....
This works,
Back to Function #1, go to yet ANOTHER function, grab more data, works fine the first time, after that bombs out...
Is there any problem in a DLL with having a global TCP File handle??
Scott
-------------
Scott
mailto:[email protected][email protected]</A>
Now, I open the port in one function, do some stuff and go to the next function and continue to grab data....
This works,
Back to Function #1, go to yet ANOTHER function, grab more data, works fine the first time, after that bombs out...
Is there any problem in a DLL with having a global TCP File handle??
Scott
-------------
Scott
mailto:[email protected][email protected]</A>
Comment