View Full Version : Login Fails

02-17-2015, 02:13 AM
I am using BOAPI 10
According to the help manual provided, i try to login, but my visual studio 2012 stops when the code gets to Api.Login() method without giving any exception

it says "vshost.exe" has stopped working

Api = New CVertexFXBOAPI
Api.SetLoginInfo("demoaccount", "scrambledpassword", "", 80)

02-17-2015, 07:39 AM
Dear Qasim,
in some cases Windows vista/Windows 7 prevent some executable codes from running/executing probably. This happens because of Data Execution Prevention (DEP) this happens in some cases, which means, this does not apply on all machines, the API could work on different machines with the same Operating System..

Snippet from Wikipedia about this:

Data Execution Prevention (DEP) is a security feature that is intended to prevent an application or service from executing code from a non-executable memory region. This helps prevent certain exploits that store code via a buffer overflow, for example. DEP runs in two modes: hardware-enforced DEP for CPUs that can mark memory pages as non-executable, and software-enforced DEP with a limited prevention for CPUs that do not have hardware support. Software-enforced DEP does not protect from execution of code in data pages, but instead from another type of attack (SEH overwrite).The fix/solution for this case is that we have wrote two patch files (http://www.hybrid-solutions.com/Win7ComFix.zip) for turning on DEP and turning off DEP. This way, you will be able to turn on/off the DEP at anytime you want. You can download those patch files by clicking here. (http://www.hybrid-solutions.com/Win7ComFix.zip)

After turning off the DEP, restart your machine.

You may get more information about DEP by Clicking Here... (http://jtstroup.net/post/Attempted-to-read-or-write-protected-memory-This-is-often-an-indication-that-other-memory-is-corrupt.aspx)

02-18-2015, 08:04 AM
Dear qasim ,

can u send me you team viewer Id & pass as private message to check the issue live