|
NS17 wrote: It needs (WINVER >= 0x0500). So I just used its value!
So which one is easy! Using it's value (Of course with MAKEINTRESOURCE ) or defining WINVER once and using IDC_HAND .;)
Nibu thomas
Software Developer
Faqs by Michael dunn
|
|
|
|
|
OK OK...
As he was trying to load it from exe module, I think it is better to get him the cursor with out making him much effort... After he can do it successfully he can simply change it by definging the WINVER. If you don't like it, he have to ...
- NS -
|
|
|
|
|
NS17 wrote: OK OK...
As he was trying to load it from exe module, I think it is better to get him the cursor with out making him much effort... After he can do it successfully he can simply change it by definging the WINVER. If you don't like it, he have to ...
But still tell me which one is easy...
Nibu thomas
Software Developer
Faqs by Michael dunn
|
|
|
|
|
For a beginner my method is easy...
- NS -
|
|
|
|
|
NS17 wrote: For a beginner my method is easy...
What if the Beginner would like to write the same code at several places.
Nibu thomas
Software Developer
Faqs by Michael dunn
|
|
|
|
|
Nibu thomas wrote: like to write the same code at several places
But his question or need does not mean that
- NS -
|
|
|
|
|
Hi,
can somebody tell me how to create external ActiveX from Application type - Multiple documents ?
jan
|
|
|
|
|
Anyone know how to rebuild the intellisense in VS 2005? VS is not picking up changes I have made to structures that are contained in header files that are not part of the solution.
AxisFirst For Business
|
|
|
|
|
- exit Visual studio.
- Delete the .ncb file
- Open VS and compile
Now the intellisense database is updated. (I hope )
|
|
|
|
|
The header file is not part of the solution so that makes no difference. VS seems to have a cache somewhere that I need to delete. The structure in question was changed about a year ago but this is the first time I've had to debug using this particular structure and the watch window is showing the old format structure.
AxisFirst For Business
|
|
|
|
|
Steve Thresher wrote: The header file is not part of the solution so that makes no difference
I think that this isn't the real problem: I think that the VS cache is only in the solution main folder -> so you have to edit something there.
Try also to delete the DEBUG(or RELEASE) sub folder(s).
This will reset the solution and will reset everything that was generated with VS.
|
|
|
|
|
I have tried deleting every temporary file, solution file and project file but nothing has changed. To make matters more complicated the structure is a member of another structure and this is where I get the problem. If I declare an instance of the problem structure the watch window shows the correct layout. So now I have two entries in the watch window which both show as the same type but with different layouts. Even adding a cast to the front of the variables being watched makes no difference.
AxisFirst For Business
|
|
|
|
|
Last year I was exactly your problem, but with the suggestions that I gave to you now it is solved,.....so probally I can't help you more.
Was the application closed when you was deleting the files and folders?
It is important!
|
|
|
|
|
Yes the application was closed when I deleted all temporary, solution and project files. If the application wasn't closed I wouldn't have been able to delete the NCB file.
Thankyou very much for trying to help, I still have the layout problem but I have solved the program bug and so have to move onto the next problem. I'll try again another time.
AxisFirst For Business
|
|
|
|
|
As I understand intellisense is only used to show information in the code window. Since you are having this problem with watch window something else is wrong. Did you tried using quick watch, does it have same problem.
-Saurabh
|
|
|
|
|
Close all files and views that you have opened in your project.
Delete the .ncb file from the project folder.
Close all instances of the editor running from task manager.
Reopen your editor and then try and Clean/Rebuild the solution.
I hope that this solves your problem.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi,
can somebody tell me how to debug ActiveX used in external application (external application used
*.OCX)???
Thanks
|
|
|
|
|
For the DLL that you want to debug, set the container application's EXE path (where you use your component) to 'Executable for Debug Session' in 'Linker' settings.Then run your application setting the breakpoints.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Where I to set is?? I used VS 6 C++
Because I dont found Executable for Debug Session...
|
|
|
|
|
Try to run the activeX Control that you have created by pressing Ctrl+F5
This will open a dialog on the screen saying to set the path of an executable file.Set the path of the exe that you are calling the active X Control and then execute or debug.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Thanks very much
Do you now as use dialog in ActiveX?? Because I have problem -
by clicked on CButton my application frozzen... But when I clicked
on CheckBox is all OK.. (I know CheckBox is child CButton)..
I dont know where is problem
|
|
|
|
|
|
It's fine.. but I have own CWnd objects in CDialog.
And when I create these objects then not go clicked on CButtons.
Can I help me please???
|
|
|
|
|
Can you explain a bit in detail what do you want to achieve with the active X Control that you are creating
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
I have dialog which handle 3 object (CWnd * objects), these objects are childer main dialog...
I need reconstruct this dialog on the ActiveX control. I have make this dialog, is correct when it
run under ActiveX control test container, but in external application not. Can you help me???
|
|
|
|