FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour give pointer in dll
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
give pointer in dll
Posted: Sun Jul 27, 2008 09:14 AM

> declare DLL_TYPE_BYTE _OWersja(DLL_TYPE_LPCSTR cfile1, DLL_TYPE_LPCSTR cfile2) in WinIP.Dll

This is not FiveWin syntax. What is it ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
give pointer in dll
Posted: Sun Jul 27, 2008 10:06 AM

this is

DLL32 FUNCTION _OWersja(cFile1 AS LPSTR, cFile2 AS LPSTR ) AS WORD PASCAL LIB "WinIP.Dll"

if function _toupper() this the same function toupper() from ctype.h

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
give pointer in dll
Posted: Sun Jul 27, 2008 10:09 AM

> if function _toupper() this the same function toupper() from ctype.h

Yes, probably

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
give pointer in dll
Posted: Sun Jul 27, 2008 10:12 AM

if I try
char _toupper( char );
I get worning

unresolved external symbol '__toupper'

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
give pointer in dll
Posted: Sun Jul 27, 2008 01:00 PM

Then try with toupper() without the underscore

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion