|
SHGetSpecialFolderLocation with CSIDL_PERSONAL.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Cheers,
I should have known that.. must be my cold.
BTW: Klaus Schulze is quite good.
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
I've created an mfc-dll on a win98/2 and it works fine, but on winNT/2000 "sometimes" it crashes.
Are there any platform-rules I have to take into account when building the dll, so it can be run on winNT?
tnx.
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
Bluute tette!
|
|
|
|
|
Grote Smurf (aka frisco) wrote:
on winNT/2000 "sometimes" it crashes
First of all, remove 'sometimes' from the equation. Can you reproduce the problem running under debugger? Check the call stack after crash and see what's the problem.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
unfortunatly, I cannot run the debug build, cause the nt machine doesn't have debugging dll's
But, I think I've figured out my problem. It has something to do with the memory addressing. I guess that win98 uses signed to address memory, but nt uses unsigned, and that gives troubles when you calculate with them. Is that true?
What's the best type to address memory then? is it something like unsigned dword? I don't know, types are not my speciality (cause there are trillions of them)
Are there any other diffs between win98 and nt?
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
Bluute tette!
|
|
|
|
|
Grote Smurf (aka frisco) wrote:
I guess that win98 uses signed to address memory, but nt uses unsigned, and that gives troubles when you calculate with them
The layout of process address space is different in 9x and NT/2K/XP. Are you converting your pointers to integers? If so, why?
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Look to my other thread a little bit higher: filemapping.
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
Bluute tette!
|
|
|
|
|
hi all
i m having a problem in loading my customised bitmap(coloured) as cursor in my exe
i inserted a coloured bitmap in resource and & called LoadImage (...)
But did not get correct results
i can get a monochrome bitmap loaded but while loading a coloured Bitmap the function fails
Plz suggest me some solution to it
Thanks
|
|
|
|
|
Dhaval Patil wrote:
...the function fails...
No one can help you this way. WHAT fails and what does GetLastError() bring up?
|
|
|
|
|
Hello!!
I'm trying to scroll the contents of a RichEditCtrl using the
CRichEditCtrl::LineScroll(..) member function, however I cannot do any
horizontal scrolling when I call for example LineScroll(0, 10) inside the
OnHScroll() handler.
The RichEditCtrl is not created using the ES_RIGHT or ES_CENTER style that is mentioned in the MSDN Library.
Does anyone have any suggestions on what might be wrong?????
Thanks!!!
|
|
|
|
|
I need to use the Automation to export data from
a VC++ application into an Excel document.
I also need to manage the Excel sheet in oder to
add, remove and move cells, colums and rows.
Does someone know where I can find some samples
or information ??
I know nothing about it and I need help!!!
|
|
|
|
|
Visual C++ comes with COMEXCEL sample. You may use it as a starting point.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
|
Your sample are very interesting !!!!
Do you know where can I find some documentation
about Office methods ??
Now I think that the main difficult is to find
the appropriate method to use and to supply the
right parameters to it !!!
|
|
|
|
|
Normaly, you should have all the doc needed on your machine.
Look into Microsoft Office/Office/1033/vbaxl9.chm. It's the visual basic excel reference, but you can use it to invoke methods and propertyget/put.
btw. the 9 in vbaxl9.chm can be another number, defining the version of excel.
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
Bluute tette!
|
|
|
|
|
You have suggested me all I was looking for !!!!
Thank you very much !!!
|
|
|
|
|
I already said that I did some excel automatisation in c++. It's a long and hard way (especially if you're going to catch the excel events too).
So don't hesitate to ask in the future, it can save you a lot of time.
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
Bluute tette!
|
|
|
|
|
Suppose there is a function having some local variables and local objects. This function calls some other function. Now at this stage do we say that local variables/objects goes out of scope. Does the destructors of local objects called here ??
OR
Do we say that local variables/objects goes out of scope when a certain function returns ??
|
|
|
|
|
They are still in scope untill the function they were declared in exits or when they reach the end bracket from which they were declared.
{
int poo;
{
//poo still in scope
}
} <-- poo out of scope and deleted.
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
I have a dialog that I invoke with a button press on a Propertypage. From within the Dialog I want to acces certain propertypage member variables.
This is the way I do it.
m_List = ((CParameterPage*) GetParent())->m_ParList;
But it seems that all variables I acces are uninitialized eventhough they have correct values before I invoke the dialog!
What am I doing wrong?
|
|
|
|
|
Actually, a dialog invoked from property page isn't a child window. So you can't use GetParent; add the pointer as a memmber of CYourDialog class. If you only need to access the list, add the pointer/reference to the list instead.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Thank you,
And the compiler couldn't tell me that
Arjan.
If every fool wore a crown, we would all be king - Lard
|
|
|
|
|
I have to draw some measurepoints in the view of a CScrollView. So, have anyone a idea how to make this (FLICKERFREE!!!) on a pocket pc (no directdraw...).
Should I draw the measurepoints in a mem dc and blit that in the view?
--
Nice greets, Daniel.
|
|
|
|
|
Daniel S. wrote:
Should I draw the measurepoints in a mem dc and blit that in the view?
Exactly.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Hello,
exists there an api-function in c++ that i can use to determine the user-rights of the current user logged in in winnt (i need to know if the user has administrator-rights)?
Best regards
tabor25
|
|
|
|