Search found 29 matches: vminit

Return to advanced search

Re: he conseguido un iphone

... Ojo al enlazar, no incluir libhbvmmt.a ! He modificado main.m de esta forma para probar desde xcode: #import <UIKit/UIKit.h>void hb_vmInit( BOOL );int main(int argc, char *argv[]) {        NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] ...
by Antonio Linares
Tue Nov 23, 2010 1:42 am
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 134084

Re: he conseguido un iphone

Bueno, de momento la consola de xcode reporta un error concreto a solucionar:

Image

Ese es el error que se genera al llamar a hb_vmInit( TRUE );
by Antonio Linares
Mon Nov 22, 2010 1:38 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 134084

Re: Creating a LIB or DLL

Dave, I think I have found where the exception is coming from. It is a Harbour bug. Please make this change in harbour\source\vm\hvm.c function hb_vmInit():    if( bStartMainProc )   // new !!!      hb_cmdargUpdate();  Now there is no exception though the DLL function is not working ...
by Antonio Linares
Sat Mar 28, 2009 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

Dave,

Please build FWH\samples\tutor01.prg and check if you get the first MessageBox() from hb_vmInit()

FWH\samples\buildh.bat tutor01

Here it shows fine.
by Antonio Linares
Sat Mar 28, 2009 2:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

Antonio,

I am able to get the before vminit in the maindll.c not the one before in the hvm.c

Thanks
by Dave Zowasky
Sat Mar 28, 2009 12:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

Dave,

But you said that you: "Made it to before VMinit"

Has that changed ?

What MessageBox prompt do you see before the exception ?
by Antonio Linares
Fri Mar 27, 2009 9:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

... not found in libraryWarning: 'compi18n' not found in libraryWarning: 'hbmain' not found in library  I cannot seem to hit the messagebox in the VMinit() I still get the exception before I hit the new before vminit messagebox Thanks
by Dave Zowasky
Fri Mar 27, 2009 8:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

Dave, Ok, now in Harbour\source\vm\hvm.c function hb_vmInit() please place some traces and rebuild Harbour again and rebuild the DLL and the EXE: ...#include <windows.h>  // new !!! void hb_vmInit( BOOL bStartMainProc ){   HB_TRACE(HB_TR_DEBUG, ("hb_vmInit()")...
by Antonio Linares
Wed Mar 25, 2009 9:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

Antonio,

Correct, I still have the exception.

I have not added any traces to the VMinit to look deeper.

Thanks
by Dave Zowasky
Wed Mar 25, 2009 8:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

Dave,

Do you have experience building Harbour yourself ?

We should place several traces in harbour\source\vm\hvm.c function hb_vmInit() to check where it is failing.

Its easy. I can explain you how to do it.
by Antonio Linares
Sun Mar 22, 2009 10:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

Antonio,

Made it to before VMinit

then exception

Thanks
by Dave Zowasky
Sun Mar 22, 2009 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Re: Creating a LIB or DLL

...     case DLL_PROCESS_ATTACH:           MessageBox( 0, "Inside DllEntryPoint", "before vmInit()", 0 );           hb_vmInit( FALSE );  /* Don't execute first linked symbol */    ...
by Antonio Linares
Sun Mar 22, 2009 8:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35593

Bill,

We have solved it! :-)

/ENTRY:DllEntryPoint is NOT needed, but hb_vmInit() has to be called from HBDLLENTRY() as DllEntryPoint() is not automatically called by the DLL startup (this is just a reminder for me :-) ).

We email you a working sample and the required files,
by Antonio Linares
Wed Nov 15, 2006 12:52 am
 
Forum: FiveWin for Pocket PC
Topic: Create FWPPC DLL?
Replies: 6
Views: 2320

Dear Antonio, Thanks per Help make My DLL to Xharbour, But Now i Have Other Problem.. My Dll its OK TO , Cobol , DELPHI , VB , But to Using Xharbour Calling Don´t RUN. Do You Know Why? i make My DLL With macrocall.c ************************************************* #define HB_OS_WIN_32_USED #include...
by mauricioajordao
Thu Mar 02, 2006 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How create DLL With XHARBOUR
Replies: 27
Views: 16253
Previous

Return to advanced search