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

Visual Basic

 
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 
OK -- changing these handles to IntPtrs had one interesting difference -- First, a quick summary so this makes sense:

When called from .NET host, the DLL routine worked both in debug and release mode. When called from a COM host, both failed (invalid handle).

With IntPtr... Debug mode compilation works for BOTH .NET and COM hosts, and release-mode compilation FAILS for both! So this is really a net-zero gain if one were keeping score. But, I CAN use the debug-compiled version for production, so if this ends up working on the test and production systems, it will at least be a go.

But it still looks like something rather seriously wrong with the compiler. I see .NET 2.0 has a "safe handle" object, so apparently there IS something dicey about using handles in .NET 1.1


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 
AnswerRe: Internet disabling/enabling Pin
Dave Kreskowiak17-Jun-06 16:50
mveDave Kreskowiak17-Jun-06 16:50 
GeneralRe: Internet disabling/enabling Pin
elms28-Jun-06 9:34
elms28-Jun-06 9:34 
GeneralRe: Internet disabling/enabling Pin
Dave Kreskowiak29-Jun-06 1:23
mveDave Kreskowiak29-Jun-06 1:23 
QuestionDir() function Pin
No-e16-Jun-06 8:49
No-e16-Jun-06 8:49 
AnswerRe: Dir() function Pin
Mekong River17-Jun-06 16:04
Mekong River17-Jun-06 16:04 
GeneralRe: Dir() function Pin
No-e19-Jun-06 2:40
No-e19-Jun-06 2:40 
GeneralRe: Dir() function Pin
Mekong River19-Jun-06 3:38
Mekong River19-Jun-06 3:38 
GeneralRe: Dir() function Pin
No-e19-Jun-06 3:51
No-e19-Jun-06 3:51 
GeneralRe: Dir() function Pin
Mekong River19-Jun-06 13:33
Mekong River19-Jun-06 13:33 
AnswerRe: Dir() function Pin
Steve Pullan17-Jun-06 22:25
Steve Pullan17-Jun-06 22:25 

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.