|
prithaa wrote: But the procedure is not executed.There is some problem with the SQLBindParameter().
So what does it return?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello,
The SQLBindParameter returns -1 .It returns error.
Pritha
|
|
|
|
|
Which means you are then supposed to call SQLGetDiagRec() .
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
Do you have any idea regarding what is the maximum number of string ID's that can be created safely in the vc++6.0, for a project in which the DLL is statistically linked.
For example, for many string id 'values', we have another resource defining the same memory location pointed for the string table value. which leads to many errors during compiling.
The error is detailed in : http://support.microsoft.com/kb/q194299/[^]
Hence, i would like to know what is the maximum val of strings that can be added safely without producing such errors.
Thankyou!
-- modified at 6:19 Thursday 29th November, 2007
-- modified at 6:24 Thursday 29th November, 2007
Priya Sundar
|
|
|
|
|
Priya_Sundar wrote: vc++6.0 Statistically linked DLL library
WOW a new (not-predictable?) kind of linking.
As stated in TN020: ID Naming and Numbering Conventions you may use the range
1 -> 0x7FFF
for strings ID, with the further requirement that there is no confilict with the ones declared inside Afxres.h (as stated by the article your post links to).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Thanks Pallini..
Dont know how i missed to read it!
Priya Sundar
|
|
|
|
|
Can any one tell me good debugging tool(MFC) which could help me out in many issues.
|
|
|
|
|
Are the debugging tools that come with VC not enough ? If no, then you should explain exactly what you are looking for.
|
|
|
|
|
vethathiri wrote: Can any one tell me good debugging tool(MFC) which could help me out in many issues.
Visual Studio it self accompanied by state of art debugging tool. any specfic feature you looking for!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
why dont use of Visual Studio?
|
|
|
|
|
Platform SDK - Debugging tools for Windows
Nuclear launch detected
|
|
|
|
|
I set a keyboard hook and my KeyboardProc() get called on WM_KEYDOWN.
But I need to know the message which trick the key board hook.
I need to know which HWND the current key down message is sent to.
The thress passed in parameters 'code, wParam, lParam' don't give me any hint.
|
|
|
|
|
Can't you use the GetActiveWnd () inside your WM_KEYDOWN?
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
code_discuss wrote: I need to know which HWND the current key down message is sent to.
will GetFocus help?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Please ignore my last post, correct api would be GetForegroundWindow ..
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
All dear users,
I want to write an application which will identify wether particular port is blocked or unblocked? If it is blocked then I have to identify that is by antivirus or by user.
Please help and reply
Thanks,
CraZyToLearn
|
|
|
|
|
I used to use Inno Setup to create a single setup file for an application I developed using MFC 7 under Visual Studio 2003. There is no .NET dependencies for this application, but just some MFC and MSVC DLLs.
Now I want to migrate this application to MFC 8, however, I couldn't find a way to create a single setup file for it. I used the Setup and Deployment project and it created setup.exe and AppNameSetup.msi.
Since the application is a shareware, so I'd like to have my users download only one setup file rather than two.
Is there any way that I can achive this? Or is there any inexpensive installation tool (WiseInstall or InstallShield are too expensive) that I can use?
BTW, what is contained in the setup.exe anyway? Why is it needed? Can't we use the msi file directly by invoking msiexec.exe?
Thanks,
Jason
|
|
|
|
|
Take a look in NSIS (NullSoft Installation System)
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
i am the beginner in Visual C++, i usually using borland c, i confuse how to make new form in Visual C++, and how to open file from it, like in Visual Basic 6?
thanx
|
|
|
|
|
Do you want to make a dialog with CreateWindow or CreateWindowEx? you can insert CDialog class to your project after insert it you have a dialog with two files cpp and h file for it,after make it you can use of ShowWindow(SW_HIDE or SW_SHOW) for visible it or hide(also you can use of property of window) for open a file it depends to your purpose if you want to open a graphic file you can use of CImage class or for text files you can use of CFile class,...
|
|
|
|
|
You can do it programatically, or using the Wizard (if u are begginer I recommend you the wizard).
Go to resources editor, add a dialog. If you are not wanting complicated things a dialog will be enough, If you are planning more difficult functionality you may want to use CFormView (expand the + when selecting the dialog to be added).
Then you can put the controls in the dialog like you do in BC++.
If you make a double click, the wizard will ask you for a class to be related with the dialog. Choose a name.
After that you will have a *.cpp and a *.h in the files tab.
In this point... up to you and your code, what the dialog / formview will be able to do.
BTW, search a tutorial, or take a look into the begginers section here in the site. There are very good explanations and examples that will help you a lot.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
Hi.
I have the same problem with u, since I am also a beginner.
Can u send me your email so we can change information each other.
(U can reply this posted, so it will send directly to my email)
|
|
|
|
|
Hello everyone,
For a native unmanaged C/C++ Application/DLL/static lib, are there any practical usage of manifest file? If I am not building .NET Assembly.
From the MSDN document, I can not find too much use. Could anyone share some experiences please?
http://msdn2.microsoft.com/en-us/library/ms235542(vs.80).aspx
thanks in advance,
George
|
|
|
|
|
Yes. If you have a need to use Microsoft.Windows.Common-Controls Version 6.0.0.0 for example you want a ListView control with Tiles. Thats all I have found so far but I am sure there are others.
|
|
|
|
|
Hi Roger,
How to use the manifest file to specify current application dependent on a specific version of Windows Control component? Could you provide a sample or some link to learning resource please?
regards,
George
|
|
|
|