FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DDE object not propperly initialized! (SOLVED)
Posts: 100
Joined: Fri Dec 12, 2008 04:39 PM
DDE object not propperly initialized! (SOLVED)
Posted: Thu Mar 17, 2016 03:05 PM
Good Morning.

Does anyone know why this error?

"DDE object not propperly initialized!"

When I run the function below it appears:

Code (fw): Select all Collapse
function BuildGroup()

   local oDde

   DEFINE DDE oDde SERVICE "Progman" TOPIC "Progman"

   ACTIVATE DDE oDde

   oDde:Execute( "[DeleteGroup( SALC )]" )
   oDde:Execute( "[CreateGroup( SALC )]" )
*   oDde:Execute( "[ShowGroup( SALC, 1 )]" )
   oDde:Execute( "[AddItem(" + cTarget + "\SALC.EXE, SALC )]" )
   RELEASE DDE oDde

return nil



Until 15:02 this version normal, now when was build in version appeared 15:12 this error.

Any idea?

Thank you.
Contagem/Brazil

FWH/xharbour 15.12/PELLES C, MED, DBF
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: DDE object not propperly initialized!
Posted: Fri Mar 18, 2016 10:18 AM
Tiao,

There is a little bug to fix this way in FWH Class TDde:

Code (fw): Select all Collapse
METHOD Activate() CLASS TDde

   nLastMsg = WM_DDE_INITIATE

   SendMessage( 0xFFFF, WM_DDE_INITIATE, GetWndApp(),;  // replace -1 with 0xFFFF
                nMakeLong( ::nService, ::nTopic ) ) 

return nil


Next FWH version will include this fix
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 100
Joined: Fri Dec 12, 2008 04:39 PM
Re: DDE object not propperly initialized! (SOLVED)
Posted: Fri Mar 18, 2016 12:13 PM

Thanks Antônio!

Contagem/Brazil

FWH/xharbour 15.12/PELLES C, MED, DBF

Continue the discussion