c++
-
I wrote the below program ,the object (obj) is accessing all methods of RDOSessionClass.But it shows compile time error that "obj is undeclared identifier" what is the problem while it is accessing all function but not compiled. #include #include #import "Redemption.dll" void main() { CoInitialize(NULL); Redemption.RDOSessionClass obj; obj.Logon(" ",0,0,0,0,); CoUninitialize(); } Plz tell me how can i do this.
manu
-
I wrote the below program ,the object (obj) is accessing all methods of RDOSessionClass.But it shows compile time error that "obj is undeclared identifier" what is the problem while it is accessing all function but not compiled. #include #include #import "Redemption.dll" void main() { CoInitialize(NULL); Redemption.RDOSessionClass obj; obj.Logon(" ",0,0,0,0,); CoUninitialize(); } Plz tell me how can i do this.
manu
-
I wrote the below program ,the object (obj) is accessing all methods of RDOSessionClass.But it shows compile time error that "obj is undeclared identifier" what is the problem while it is accessing all function but not compiled. #include #include #import "Redemption.dll" void main() { CoInitialize(NULL); Redemption.RDOSessionClass obj; obj.Logon(" ",0,0,0,0,); CoUninitialize(); } Plz tell me how can i do this.
manu
This line:
manu_2205 wrote:
Redemption.RDOSessionClass obj;
looks very wrong to me. Would you try:
Redemption::RDOSessionClass obj;
instead?
-
I wrote the below program ,the object (obj) is accessing all methods of RDOSessionClass.But it shows compile time error that "obj is undeclared identifier" what is the problem while it is accessing all function but not compiled. #include #include #import "Redemption.dll" void main() { CoInitialize(NULL); Redemption.RDOSessionClass obj; obj.Logon(" ",0,0,0,0,); CoUninitialize(); } Plz tell me how can i do this.
manu
Maybe your problem is of
Redemption.RDOSessionClass
if no did you include header files?
WhiteSky