Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

DeletePrinterConnection

$
0
0

Hi

I'm a bit stuck with VS 2010 C++ when it comes to deleting a printer.

This works:

String^ printer = "something";

AddPrinterConnection(printer);

However, if I follow this with, say:

DeletePrinterConnection(printer);

I get "error C3861: 'DeletePrinterConnection': identifier not found".

I'm unclear as to why I can't delete a printer this way. I've looked on:

http://msdn.microsoft.com/en-us/library/dd183344%28v=VS.85%29.aspx

and I'd have thought all was fine with this method. Can anyone help me please?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>