Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.xharbour

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2008, 07:23 PM
SHORTON
Guest
 
Posts: n/a
Default New user, help with unresolved externals

I am new to xHarbor. I am not new to Clipper. I hav an older
application I am wanting to compile with xHarbour. I am trying it via
the demo at xHarbour.com using xHarbour Builder. I believe I have
everthing setup properly, or close.

When I choose build, I get a reasonably short list of unresolved
symbols. At least the majority appear to be from functions I used out
of the Nanforum library, and from the Clipper Tools library. For
example:

_HB_FUN_FT_MKDIR
_HB_FUN_FT_FLOPTST
_HB_FUN_SWPRUNCMD
_HB_FUN_MIL2CIV

_HB_FUN_COM_OPEN
_HB_FUN_COM_INIT
_HB_FUN_COM_SEND
_HB_FUN_COM_CLOSE
_HB_FUN_COM_RTS

I was under the impression xHarbour was 100% compatible wht these so
hopefully I am just doing something wrong, or missing doing something.

Can anyone get me pointed in teh right direction to resolve these in
general? If I have to develop workarounds for some of them I
understand, but surely some will work?

Thanks,
Scott





Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 04-12-2008, 07:43 PM
SHORTON
Guest
 
Posts: n/a
Default Re: New user, help with unresolved externals

OK, I found if I added nanfor.lib from the xHB dist to the 3rd tab of
xBuilder's lib list, I got most of the FT_ functions resolved. Happy
with that, I tried adding CT3 and CT3COMM lib files, but that does nto
help. I am down to these:

* A couple misc functions
FT_FLOPTST <- floppy test
FT_FLASTRE <- last record in text file

*all the clipper tools comm functions I use
COM_OPEN
COM_INIT
COM_SEND
COM_CLOSE
COM_RTS
* these are BIG ones to me. These must work. Or a anternative.

* I forget, but think these ca from Blinker:
SWPRUNCMD
SWPERRLEV
* I used these to swap out so I could zip a file. I would not be
surprised to not see these supported in wndows, I can probably work
around them with the new available zip functions.


Anyone help, particularly withthe COM_x functions?

Thanks,
Scott


Reply With Quote
  #3 (permalink)  
Old 04-12-2008, 09:15 PM
luiz Rafael Culik Guimaraes
Guest
 
Posts: n/a
Default Re: New user, help with unresolved externals

Shorton

com functions on xharbour builder are in ct3comm.lib
alternatives for this functions are the xhbcomm lib, but you need to rewrite
the com functions call

Regards
Luiz


Reply With Quote
  #4 (permalink)  
Old 04-12-2008, 09:19 PM
N:dlzc D:aol T:com \(dlzc\)
Guest
 
Posts: n/a
Default Re: New user, help with unresolved externals

Dear SHORTON:

"SHORTON" <sales07@techht.com> wrote in message
news:dc51b41c-f229-42e1-be1e-e2a8b8ebacf1@y21g2000hsf.googlegroups.com...
....
> Anyone help, particularly withthe COM_x functions?


The commerical packages just above entry level have those
functions in them. For the free version, search this newsgroup
for mentions of "hbcomm.lib".

David A. Smith


Reply With Quote
  #5 (permalink)  
Old 04-12-2008, 11:23 PM
Ron Pinkas
Guest
 
Posts: n/a
Default Re: New user, help with unresolved externals

> * I forget, but think these ca from Blinker:
> SWPRUNCMD
> SWPERRLEV
> * I used these to swap out so I could zip a file. I would not be
> surprised to not see these supported in wndows, I can probably work
> around them with the new available zip functions.


I've posted sources for these functions on this NG - please search the NG.

Ron


Reply With Quote
  #6 (permalink)  
Old 04-13-2008, 02:36 AM
shorton@msws.org
Guest
 
Posts: n/a
Default Re: New user, help with unresolved externals

