Gracias...!!! y perdon, maestro... pero a mi me sacas de los IF / Case, Do While, y soy boleta... ¿alguna idea de que es esto que pego abajo? (lo que hice fue pegar el código que pusiste arriba en un notepado, guardarlo como strucinf.h, ponerlo en INCLUDE y tratar de compilar nuevamente. Gracias...!!!
Compiling...
Harbour 2.0.0 (Rev. 13372)
Copyright (c) 1999-2010,
http://www.harbour-project.org/Compiling 'mc1000.prg' and generating preprocessed output to 'mc1000.ppo'...
Lines 2886, Functions/Procedures 11
Generating C source output to 'mc1000.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.
mc1000.c
mc1000.prg(401) : warning C4090: 'function' : different 'const' qualifiers
mc1000.prg(401) : warning C4024: 'AnsiToWide' : different types for formal and
ctual parameter 1
mc1000.prg(429) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.prg(430) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.prg(431) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.prg(432) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.prg(433) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.prg(434) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.prg(435) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.prg(436) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.prg(437) : warning C4020: 'hb_stornl' : too many actual parameters
mc1000.obj : error LNK2019: unresolved external symbol SCAN_DeallocateBuffer_W
eferenced in function HB_FUN_SCAN_OPEN
mc1000.obj : error LNK2019: unresolved external symbol SCAN_ReadLabelWait_W ref
renced in function HB_FUN_SCAN_OPEN
mc1000.obj : error LNK2019: unresolved external symbol SCAN_AllocateBuffer_W re
erenced in function HB_FUN_SCAN_OPEN
mc1000.obj : error LNK2019: unresolved external symbol SCAN_SetSoftTrigger refe
enced in function HB_FUN_SCAN_OPEN
mc1000.obj : error LNK2019: unresolved external symbol SCAN_Enable referenced i
function HB_FUN_SCAN_OPEN
mc1000.obj : error LNK2019: unresolved external symbol SCAN_Open referenced in
unction HB_FUN_SCAN_OPEN
mc1000.exe : fatal error LNK1120: 6 unresolved externals
* Linking errors *
C:\fwppc\SAMPLES>