Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPreferred size for memory block alloc? Pin
Dominik Reichl12-Nov-03 22:58
Dominik Reichl12-Nov-03 22:58 
AnswerRe: Preferred size for memory block alloc? Pin
Anand Paranjpe12-Nov-03 23:49
Anand Paranjpe12-Nov-03 23:49 
GeneralRe: Preferred size for memory block alloc? Pin
Dominik Reichl13-Nov-03 1:16
Dominik Reichl13-Nov-03 1:16 
GeneralRe: Preferred size for memory block alloc? Pin
David Crow13-Nov-03 4:17
David Crow13-Nov-03 4:17 
GeneralRe: Preferred size for memory block alloc? Pin
Dominik Reichl13-Nov-03 4:26
Dominik Reichl13-Nov-03 4:26 
GeneralRe: Preferred size for memory block alloc? Pin
David Crow13-Nov-03 5:27
David Crow13-Nov-03 5:27 
GeneralRe: Preferred size for memory block alloc? Pin
Dominik Reichl13-Nov-03 7:33
Dominik Reichl13-Nov-03 7:33 
GeneralTCP Problem Pin
graham the programmmer12-Nov-03 22:24
graham the programmmer12-Nov-03 22:24 
I have a problem with the net use /d cmd in NT, basically we have an application that runs a batch file to map a drive to a unix box on startup -

net use z: \\servername\sharename password username /persistent:no

the on close down it removes the mapping using -

net use z: /d

after this if I try to remap the drive I get the following error -

System error 1312 has occurred.

A specified logon session does not exist. It may already have
been terminated.

This seems to be caused by the fact that the TCP session is not closed by the net use /d, if I close it using a util called tcpview by systems internals I can then reconnect.

Does any one know of a utility that will let me close a TCP port from the cmd prompt, I have been trying to write one myself but although I can create a connection, list the TCP connections etc I can't seem to work out how to connect to and close an existing connection created by another process.

Any Ideas? i'm stuck.
GeneralRe: TCP Problem Pin
Alexander M.,13-Nov-03 8:05
Alexander M.,13-Nov-03 8:05 
QuestionHow to Catch or Retries processes before Task Manager. Pin
Anonymous12-Nov-03 22:03
Anonymous12-Nov-03 22:03 
AnswerRe: How to Catch or Retries processes before Task Manager. Pin
Peter Molnar13-Nov-03 14:10
Peter Molnar13-Nov-03 14:10 
QuestionCBrush::CreatePatternBrush limitations? Pin
CodeBrain12-Nov-03 21:52
CodeBrain12-Nov-03 21:52 
AnswerRe: CBrush::CreatePatternBrush limitations? Pin
Mike Dimmick13-Nov-03 3:17
Mike Dimmick13-Nov-03 3:17 
GeneralRe: CBrush::CreatePatternBrush limitations? Pin
CodeBrain13-Nov-03 3:31
CodeBrain13-Nov-03 3:31 
QuestionHow can I Enable Drag&Drop of IE URL's in my prog Pin
PlasmaJam12-Nov-03 21:51
PlasmaJam12-Nov-03 21:51 
GeneralNew Fonts for VC++ 6 Pin
dushkin12-Nov-03 21:29
dushkin12-Nov-03 21:29 
GeneralGetting MIME Format Pin
derzellner12-Nov-03 20:38
derzellner12-Nov-03 20:38 
Generalcrystalreport date field. Pin
murali_utr12-Nov-03 20:31
murali_utr12-Nov-03 20:31 
GeneralRe: crystalreport date field. Pin
Steve S12-Nov-03 22:49
Steve S12-Nov-03 22:49 
QuestionStop large loop in run time? Pin
closecall12-Nov-03 18:56
closecall12-Nov-03 18:56 
AnswerRe: Stop large loop in run time? Pin
Dominik Reichl12-Nov-03 23:00
Dominik Reichl12-Nov-03 23:00 
AnswerRe: Stop large loop in run time? Pin
Alexander M.,13-Nov-03 8:13
Alexander M.,13-Nov-03 8:13 
GeneralUsing matlab symbolic equation in Visual Studio 6.0 Pin
Member 69647712-Nov-03 17:46
Member 69647712-Nov-03 17:46 
QuestionToolTip not show in my DLL ??? Pin
ccnuxjg12-Nov-03 17:12
ccnuxjg12-Nov-03 17:12 
GeneralSite Suggestion Pin
LOSTTWARE.com12-Nov-03 16:10
LOSTTWARE.com12-Nov-03 16:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.