Create
an IPB_Session object within IPB_VM
Next create an IPB_Session object within IPB_VM, using the
PowerBuilder application’s name and library list as arguments:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
// loadpbvm.pbl must contain an application object // named loadpbvm and it must be on the search path // for the executable file LPCTSTR LibList[] = {"loadpbvm.pbl"}; if ( pbvm->CreateSession("loadpbvm", LibList, 1, &session) != PBX_OK ) { fprintf(stderr, "Error in CreateSession "); return 1; } fprintf(stderr, "Created session successfully "); |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest