give pointer in dll

User avatar
Antonio Linares
Site Admin
Posts: 42519
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Post by Antonio Linares »

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

Post by kajot »

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
Antonio Linares
Site Admin
Posts: 42519
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Post by Antonio Linares »

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

Yes, probably
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
kajot
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Post by kajot »

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

unresolved external symbol '__toupper'
best regards
kajot
User avatar
Antonio Linares
Site Admin
Posts: 42519
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
Post Reply