recompiled with c files

recompiled with c files

Postby Silvio » Mon Feb 13, 2006 5:54 pm

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  Expand view
#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)) );
}
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Mon Feb 13, 2006 10:34 pm

Silvio,

You may try hb_parnl(2)
regards, saludos

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

Re: recompiled with c files

Postby Enrico Maria Giordano » Mon Feb 13, 2006 10:38 pm

Hard to say without more details on the error you got and a reduced and self-contained sample showing the problem.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Silvio » Mon Feb 13, 2006 10:53 pm

I trying to recompiled tdwg cad class of Arthuro. Now run ok thank EMG and Linares
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Taiwan » Tue Feb 14, 2006 1:52 am

Hello Silvio

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

Regards,

Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Silvio » Tue Feb 14, 2006 8:26 am

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
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Taiwan » Tue Nov 07, 2006 1:00 pm

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
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Silvio » Tue Nov 07, 2006 11:41 pm

I recompiled all
all ok
I compiled the class and my sample ok

I not understand What happened to you ...perhaps U wrong...
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Silvio » Tue Nov 07, 2006 11:42 pm

Perhaps I use.....Xmate to compile all ( lib,Dll. and prg) with success !!!!!!!
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

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