Click here to Skip to main content
16,016,227 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questioncreating databse [modified] Pin
_tasleem17-Jun-06 15:08
_tasleem17-Jun-06 15:08 
AnswerRe: creating databse Pin
Mekong River17-Jun-06 15:53
Mekong River17-Jun-06 15:53 
QuestionUsing USB port Pin
Omar Mallat17-Jun-06 11:53
professionalOmar Mallat17-Jun-06 11:53 
AnswerRe: Using USB port Pin
Mekong River17-Jun-06 16:01
Mekong River17-Jun-06 16:01 
AnswerRe: Using USB port Pin
Dave Kreskowiak17-Jun-06 16:37
mveDave Kreskowiak17-Jun-06 16:37 
QuestionWin APIs different in debug/release (.NET?) Pin
rberman17-Jun-06 10:09
rberman17-Jun-06 10:09 
AnswerRe: Win APIs different in debug/release (.NET?) Pin
Dave Kreskowiak17-Jun-06 16:39
mveDave Kreskowiak17-Jun-06 16:39 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
rberman18-Jun-06 4:57
rberman18-Jun-06 4:57 
The problem is not relating to debugging per se -- I am not actually running in the debugger at all -- I'm just moving the DLL to its run directory and running its host application. When I do that, the debug version works and the release version does not.

This is not a problem in clean up -- the problem is that I create the file then write (and by "file" I mean the mailslot handle), and the write fails with "invalid handle" only in the release version.

So I'm not stopping the code at all. Yes, I do understand about resource management, and in fact the whole thing is in a Try/Finally block with the Finally block handling the freeing of the resource. But that's not the problem, as the resource is not (and should not be) free at the time the write is done -- immediately after the CreateFile. But acts as if it is.

I hope that clarifies the issue a bit.

GeneralRe: Win APIs different in debug/release (.NET?) Pin
Dave Kreskowiak18-Jun-06 8:02
mveDave Kreskowiak18-Jun-06 8:02 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
rberman18-Jun-06 10:30
rberman18-Jun-06 10:30 
GeneralRe: Win APIs different in debug/release (.NET?) [modified] Pin
Dave Kreskowiak19-Jun-06 1:25
mveDave Kreskowiak19-Jun-06 1:25 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
rberman19-Jun-06 4:29
rberman19-Jun-06 4:29 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
Dave Kreskowiak19-Jun-06 5:08
mveDave Kreskowiak19-Jun-06 5:08 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
rberman19-Jun-06 5:32
rberman19-Jun-06 5:32 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
Dave Kreskowiak19-Jun-06 12:44
mveDave Kreskowiak19-Jun-06 12:44 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
rberman19-Jun-06 6:30
rberman19-Jun-06 6:30 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
Dave Kreskowiak19-Jun-06 12:42
mveDave Kreskowiak19-Jun-06 12:42 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
rberman19-Jun-06 7:00
rberman19-Jun-06 7:00 
GeneralRe: Win APIs different in debug/release (.NET?) Pin
Dave Kreskowiak19-Jun-06 12:47
mveDave Kreskowiak19-Jun-06 12:47 
QuestionSource code for zedgraph bar chart (for 5 Bars needed) [modified] Pin
eric123916-Jun-06 23:24
eric123916-Jun-06 23:24 
QuestionAddressOf CopyProgressRoutine Pin
maple_kisses16-Jun-06 23:13
maple_kisses16-Jun-06 23:13 
AnswerRe: AddressOf CopyProgressRoutine Pin
Dave Kreskowiak17-Jun-06 16:45
mveDave Kreskowiak17-Jun-06 16:45 
Questionplease hepl me Pin
avinashprabhu.t.p16-Jun-06 20:13
avinashprabhu.t.p16-Jun-06 20:13 
AnswerRe: please hepl me Pin
Dave Kreskowiak17-Jun-06 16:46
mveDave Kreskowiak17-Jun-06 16:46 
QuestionInternet disabling/enabling Pin
elms16-Jun-06 19:46
elms16-Jun-06 19:46 

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.