Hi All,
Is it possible to use the standard C swscanf() function inside a
filter driver, when I try and compile my driver with a call to swscanf() in
I get the following error message
“LNK2019: unresolved external symbol __imp__swscanf referenced in function”
Is there any way around this problem, or if not is there another
function that performs a similar task
Peter Richards
There are some other functions, not this atrocious but similar, in
NtStrSafe.H
swscanf is atrocious due to buffer overrun potential.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Peter Richards”
To: “Windows File Systems Devs Interest List”
Sent: Thursday, December 18, 2003 4:56 PM
Subject: [ntfsd] swscanf in Filter Driver
> Hi All,
> Is it possible to use the standard C swscanf() function inside a
> filter driver, when I try and compile my driver with a call to swscanf() in
> I get the following error message
>
> “LNK2019: unresolved external symbol imp swscanf referenced in function”
>
> Is there any way around this problem, or if not is there another
> function that performs a similar task
>
> Peter Richards
>
>
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
Generally stay away from null terminated strings - it’s a great way to get memory
overruns:-)
That said, I think you answered your question.
Peter Richards wrote:
Hi All,
Is it possible to use the standard C swscanf() function inside a
filter driver, when I try and compile my driver with a call to swscanf() in
I get the following error message
“LNK2019: unresolved external symbol __imp__swscanf referenced in function”
Is there any way around this problem, or if not is there another
function that performs a similar task
Peter Richards
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@alfasp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
–
Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.
Maxim,
Thanks for the reply, I have had a quick look through the NT Safe
String functions, but they don’t seem to provide an equivalent of sscanf().
I guess I’ll just have to parse the string the hard way.
Peter
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: 18 December 2003 14:10
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: swscanf in Filter Driver
There are some other functions, not this atrocious but similar, in
NtStrSafe.H
swscanf is atrocious due to buffer overrun potential.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Peter Richards”
To: “Windows File Systems Devs Interest List”
Sent: Thursday, December 18, 2003 4:56 PM
Subject: [ntfsd] swscanf in Filter Driver
> Hi All,
> Is it possible to use the standard C swscanf() function inside a
> filter driver, when I try and compile my driver with a call to swscanf()
in
> I get the following error message
>
> “LNK2019: unresolved external symbol imp swscanf referenced in
function”
>
> Is there any way around this problem, or if not is there another
> function that performs a similar task
>
> Peter Richards
>
>
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@student.cs.york.ac.uk
To unsubscribe send a blank email to xxxxx@lists.osr.com
> String functions, but they don’t seem to provide an equivalent of sscanf().
I guess I’ll just have to parse the string the hard way.
Also a good idea. State machines are good 
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com