32bit DLL Calling Convention
I quite often get asked what is the correct C code for DLL's to be accessed by PowerBuilder. This is a piece of sample code with the algorthium removed that I use for Password Encryption.
__declspec(dllexport) LPSTR WINAPI Encrypt( LPSTR Password ) 
{
}

__declspec(dllexport) LPSTR WINAPI Decrypt( LPSTR Password ) 
{
}
Back