[so] Testul pt. tema 5
Andrei Dumitrache
so@cursuri.cs.pub.ro
Sat, 12 Feb 2005 18:19:29 +0200
Daca rulez testul, da eroare la GetProcAddress. Relativ la implementarea
bibliotecii eu zic ca e ok :
la inceput un .h :
#ifdef SWAPPERLIB_EXPORTS
#define SWAPPERLIB_API __declspec(dllexport)
#else
#define SWAPPERLIB_API __declspec(dllimport)
#endif
... dupa care undeva la definirea functiei in .h :
SWAPPERLIB_API void* vinit(int virt_pages, int phys_pages, int algorithm);
iar in .cpp (la implementarea efectiva):
SWAPPERLIB_API void* vinit(int virt_pages, int phys_pages, int algorithm)
{ ... }
Any ideas ?? E destul de standard
Thanks,
Andrei
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/