the error means the VC++ client is losing its connection with the SQL server, you need to find out why the disconection is happening. Can you get more info on the com link failure ?
not possible because when a windows is a contained inside another (a child) its behaviour and the messages it processes the classes it is derived from are different to an overlapped or desktop level parent.
There are some tricks you can play. Do you need to interact with these apps or do you...
Q7: Where is ClassWizard in Visual Studio .NET and in Visual Studio 2005?
A7: In Microsoft Visual Studio version 6.0, ClassWizard allows you to add messages, overrides, and events in addition to classes. Visual Studio .NET and Visual Studio 2005 donot have ClassWizard. Instead, an Add Class...
You need to use the GetItem() member function to iterate through the item of the Tree control and then use the SetItem() member function to change the image index for the tree item. The image index is a integer inde in to the tree control's image list.
Hope this helps,
Go to CodeProject.com...
If these are modal dialogs then they need to process their own messages, which is what the DoModal() function does for you. If your dialogs are modeless then the main message loop will pump messages to them for you. If you want to write your own modal message loop with special processing for a...
Thanks to all who contrib'ed, problem solved. Yes it was a stack alignment problem, someone had added a push and pop of a word sized variable around a call to a C function, like this
PUSH Word Ptr ERROR
CALL FUNC
POP Word Ptr Error
this word-sized push mis-aligned the stack. The solution was...
Thanks mingis, I was hopefully looking for an assembler directive that would do this for me. Failing that can any one point me to an example in assembler that I can intergrate into our code. I need a generic solution as there are quite a few places in our asm code where this problem occours. The...
Yes but the socket send() call that fails is called from a C function which is called from assembler, so why isnt the stack aligned by the C function that calls it? Manually aligning the stack by anding esp with 0xffffff8 solves the problem but I dont understand why exactly. Why isnt the stack...
I am receiving a WSAEFAULT error from a socket send. When i trace into the socket call a sysenter instruction (fast kernel call) is returning C00002C5 (DATA ALIGNMENT FAULT).
From this I figure the problem is with alignment of stack.
The stack backtrace to the socket call involves some of our...
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.