Página 1 de 1
Dois problemas
Enviado: 05 Dez 2007 10:55
por WCARDOSO
Bom dia colegas,
Primeiro : não me lembro mais como faz uma lib.
eu executo o seguinter : clipper rac
lib file rac
quando ele pede dos dados me renrolo : OPERATION :
LISTFILE:
OUTPUT LIBRALY:
O que eu digito ai?
Segunda : como faço pra resolver o problema dos erros :
WARNING WRT0011 " FWRITE" double defined
Obrigado,
[]´s
Wagner
Enviado: 05 Dez 2007 12:51
por sygecom
Onde isso ? o que vc esta usando para gerar LIB para CLIPPER ? no link abaixo tem um programinha para gerar LIB para clipper.
https://pctoledo.org/download/cop ... t&deonde=3
Re: Dois problemas
Enviado: 05 Dez 2007 13:15
por Maligno
WCARDOSO escreveu:Primeiro : não me lembro mais como faz uma lib.
Help pra isso é fácil. Execute o utilitário de bibliotecas (MS LIB ou Borland TLIB, por exemplo) sem qualquer argumento e o help aparecerá. É só seguir a receita. Eu uso o TLIB e, simplificadamente, é
TLIB myLIB +objeto pra incluir o objeto na biblioteca myLIB. Se ela não existir, será criada.
Segunda : como faço pra resolver o problema dos erros :
WARNING WRT0011 " FWRITE" double defined
Nunca vi esse warning antes. Mas, normalmente, warnings podem ser ignorados. Esse está causando algum problema sério?
Enviado: 05 Dez 2007 13:20
por Maligno
Em tempo: acho o TLIB melhor que o LIB da Microsoft. Se quiser, tenho o TLIB no meu
site pra download.
Enviado: 05 Dez 2007 21:15
por WCARDOSO
Maligno, não encontrei no seu site esta função.
Enviado: 06 Dez 2007 00:46
por Maligno
Não encontrou a função por quê não é função.

))
No mesmo link que passei, pegue o arquivo
tlib_v4.5.zip.
Enviado: 06 Dez 2007 08:14
por WCARDOSO
Desculpe Maligno,
Mas nesses dois link´s
http://prg.buzinello.com
http://pub.buzinello.com
que você me passou naum encontrei o tlib_v4.5.zip
Obrigado,
[]´s
Wagner
Enviado: 06 Dez 2007 09:49
por Maligno
Você se distraiu e não viu que na minha segunda mensagem tem um link na frase que escrevi. Este link é igual este
aqui. Note que a palavra "aqui" está em outra cor.

Enviado: 06 Dez 2007 10:24
por gvc
Verifique no seu fonte, vc esta redefinindo um simbolo publico.
Do NG:
wrt0011 Public symbol '<symbol>' redefined
Explanation: Redefinition messages are especially important when a .PLL is involved. Often programmers will rewrite a routine in a referenced library and not include the new module until they create the .EXE. When a .PLL is built referring to the library and .RTLink needs to resolve the name of the routine, it has not seen the new definition but needs to find a definition for the symbol. It would therefore pull in the module from the library into the .PLL. When you later linked the .EXE which referenced the .PLL, you would get redefinition messages.
The addresses in the .PLL have been bound so that they call the library function, while the addresses in the .EXE have been bound to reference your function.
Action: The redefinition of symbols in .RTLink is normally a serious error; however, in some instances a knowledgeable programmer may ignore this warning if the symbol will never be referenced. Do this at your own risk, however, because in most cases this warning is catastrophic. It implies that occurrences of the symbol may be replaced by different addresses in different parts of the program. Use of the EXCLUDE option can often help out with symbol redefinition messages (especially when you wish to delay the definition of some symbol in a .PLL since the linker will not see the correct definition until .EXE link time).
Enviado: 06 Dez 2007 10:27
por Maligno
Pô! To mal. Juro que olhei o NG, mas nem me toquei que o caso era de RTLink.

Enviado: 06 Dez 2007 23:26
por WCARDOSO
Na pratica o que tenho que fazer???
Enviado: 07 Dez 2007 00:04
por Luciano Bonfim
amigo,
vc chamou alguma variavel ou funcao ou procedure de FWRITE
renomeia ela!!!!
Enviado: 07 Dez 2007 03:02
por Maligno
Aproveita e troca o RTLink pelo BLinker. O ganho é excepcional. Se quiser, pegue no meu site, neste link
aqui. Pra usar o dito cujo é fácil e o assunto já foi tratado porrilhões de vezes no fórum. É só fazer uma busca.