matrix39
Newbie level 4
Dear all
i am creating DLL using third party API/DLL using labwindows/CVI and getting the following errors in the argument of a functions which is a pointer to structure of structures.
the point where i am getting the Error "found '*' expecting ')' " is basically a pointer to structure of structures (of a third party whose definitions have been included in the included Headers). just for checking i made another structure (ActivityFlags) in my existing structure (BCCreateMsg) and referenced it using a pointer in "BCXmtMsg" function. But this gave no Error.........This is very strange !!!
For simplicity i remarked one of the structure variable (WD_ITEMS) in the WD_CARD_PCI_INFO structure, so the other structure WD_PCI_SLOT only has simple variables now. But still i get the same error and DLL creation is aborted.
can you please explain the difference for WHY compiler is behaving unpredictably for the very similar functions, structures and arguments.
i am attaching the project also for the above scenario.
i have tried by changing the calling conventions but that makes no difference in this situation.
hoping to have the prompt favourable solution...
thanks and regards..
ZAFAR
i am creating DLL using third party API/DLL using labwindows/CVI and getting the following errors in the argument of a functions which is a pointer to structure of structures.
the point where i am getting the Error "found '*' expecting ')' " is basically a pointer to structure of structures (of a third party whose definitions have been included in the included Headers). just for checking i made another structure (ActivityFlags) in my existing structure (BCCreateMsg) and referenced it using a pointer in "BCXmtMsg" function. But this gave no Error.........This is very strange !!!
For simplicity i remarked one of the structure variable (WD_ITEMS) in the WD_CARD_PCI_INFO structure, so the other structure WD_PCI_SLOT only has simple variables now. But still i get the same error and DLL creation is aborted.
can you please explain the difference for WHY compiler is behaving unpredictably for the very similar functions, structures and arguments.
i am attaching the project also for the above scenario.
i have tried by changing the calling conventions but that makes no difference in this situation.
hoping to have the prompt favourable solution...
thanks and regards..
ZAFAR