1. Descarga e instala Visual Studio Community desde aqui: https://visualstudio.microsoft.com/vs/community/ 2. git clone https://github.com/FiveTechSoft/harbour_app_msvc64_sources 3. Doble click en el fichero Harbour_app.sln 4. Busca hb_vmInit() desde el "solution explorer" y po...
1. Download and install Visual Studio Community from here: https://visualstudio.microsoft.com/vs/community/ 2. git clone https://github.com/FiveTechSoft/harbour_app_msvc64_sources 3. Double click on the Harbour_app.sln file 4. Search for hb_vmInit() from the solution explorer and set a b...
Here is the "calling program" = babu.prg modified After that is the "dll program" = babudll.prg modified you may want to remove the altd() breaks and the reference to the external debugging libraries. REQUEST HB_GT_WIN REQUEST HB_GT_WIN_DEFAULT ***********************************...
Antonio, I'm not sure that I have the Harbour DLL setup properly. I receive the following error An unhandled exception of type 'System.EntryPointNotFoundException' occurred in WindowsFormsApplication1.exe Additional information: Unable to find an entry point named 'OneParam' in DLL 'Mydll.dll'. This...
I have FWH 16.02 & Harbour 3.2.0dev I tried my original MYDLL.PRG with BUILDHD,bat, but i got many errors : Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: Unresolved external '_HB_FUN_CTOT' referenced from C:\FWH7\LIB\FIVEH.LIB|VALBLANK Error: Unresolve...
Hi Antonio, I tried but it seems hb_parl(-1) doesn't return a logic value or anyway the value is not TRUE. The external application that call babudll recognize TRUE only if I use "return TRUE" instead of "returnhb_parl(-1)" into ExecAll. This is a semplified self-contained sample...
Hi Antonio, the function is correctly called from the external c++ application. Great ! The only problem still remain is that I need ExecuteAll return .t. or .f. based on some fwh code I have directly in the dll. To be clear in this sample ExecuteAll should call CheckPassword that return true or fal...
Antonio realmente no he hecho NADA . Al conectar el dispositivo al xcode se me registra sin ningun tipo de problema .( ojo que tiene jailbreak ) . EL hb_vmInit ( true) lo llamo en el mismo sitio que se hacia en la version anterior , de hecho he usado un programa ya generado con la plantilla que crea...
See how the NSLog() call from our PRG is properly showing on the console :-) http://img135.imageshack.us/img135/2751/screenshot20110408at105.png I have added a call to hb_vmInit() to launch the Harbour virtual machine and also linked the FIvePhone library (see it on the left): http...
Observa como la llamada a NSLog() desde nuestro PRG se muestra correctamente en la consola :-) http://img135.imageshack.us/img135/2751/screenshot20110408at105.png He añadido la llamada a hb_vmInit() para lanzar la maquina virtual de Harbour y tambien he enlazado la libreria FivePhone...
Antonio , intentando seguirte , me quedo en hb_vmInit( TRUE ); Aqui se me rompe la aplicacion ... Saludos. -------------- edito ----------------------- Solucionado , se me paso el codigo que teniamos metido por plantilla en el main.c . Antonio funciona perfectamente y a mi me funcionan las acciones ...
Manuel, La idea que estoy desarrollando es la siguiente: 1. Crear una aplicación "view based" y respetar el código que genera el xcode, con lo que se lanzará la ventana principal con el view que se haya diseñado en el interface builder. main.m no se modifica, es decir usa el código del xco...
Mastintin, el primer problema que me encuentro es que me instala la plantilla en la carpeta manuel, yo he copiado estas carpetas a las mias en mi usuario-Libreria- etc... y ya he logrado que me aparezca la plantilla en xCode, pero cuando añado tutor02.prg y compilo me sale los siguientes errores Bui...
... Por cierto he mirado que se pueden hacer plantillas personalizadas de xcode donde directamente podemos hacer que nos ponga el vmInit() y la llamada a main() automaticamente :D