NetTalk Central

Author Topic: NetSimple in source project  (Read 10075 times)

oeb

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
NetSimple in source project
« on: September 09, 2009, 01:06:13 AM »
I am attempting to use NetSimple on pure source level (project). This will probably evolve into our own NetTalk wrapper class to be used in other source projects. Has someone else any experience doing this? I can't find much related to this in the documentation or in the newsgroups. So far I've managed to run init and open, but for some reason the NetTalk background thread doesn't appear to start (it does not appear in DebugView).
--------------------
Ole

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: NetSimple in source project
« Reply #1 on: September 09, 2009, 09:54:13 PM »
The easiest way to see what code is "necessary" is to make a trivially small app, add the global extension, generate it, and look at the code generated.

As I recall there's a call in the main generated CLW that starts the NetTalk thread.

Cheers
Bruce

Skip Williams

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Re: NetSimple in source project
« Reply #2 on: October 02, 2009, 10:08:48 AM »
I am trying to put the NetWebClient into pure source as well.  I get past the init but it gpf's inside the fetch.  I have removed all of the abc stuff and the netwebclient window opens fine.

I must be missing something important, but have had no luck finding it.  The abc generated version works ok.

Any thoughts as to what I might have missed?

Thanks

Skip

Skip Williams

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Re: NetSimple in source project
« Reply #3 on: October 02, 2009, 10:25:49 AM »
Nevermind....<g>

I had linked netx.lib and should have linked netxl.lib

Oh well.

Skip