![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello All,
I was wondering if anyone had done any work on accessing com controls from B4PPC? Anyone working on a library? I'm just curious, I may go down that route but didn't want to duplicate any effort. Thanks, Ron |
|
||||
|
Yes, my SpeechLibDesktop library Text To Speech library (desktop only) wraps the COM object "Microsoft Speech Object Library".
However you may or may not have STAThread/MTAThread issues which I have had on previous attempts to use COM controls with B4PPC - but something has changed with the new builds of B4PPC that lets at least one of the previously failed attempts now work. I am trying to clarify the situation with Erel. EDIT :- Erel has confirmed that as from version 6.5 the desktop threading model is STAThread which means that COM controls should now be usable. I have a WebBrowser control library for the desktop that now runs and is nearly ready to go so now that Erel has confirmed the change I will polish and post it. Last edited by agraham : 02-27-2008 at 05:35 PM. |
|
||||
|
Afraid not. I am primarily desktop oriented, especially since I got an EEE PC that has just about displaced my PPC. I haven't used COM on the device but as I use Visual Studio 2005 it is dead easy on the desktop as VS2005 builds the Interop assembly for you.
For the device I believe you will need .NET 2.0 - from http://msdn2.microsoft.com/en-us/library/aa446497.aspx "Unfortunately, the .NET Compact Framework 1.0 does not support COM Interop. To be able to use existing COM objects inside a managed application, the approach is to write a native C++ wrapper DLL around the COM object." .NET 2.0 does support COM Interop and that article seems to be a good start. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOTSPOT controls | WZSun | Code Samples & Tips | 23 | 05-30-2008 01:42 PM |
| Disposing Controls | RandomCoder | Questions & Help Needed | 7 | 02-19-2008 09:26 AM |
| Getting names of controls | BjornF | Questions & Help Needed | 2 | 01-09-2008 02:05 PM |
| Controls name | PepSoft | Questions & Help Needed | 4 | 12-17-2007 02:49 PM |
| Tab Order for Controls | BPak | Questions & Help Needed | 2 | 05-06-2007 05:58 AM |