On Apr 12, 4:15*pm, "luiz Rafael Culik Guimaraes"
<l...@xharbour.com.br> wrote:
> Shorton
>
> com functions on xharbour builder are in ct3comm.lib
> alternatives for this functions are the xhbcomm lib, but you need to rewrite
> the com functions call
>
> Regards
> Luiz


Luiz, David:

Thank you for the pointers and help. I did try the ct2comm.lib in the
demo version, but I still get the unresolved externals. Is that lib
somehow crippled in the demo version?

FWIW, I have every intention of purchasing the commercial version, but
I wanted to see what an app looks like compiled with xHarbour before
spending the $400+docs to help out. I can go comment out those calls
I suppose but then I can't test the app.

I'd prefer not to rewrite it twice, once for the free version, once
for commercial. I wante to verify it is not supposed to work inteh
demo version before I proceed any rewriting.

I did search for the free version as suggested, but I wasnt' sure if I
found it or not. I definately did not find a .lib file, I'm not sure
if the code I found was "it" or not. Luiz, you are the maintiner?
Can you point me to the software? Being brand new to this, I'm a
little fuzzy on exactly what I'm looking for.

Thanks again! Scott



Reply With Quote
  #7 (permalink)  
Old 04-13-2008, 02:38 AM
shorton@msws.org
Guest
 
Posts: n/a
Default Re: New user, help with unresolved externals

On Apr 12, 6:23*pm, "Ron Pinkas" <R...@xHarbour.com> wrote:
> > * I forget, but think these ca from Blinker:
> > SWPRUNCMD
> > SWPERRLEV
> > * I used these to swap out so I could zip a file. *I would not be
> > surprised to not see these supported in wndows, I can probably work
> > around them with the new available zip functions.

>
> I've posted sources for these functions on this NG - please search the NG.
>
> Ron


Ron, thank you. I saw something you posted that said it was
untested. It looked like "regular" .prg code. I'm not used to the
power of xHarbour, so that seemed too easy (to use). If that was it,
would I simply put that "prg looking" code in a prg and compile with
it?

Best,
Scott

Reply With Quote
  #8 (permalink)  
Old 04-13-2008, 03:10 AM
Ron Pinkas
Guest
 
Posts: n/a
Default Re: New user, help with unresolved externals

Scott,

<<<
Ron, thank you. I saw something you posted that said it was
untested. It looked like "regular" .prg code. I'm not used to the
power of xHarbour, so that seemed too easy (to use). If that was it,
would I simply put that "prg looking" code in a prg and compile with
it?
>>>


Yes, it's normal PRG code, which you can simply add to one of your sources.

Ron


Reply With Quote
  #9 (permalink)  
Old 04-13-2008, 03:35 AM
Ron Pinkas
Guest
 
Posts: n/a
Default Re: New user, help with unresolved externals

Scott,

<<<
Ron, thank you. I saw something you posted that said it was
untested. It looked like "regular" .prg code. I'm not used to the
power of xHarbour, so that seemed too easy (to use). If that was it,
would I simply put that "prg looking" code in a prg and compile with
it?
>>>


Yes, it's normal PRG code, which you can simply add to one of your sources.

Ron



Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Macro vs user Ian Whitlock Newsgroup comp.soft-sys.sas 1 09-03-2006 11:37 PM
Re: Macro vs user Arthur Tabachneck Newsgroup comp.soft-sys.sas 0 09-02-2006 10:25 PM
libref for "work" data sets (one level name): WORK vs USER vs User= option Dexter Road Newsgroup comp.soft-sys.sas 2 11-18-2004 10:08 PM
Re: libref for "work" data sets (one level name): WORK vs USER vsUser= option Ed Heaton Newsgroup comp.soft-sys.sas 0 11-18-2004 04:32 PM
Re: libref for "work" data sets (one level name): WORK vs USER vsUser= option Dunn, Toby Newsgroup comp.soft-sys.sas 0 11-18-2004 03:27 PM



All times are GMT. The time now is 12:23 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.