give pointer in dll

Postby Antonio Linares » Sun Jul 27, 2008 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby kajot » 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
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby kajot » Sun Jul 27, 2008 10:12 am

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

unresolved external symbol '__toupper'
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Antonio Linares » Sun Jul 27, 2008 1:00 pm

Then try with toupper() without the underscore
regards, saludos

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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests