Encerrado

little thing vb api softwrap

ok i got an app in vb

im using softwrap to wrap it...

now within vb im supposed to know if app is regged...

Isregistered function from an api call to [url removed, login to view]

HOW do i get that ?

thats the .h file they gave

#ifndef Register_h

#define Register_h

#ifdef REGISTER_EXPORTS

#define REGISTER_API extern "C" __declspec(dllexport) __stdcall

#else

#define REGISTER_API extern "C" __declspec(dllimport) __stdcall

#endif

// Constants

#define NOT_REGISTERED 0

#define REGISTERED 1

#define HACK_DETECTED 2

#define FILE_MISSING 3

#define FILE_ERROR 4

#define EXPIRED 5

// Exported functions

REGISTER_API int IsRegistered(char *pSWFile);

#endif

And heres the pdf doc

int check_purchase_status(char *DllFilename, char *Swfile)

{

if (!check_CRC(DllFilename))

return -1;

typedef int (_stdcall *FUNC)(char*);

FUNC IsRegistered;

HINSTANCE h = LoadLibrary( LPCTSTR(DllFilename) );

if( h == NULL )

return (GetLastError());

IsRegistered = (FUNC)GetProcAddress(h,"IsRegistered");

if( IsRegistered == NULL )

return (GetLastError());

return (IsRegistered(Swfile));

}

Please help me... i dont know how to declare and use the dll as an api

thanks for all

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

all

Habilidades: .NET, Programação C, Programação C#, Engenharia, Microsoft, MySQL, PHP, Arquitetura de software, Teste de Software, Visual Basic, Área de trabalho do Windows

Ver mais: vb programming software, programming define, programming api, define programming, define functional programming, define c programming, c programming typedef, c programming extern, c programming define, c programming char, char in c programming, char c programming, vb c, VB programming, little an, c++ vb, c vb, extern, little code, dllimport, registered call, API request, call dll int, php call api, call dll php

Acerca do Empregador:
( 5 comentários ) Canada

ID do Projeto: #2969160

7 freelancers estão ofertando em média $18 para este trabalho

leepwo

See private message.

$4.25 USD in 3 dias
(41 Comentários)
4.7
vw477251vw

See private message.

$7.65 USD in 3 dias
(39 Comentários)
4.4
amosoftwaregroup

See private message.

$25.5 USD in 3 dias
(34 Comentários)
4.4
rooboy

See private message.

$25.5 USD in 3 dias
(9 Comentários)
3.9
schatt

See private message.

$6.8 USD in 3 dias
(2 Comentários)
1.5
hydralisk

See private message.

$17 USD in 3 dias
(0 Comentários)
0.0
sanjayinfot

See private message.

$42.5 USD in 3 dias
(3 Comentários)
0.0