Home > Software engineering >  No source EXE connect to the database, VB6.0 by use!
No source EXE connect to the database, VB6.0 by use!

Time:06-05

No source EXE connect to the database, VB6.0 by use!
The cloud address!

https://pan.baidu.com/s/1ca4AIUjf67xhB-FGawplyQ

OCX to register, copy to under WIN32.
8 dp. EXE.
Can use winHEX or DECOMPLIER modify the string!
This is my modified IP Provider=MSDASQL;" SQL Server Driver={}; Server=192.168.0.88; The Database=erp; Uid=sa; The Pwd=",
88 is the address of the server!
But still unable to connect, but his writing an EXE using the above method, can test status to 1. The said database without any problems!
So now, don't know where the EXE also need to modify!

Or will OD debug out!

CodePudding user response:

Estimates and a may lack the port number

CodePudding user response:

In the control panel manual configuration first try ODBC to connect to the database

CodePudding user response:

IP code written inside die? Basically won't do it right, normal, die inside the code we write the address is convenient to debug, the use of formal should be according to the configuration information to connect, so you use binary editing tools or decompiling see connection string is basically a programmer legacy in temporary default string, again how change all useless,
The correct posture should be a single step using Ado to connect the call method such as the IDEA place to add breakpoints, stop after watching the address of the connection string parameters, to trace the address where to access or write operation,

CodePudding user response:

Ah, this is the grave of a year ago, zha has been dug up,
  • Related