Similar Threads:
1.call SMS functions from driver
Can I use SMS functions(smsopen, SendSmsMessage...) in my driver? I am
developing a driver, I called sms functions from my driver, however it
return the fail code - 120 which means
120 This function is not valid on this platform.
ERROR_CALL_NOT_IMPLEMENTED
The the functions I called in a normal application, it works fine. Can
anyone tell me whether I can not use SMS function calls in driver?
2.SQLDriverConnect ODBC function call to SQL Server causes access violation
Calling SQLDriverConnect odbc function from my ISAPI filter causes
access violation. Here is the code i'm using to call the
SQLDriverConnect. Getting the connection handle, setting the
environment attribute(3.x) works fine.
SQLRETURN rc;
SQLCHAR connString[800];
SQLCHAR connStrOut[1025];
SQLSMALLINT cbConnString;
strcpy(connString,"Provider=sqloledb;Driver=SQL
Server;Server=myServer;Database=myDB;UID=myUID;PWD=myPWD")
rc = SQLDriverConnect(hDBC, (SQLHWND) NULL, connString, SQL_NTS,
connStrOut, 1024, &cbConnString, SQL_DRIVER_NOPROMPT );
The problem is the call works fine for one user at a time. But if i
stress test my isapi application with multiple users accessing at the
same time i get the access violation error.
I have tried the varying version of SQLDriverConnect but to no avail.
i.e
rc = SQLDriverConnect(hDBC, (SQLHWND) NULL, connString, SQL_NTS, NULL,
0, NULL, SQL_DRIVER_NOPROMPT );
Please let me know if it is anything i'm doing wrong or is it a buffer
overflow bug in SQL Server.
Thanks In Advance,
Niraj.
3.Calling WdfDpcEnqueue() inside EvtDpcFunc() function
Is it possible to include WdfDpcEnqueue() function inside EvtDpcFunc()??
Where EvtDpcFunc() is the dpc objects callback function.
Ex:I want to queue request in DPC B from DPC A's callback routine....!!!!
4.Calling inf file or installing .sys file from DriverEntry function
Hi ALL,
I am installing a new driver through INF file. I inserted my card into USB
and it ask me for path for INF file. I browse the the inf file and it calls
DriverEntry function of my sys file ( correct me if am wrong)
Now from this DriverEntry function i want to install
another sys file or want to call INF file passing my own hardware ID to INF
file. Can you tell me if this is possible?. Is there any way through which i
can
load/install .sys files from another sys file (lets say from DriverEntry
Function of another sys file).
I appreciate for any kind of inputs.
Regards
Wanni.
5.do not use CM_xxx function call
Hi,
I need to discover and know the scsi disk enclosure port/bus/target/LUN
numbers. I read some MSDN sample and learn how to enumerate them and can find
the disk enclosures attached to my Windows 2003 x64 server. And I use the
CM_Get_DevNode_Registry_Property to get the bus/target/LUN of the enclosure,
but I could not get the scsi port number. And MSDN mentioned "Do not use..."
the CM_ function I used and suggest to use SetupDixxx instead. But they
require different input parameters: CM_xxx use "handle of device instance"
while SetupDixxx use "handle of device infoset" and "device info data" I
think. May someone hint me how to get the parameters used in SetupDixxx from
the CM_xx device instance handle? Also how to get the scsi port number please?
Thanks,
Ken
6. Spooler hangs when StartPage() function is called from application
7. what stop the MiniportHalt function to be called?
8. problem in calling startdocport function of usbmon.dll