Page 1 of 1

recompiled with c files

Posted: Mon Feb 13, 2006 5:54 pm
by Silvio
I must compiled on a program this function
but when I recompiled the program the exe not run ...why ?

I think there is an error but where ?

Code: Select all

#define HB_API_MACROS

#include <Windows.h>
//#include <dos.h>
#include <hbApi.h>


typedef struct
{
   FARPROC farProc;
//   BYTE bType;
//   BYTE bReturn;
//   BYTE bParams;
//   BYTE bParam[ 15 ];
} STRFUNC;

//----------------------------------------------------------------------------//
HARBOUR HB_FUN_CLSETROP2() //(hDll,Ctex)
{
hb_retni(  SetROP2( (HDC) hb_parnl(1), hb_parni(2)) );
}

Posted: Mon Feb 13, 2006 10:34 pm
by Antonio Linares
Silvio,

You may try hb_parnl(2)

Re: recompiled with c files

Posted: Mon Feb 13, 2006 10:38 pm
by Enrico Maria Giordano
Hard to say without more details on the error you got and a reduced and self-contained sample showing the problem.

EMG

Posted: Mon Feb 13, 2006 10:53 pm
by Silvio
I trying to recompiled tdwg cad class of Arthuro. Now run ok thank EMG and Linares

Posted: Tue Feb 14, 2006 1:52 am
by Taiwan
Hello Silvio

Could you share how to dispaly CAD file(Only)?

Regards,

Richard

Posted: Tue Feb 14, 2006 8:26 am
by Silvio
Could you share how to dispaly CAD file(Only)?
Dear taiwan,
YOU must use tdgw class of Arthuro Tamaya Daza and then you must go to www.opendwg.com to download the lib and others file .h

I cannot send you these files...

Regards

Posted: Tue Nov 07, 2006 1:00 pm
by Taiwan
Hello Silvio,

I try link OpenDesign 3rd LIB and get error below:

T:\DWGCAD>t:\drlib32x\bc5\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_od_atof' referenced from T:\DWGCAD\ADB5ND3.LIB|adrent

Any idea or suggestion?

Thank you

Richard

Posted: Tue Nov 07, 2006 11:41 pm
by Silvio
I recompiled all
all ok
I compiled the class and my sample ok

I not understand What happened to you ...perhaps U wrong...

Posted: Tue Nov 07, 2006 11:42 pm
by Silvio
Perhaps I use.....Xmate to compile all ( lib,Dll. and prg) with success !!!!!!!