Hallo Zusammen, ich bin noch ziemlicher Anfänger mit VB6 und gerade dabei eine externe Dll einzubinden über Delcare Function.... Jetzt habe ich folgendes Problem wie kann ich folgenden Structur in VB6 abbilden (Beispiel stammt aus VB.net2005)?
1 | Public Structure LND_NOTIFICATION |
2 | Dim type As UShort |
3 | |
4 | '' union |
5 | '' { |
6 | '' struct |
7 | '' { |
8 | '' PDLN_CALLBACK function; |
9 | '' void *context; |
10 | '' } callback; |
11 | ''#ifdef WIN32 |
12 | '' HANDLE event; |
13 | '' struct |
14 | '' { |
15 | '' HWND handle; |
16 | '' UINT message; |
17 | '' } windowMessage; |
18 | '' struct |
19 | '' { |
20 | '' DWORD thread; |
21 | '' UINT message; |
22 | '' } threadMessage; |
23 | ''#endif // WIN32 |
24 | '' uint8_t reserved[64]; |
25 | '' }; |
26 | |
27 | End Structure |