Hi,
My company is in a process of replacing our ERP-system.
A subproject wil be the replacement of a 'home build' environment processing
some 25000 EDIFACT messages pr. month and 15000 XML messages pr. month.
We (The project management) consider to use Biztalk 2004 as the new platform for...
Arrrgh ... so simple....
I made your first example work because there wasn't any real reference to the external object. As soon as I actually use (or try to ..) the object, the linker fails (It does however allow you to print the size of the object).
I don't understand why you want global...
If you change this line :
extern NS::A obj;
to this :
NS::A obj;
It works ok.
I also did build the first version - where extern is used -and can't tell why you have to remove it in this version ... but I am working on it ...
/JOlesen
This will display the content of your matrix :
for(int i = 0; i < M1.size(); i++)
for(int j = 0; j < M1[i].size(); j++)
for(int k = 0; k < M1[i][j].size(); k++)
printf("%d ", M1[i][j][k]);
/JOlesen
Nope, A Console application is not a 16-bit app. It's a 32 bit windows application with a text-mode userinterface.
You cannot create a DOS app. with VC++ 6.0.
/JOlesen
A typical way is to supply the function with many pointers in the parameterlist :
int ival1, ival2, ival3;
func(&ival1, &ival2, &ival3);
printf("\nival1 = %d", ival1);
...
void func(int * p1, int * p2, int * p3)
{
*p1 = 100;
*p2 = 200;
*p3 = 300;
}
Also you could simply...
'Double' pointer has nothing to do with struct c.
Most? often you will use this if you want a 'child' function to create a structure, and further want the child to pass the address of the created structure into a location (address)decided by the calling function.
The parent calls the child...
>>typedef const node_t *cnode_t;/* typedef a const pointer to struct */
Your comment is wrong :
It's a pointer to a const object (You can modify the pointer, but not the object)
Except for that I can't really help you - triggy thing !
/JOlesen
The error you get suggest you are trying to write to an address not belonging to your process.
Could be because your dll calls strcpy(buffer, key)
What exactly does buffer point to ?
Show the code calling the Login function.
/JOlesen
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.