MSVS 2012

Re: MSVS 2012

Postby Antonio Linares » Sat May 11, 2013 2:07 pm

Richard,

4. Calling a dialog twice in a mdi window crashed the application... had to modify the class and the way to end the window to have it working properly.
5. Still have a problem with a dialog (settings) in a mdi window, closing the dialog, window = OK, come back again enter dialog = crash at validate.... This is the ennoying part related to Harbour, i am not sure the ide's debugger will help us with it.


Could you please provide an example to reproduce it here ? thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVS 2012

Postby TimStone » Sun May 12, 2013 1:02 am

Richard,

If it was failing, but is now OK, what did you change or fix ?

Antonio, I know you posted a link to an article on incorporating FWH and Harbour into the MSVS 2012 IDE. I'd be happy to work with that if you can point me in the right direction.

Thanks ... I'm liking this thread.

Its Mother's day tomorrow but I will be back involved on Monday

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
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: MSVS 2012

Postby Antonio Linares » Sun May 12, 2013 5:09 pm

Richard, Tim,

I got it working! :-)

viewtopic.php?p=144623#p144623
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVS 2012

Postby norberto » Sun May 12, 2013 5:19 pm

HI Antonio, very thanks maestro.! :D :) :P

and about make real Windows rt?

thanks
norberto
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: MSVS 2012

Postby Antonio Linares » Sun May 12, 2013 8:05 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVS 2012

Postby Richard Chidiak » Fri May 17, 2013 2:40 pm

Antonio

Did you get a chance to test the sample i sent you ?

Thank you

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: MSVS 2012

Postby Antonio Linares » Fri May 17, 2013 4:50 pm

Richard,

Do you mean the DLL that Microsoft was refusing to load ?

If so, I think you should contact the DLL developers and ask them to test it with Microsoft VS2010, there is little we can do there as we don't have the source code of the DLL. thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVS 2012

Postby Richard Chidiak » Fri May 17, 2013 4:56 pm

Antonio

no it is ok for this one, already fixed.

I mean this

4. Calling a dialog twice in a mdi window crashed the application... had to modify the class and the way to end the window to have it working properly.
5. Still have a problem with a dialog (settings) in a mdi window, closing the dialog, window = OK, come back again enter dialog = crash at validate.... This is the ennoying part related to Harbour, i am not sure the ide's debugger will help us with it.

Could you please provide an example to reproduce it here ? thanks


Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: MSVS 2012

Postby Antonio Linares » Fri May 17, 2013 5:59 pm

Richard,

Please test this example. It creates a dialogbox from a main MDI window.

I have tested it with VS2010 and it is working fine. Please let me know if it works fine for you, and/or if you code is different.

Do you mean an embedded dialog into a MDI child ?

Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

   local oWnd

   DEFINE WINDOW oWnd MDI ;
      MENU BuildMenu()

   ACTIVATE WINDOW oWnd MAXIMIZED

return nil

function BuildMenu()

   local oMenu

   MENU oMenu
      MENUITEM "Dialog" ACTION MyDialog()
   ENDMENU

return oMenu

function MyDialog()

   local oDlg

   DEFINE DIALOG oDlg

   ACTIVATE DIALOG oDlg CENTERED

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVS 2012

Postby Antonio Linares » Fri May 17, 2013 6:00 pm

Richard,

Could you please provide an example for your point 5 ? thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVS 2012

Postby Richard Chidiak » Fri May 17, 2013 6:12 pm

Antonio

This is the one i sent few days ago :D

I am sending it again

Regards

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: MSVS 2012

Postby Antonio Linares » Fri May 17, 2013 8:59 pm

Richard,

I just sent you an email for a missing file that I need, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVS 2012

Postby Richard Chidiak » Sat May 18, 2013 5:18 pm

Antonio

Thank you for your support

The problem gets fixed with

function hb_gcAll()
return nil

Is it safe to have this function (garbage collector) inside the application ?

As per the exit , i know Tim is concerned , in the method endplan, the following is needed

::oCalexStdDlgs := nil
::oGlbSettings := nil

I can now exit and enter again normally,

Thanks again,

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: MSVS 2012

Postby Antonio Linares » Sun May 19, 2013 6:02 pm

Richard,

We can't replace hb_gcAll(), that was just a test.

Please comment it out and check if the app keeps gpfing in the same place (review the created hb_out.log)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVS 2012

Postby Richard Chidiak » Sun May 19, 2013 6:50 pm

Antonio

Unfortunately it gpf's at the same place when we comment hb_gcall()

Unrecoverable error 6005: Exception error:

Exception Code:C0000005
Exception Address:52F8558D
EAX:7280C91C EBX:00000000 ECX:04BA5A50 EDX:00000000
ESI:014CD5C8 EDI:014CD7D0 EBP:0111DDC0
CS:EIP:0023:52F8558D SS:ESP:002B:0111DDA4
DS:002B ES:002B FS:0053 GS:002B
Flags:00210206
CS:EIP:
SS:ESP: 727FAAC5 70E6A43D 014CD5C8 014CD5C8 0111DDE8 72828F48 00000005 014CD7B0 048AB35D 00000000 014CD5C8 0111DE2C 014CD5D8 00000000 014CD5C8 014CD7B0

Called from HB_GCALL(0)
Called from TDIALOG:END(513) in .\source\classes\DIALOG.PRG
Called from (b)TPLANCJ_PREFCALEX(2237) in C:\CBATI32\PLANNING.PRG
Called from TBUTTON:CLICK(163) in .\source\classes\BUTTON.PRG
Called from TBUTTON:HANDLEEVENT(1678) in .\source\classes\CONTROL.PRG
Called from _FWH(3178) in C:\CBATI32\window.prg
Called from SENDMESSAGE(0)
Called from TDIALOG:COMMAND(380) in .\source\classes\DIALOG.PRG
Called from TWINDOW:HANDLEEVENT(0)
Called from TDIALOG:HANDLEEVENT(887) in .\source\classes\DIALOG.PRG
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(270) in .\source\classes\DIALOG.PRG


Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 121 guests