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
Can't see the entire command in your post, but :
cl /c ...options.... will do a compile only job.
Try cl /? in a command-prompt to see all options available.
/JOlesen
A hexadecimal number is just as good as a decimal number. When your program is compiled, it's exactly the same as a decimal numer : It's converted to some binary stuff.
Hexadecimal is only a notation used to please the human eye / brain (Much easyer to read than binary (Like 1001001))...
If you are doing a nested loop, and want j to start at i + 1 every time, you should write something like this :
list<numbers>::const_iterator i;
list<numbers>::const_iterator j;
for (i = poly1.begin(); i != poly1.end(); i++){
for (j = i+1; j != poly1.end(); j++ ) {
...
}
}
/JOlesen
The file msado15.tlh is reconstructed every time a file containing the statement #import msado.dll (or so) is compiled.
If the file is opened in a window, the IDE will warn you that the file has been modified outside the IDE.
You don't need to have this file open (Since you shouldn't edit it)...
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.