Skip to content

Re: Re: select nic in pal nic list

#187758
IMAFriend
Member

@Chike wrote:

First of all I think you must use Long instead of integer. SendMessage integers’ are 32 bit and basic integer is 16 bit (not completely sure, but be safer to use Long.)

vb.net variables of integer are 32 bit now. I’ll double check to make sure I’ve got 32 bits going into the sendmessage.

@Chike wrote:

Second, you have the code you need just few posts before yours, look at MessageCrossProcess.

@Chike wrote:

For your own process you can use VarPtr that to get the structure address, or declare another variant of send message to take lParam as Ref.

I’ll look at both these a bit closer. I’ve looked at so many files and samples and trying to update to the net stuff is a pain, I wish I had vb6 again. delegates and ‘as any’ and integers, oh my.

@Chike wrote:

However sending those messages to paltalk involves more than that. You need to allocate the structure in paltalk address space, and this code does it.

Okay, I am able to get the handle to the syslistview32, and with that handle I can get the Count, and I can run the scroll up and down. But to read the contents I need to dive deeper into the paltalk address space, right? I’ll review the code some more to work on that next.

@Chike wrote:

As for how to declare the LVITEM structure try to look at the attachment in this post.

Got that part taken care of.

Thanks bunches for the patience with me. I have a good app that I have in mind. Maybe not useful to many people, but useful to me and a few friends. So this is a good learning session for me. Just gotta keep working it til that light above my head turns on. ๐Ÿ’ก