Click here to Skip to main content
15,920,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 9:51
treddie10-Jun-13 9:51 
GeneralRe: vb.Net Unfixing my edits? Pin
TnTinMn10-Jun-13 15:08
TnTinMn10-Jun-13 15:08 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 17:00
treddie10-Jun-13 17:00 
AnswerRe: vb.Net Unfixing my edits? Pin
Eddy Vluggen10-Jun-13 8:20
professionalEddy Vluggen10-Jun-13 8:20 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 9:56
treddie10-Jun-13 9:56 
GeneralRe: vb.Net Unfixing my edits? Pin
Eddy Vluggen10-Jun-13 10:45
professionalEddy Vluggen10-Jun-13 10:45 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 11:15
treddie10-Jun-13 11:15 
GeneralRe: vb.Net Unfixing my edits? Pin
Eddy Vluggen10-Jun-13 22:34
professionalEddy Vluggen10-Jun-13 22:34 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie11-Jun-13 9:18
treddie11-Jun-13 9:18 
AnswerRe: vb.Net Unfixing my edits? Pin
TnTinMn10-Jun-13 15:00
TnTinMn10-Jun-13 15:00 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 16:48
treddie10-Jun-13 16:48 
QuestionVB.Net and TAPI 3.1 Pin
Noname11210-Jun-13 3:35
Noname11210-Jun-13 3:35 
Questionchecking black pixels then counting them Pin
sharief hussien VB9-Jun-13 23:19
sharief hussien VB9-Jun-13 23:19 
AnswerRe: checking black pixels then counting them Pin
Dave Kreskowiak10-Jun-13 1:28
mveDave Kreskowiak10-Jun-13 1:28 
GeneralRe: checking black pixels then counting them Pin
sharief hussien VB10-Jun-13 2:26
sharief hussien VB10-Jun-13 2:26 
GeneralRe: checking black pixels then counting them Pin
Dave Kreskowiak10-Jun-13 3:58
mveDave Kreskowiak10-Jun-13 3:58 
GeneralRe: checking black pixels then counting them Pin
sharief hussien VB10-Jun-13 4:18
sharief hussien VB10-Jun-13 4:18 
GeneralRe: checking black pixels then counting them Pin
Dave Kreskowiak10-Jun-13 7:39
mveDave Kreskowiak10-Jun-13 7:39 
QuestionFilter the data from excel using VB Pin
R@M-ITcian8-Jun-13 18:32
R@M-ITcian8-Jun-13 18:32 
AnswerRe: Filter the data from excel using VB Pin
Richard MacCutchan8-Jun-13 21:56
mveRichard MacCutchan8-Jun-13 21:56 
QuestionIntPtr and API functions Pin
treddie8-Jun-13 17:03
treddie8-Jun-13 17:03 
AnswerRe: IntPtr and API functions Pin
Richard MacCutchan8-Jun-13 21:55
mveRichard MacCutchan8-Jun-13 21:55 
GeneralRe: IntPtr and API functions Pin
treddie8-Jun-13 23:39
treddie8-Jun-13 23:39 
GeneralRe: IntPtr and API functions Pin
Richard MacCutchan8-Jun-13 23:41
mveRichard MacCutchan8-Jun-13 23:41 
GeneralRe: IntPtr and API functions Pin
treddie9-Jun-13 8:11
treddie9-Jun-13 8:11 
No, I already understand that part. The problem is that win32 API functions canNOT switch automatically...They're stuck in 32bit land. So it seems that conversion IS necessary when on a 64bit system right?

Also, just realized this morning, that for some API functions, it needs to be Int32 not UInt32, since some functions return an address of -1 on failure. Theoretically, it is the only negative number that would be returned, so this SHOULD be OK.

This whole thing bothers me though, because it means that any pointer that can be passed to a win32 function is stuck in the 32bit range of values. Although it would OK to widen this to 64bits after output from the function, by placing zeroes in the higher order 32 bits, it does not guarantee that a "low" 32bit address is even available. The only reason that might not be a problem is that a 32bit number is still awfully large and how many 32bit valid addresses ranges (blocks of memory) can you expect to be using during any Windows session, even with multitasking?

But on the other hand, is the bit order correct in an Int32 to be used directly as a pointer on a 64bit system, without having to convert to Int64? I am having return value problems in my functions and if I can put the addressing thing to rest, then I can move on to other culprits.

modified 9-Jun-13 15:24pm.

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.