FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Continuing problem creating a Panel = Angry customer
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Continuing problem creating a Panel = Angry customer
Posted: Thu Nov 14, 2013 04:51 PM
I have posted this before but have gotten no where in resolving it.

Here is the calling code:
Code (fw): Select all Collapse
   ::oPanelCalex    = TPanel():New( 0, 175, ( nHeight ), ::oCwnd:nWidth, ::oCwnd:oWndClient )


And here is the generated error:
Code (fw): Select all Collapse
   Error description: Error FiveWin/6  Cannot create window or control: 
Class: TPANEL
Caption: 
System Error: Cannot find window class.
Stack Calls
===========
   Called from: .\source\classes\WINDOW.PRG => WNDCREATEERROR( 766 )
   Called from: .\source\classes\WINDOW.PRG => TPANEL:CREATE( 747 )
   Called from: .\source\classes\TPANEL.PRG => TPANEL:NEW( 49 )
   Called from: D:\Projects\MLS2013\Source\tCodeJock.prg => MPCAL:BUILDPANELS( 552 )


What I have tried:
1) I can't replicate the problem on my computers, nor do other clients report this problem
2) The one business that has the problem has seen it on two ( maybe more ) computers. One uses Windows 7 , the other XP
3) I thought it might be a resources issue so I had them increase RAM from 2GB to 4GB on the Win 7 computer.
4) We thought it might be another program, so I issued a s SysRefresh when it finished processing.
5) The frequency of this occurring is escalating.

What I need to know:
1) What does that error actually mean
2) What paths might I follow to stop it.

Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: Continuing problem creating a Panel = Angry customer
Posted: Thu Nov 14, 2013 04:59 PM

Timm,

What antivirus is installed on those PCS?.

What other software?.

Do they run your software with administrative rights?.

I am totally agree with Antonio in the idea of not using 3rd party controls, as when they fail there is a nighmare.

An interesting idea will be to collect some funds so Daniel, Antonio or other member of the FWH team could finish calex class, which could be a perfect replacement for CodeJock.

My two cents.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Continuing problem creating a Panel = Angry customer
Posted: Thu Nov 14, 2013 05:12 PM

Tim,

Please call this line before creating the panels:

TPanel():Register()

just once (though it should not hurt if you call it more times)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Continuing problem creating a Panel = Angry customer
Posted: Thu Nov 14, 2013 05:30 PM

Lucas,

The PC has Microsoft Security Essentials, and no other programs were running.

Daniel and I communicated a lot about a calendaring solution. Its really a huge project that takes a lot of time. I'd love it to be in FW but that was just not a reasonable request considering all that it needed to accomplish. Lots of people worked on the idea, but it was still very incomplete in even the basic features.

The reality is we cannot eliminate all 3rd party products. I actually need to interact with numerous products to make my clients happy.

In this case, after just talking to my client, it may be that the other program ( the credit card processing described in my previous post ) is still in play here. Do we only have one resource available at a time for using external programs ?

Antonio,

I will do that now

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion