Turns out it didn't work.
I have a struct declared with char x[20];
How can I compare the two structs to see if that variable is the same?
Type: Posts; User: Dest
Turns out it didn't work.
I have a struct declared with char x[20];
How can I compare the two structs to see if that variable is the same?
Yup, different issue. Ty.
Hmm thats what I thought but it doesn't seem to be working, might be a different issue.
I have an array of structs, and I create a new struct and want to move it into that array as to save it in between function calls. How do I do this?
I made the characters I wanted to compare into an array and used a loop, thanks.
I have a char x[20]; I want to see if the first 5 characters are the same as another char. How would I do this? How does the other char have to be declared?
Worked around it, just sent all the data separately.
I think WriteFile would handle that big_pile_of_data just fine.
How do I accomplish this when WriteFile wants a pointer?
I'm using mailslots to pass structs between programs, or more precisely pointers to those structs. It is "working" as its passing something, but I'm unable to print out anything from the structs on...
Does a function pointer act like a variable? Should I treat it as one?
The RENDEZVOUS is a #define, the dissect_aim_tlv_value_ipv4 is a method defined in another header file. It looks like the data is eventually stored in some type of tree, though where and how to get...
I'm not sure how to describe this. I have the beginning of my struct:
struct tapData {
guchar buddy[20];
char message[200];
};
and I need to expand it to include additional data. Right...
Ah I see now, shouldn't be a problem then I'd assume.
Is it possible to send a struct through a Mailslot on Windows?
Ignore, I can't spell or read. X.X
Ah, thank you.
I receive error C2106 (Compiler Error C2106 (C++))
on these 2 lines:
data.buddy = buddyname;
data.message = "AAA";
these are the relevant declarations at the beginning of the method:
Found it, it looks like I just have to add it to a list of files in the Makefile.common file. Does this sound right?
Yup, seems to have worked for now.
Now that I've modified the existing dissector in Wireshark I need to add my tap file to the project. Do I have to modify the makefile to include it in the build? Thanks.
Including an additional file (in this case packet.h) solved the problem.
You can browse the code I'm modifying here: [Wireshark] Index of /releases/wireshark-1.2.7/epan
tap.h is in that directory, and I'm modifying packet-aim-messaging.c in the dissector subdirectory....
register.c
packet-aim-messaging.c
c:\wireshark\epan\tap.h(31) : error C2143: syntax error : missing ')' before '*'
c:\wireshark\epan\tap.h(31) : error C2081: 'packet_info' : name in formal...
I'm working with the Wireshark code, revision 32343. If you're familiar with Wireshark, I'm adding a tap plugin for the aim_messaging dissector. My problem is, whenever I add
#include <tap.h> to...