|
Please dont mistake me but seriously,it's the dumbest question I've ever seen. How do people know your struck with string.h? and btw if you dont say the error you get there how do we know it? Can you dispaly the error please? and btw,
Tutorials for DLL are availabe in our own store. You may check it before you click somewhere out Clickety[^]
Press: 1500 to 2,200 messages in just 6 days? How's that possible sir?
Dr.Brad :Well,I just replied to everything Graus did and then argued with Negus for a bit.
|
|
|
|
|
VuNic wrote: seriously,it's the dumbest question I've ever seen.
Nah, how about this one[^]?
I enjoy occasionally wandering around randomly, and often find that when I do so, I get to where I wanted to be [^].
Awasu 2.3 [^]: A free RSS/Atom feed reader with support for Code Project. 50% discount on the paid editions for CP members!
|
|
|
|
|
lol Anything involving VB6.0 should be the dumbest. I admit.
Press: 1500 to 2,200 messages in just 6 days? How's that possible sir?
Dr.Brad :Well,I just replied to everything Graus did and then argued with Negus for a bit.
|
|
|
|
|
Nah, how about this one[^]?
I enjoy occasionally wandering around randomly, and often find that when I do so, I get to where I wanted to be [^].
Awasu 2.3 [^]: A free RSS/Atom feed reader with support for Code Project. 50% discount on the paid editions for CP members!
|
|
|
|
|
Is there any way to permanently show the vertical scrollbar on my List
Control, even when it is disabled, i.e. the number of rows does not exceed
the viewable area?
|
|
|
|
|
MFC VC 6.0 problem.
Could someone help me to fix this?
I changed my computer time and now I am getting this error.
I really do not need the help files at this point.
How do I delete them?
I tried to exclude all help files from compilation but it did not help.
Here is the error message
Making help include file...
'makehm' is not recognized as an internal or external command,
operable program or batch file.
'makehm' is not recognized as an internal or external command,
operable program or batch file.
'makehm' is not recognized as an internal or external command,
operable program or batch file.
'makehm' is not recognized as an internal or external command,
operable program or batch file.
'makehm' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\winnt\system32\cmd.exe.
Thanks for reading
|
|
|
|
|
In FileView, select the files you want to remove from the project, then press Delete.
|
|
|
|
|
I wish it was that simple.
It does not work.
I still get the same errors.
|
|
|
|
|
makehm.exe is called by makehelp.bat, which you will find is invoked in the custom build settings for (project_name).hpj. It is the file that processes resource.h to extract resource IDs to make many of the automatic help links of MFC work (e.g. pressing help in a dialog).
So if you do as Mike suggests and delete (project_name).hpj from the project the problem will disappear. However the cause is a worry if you ever do want to build help files as makehm.exe is a Microsoft utility located on my machine at
C:\Program Files\Microsoft Visual Studio\Common\Tools
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
|
|
|
|
|
Thanks for reply. It is getting little more complicated. My .hm file just vanished from my project files. I just copied it in from another project (I think that is not the best way to do that, but it works for now).
Now I am getting Cannot find "hcw" ..., but it aventually compiles.
I think the real issue is that my date of \Debug directory "creation" changed to year 2020 ( don't know how) and now the compiler wants to always recompile beacuse it thinks it is out of synch.
Funny part is tha the actual files have correct date, just the directory is messed up.
So, anybody knows how to "roll back " the date?
I'll try to buil Release and the rebult the Debug, maybe that will work.
|
|
|
|
|
Vaclav_Sal wrote: .hm file just vanished from my project files
You don't need the .hm file to be there, it is an output from the build. One from another project is almost certainly useless - it is made from your resource.h file.
Vaclav_Sal wrote: Cannot find "hcw"
hcw.exe is the microsoft help workshop, on my machine located at
C:\Program Files\Microsoft Visual Studio\Common\Tools
so it sounds as if you have a corrupted VS installation.
Vaclav_Sal wrote: date of \Debug directory "creation" changed to year 2020
You can simply delete the debug directory - it should be recreated at build time if it isn't there, but I doubt that the /debug directory creation time has anything to do with things.
Did you delete (project name).hpj from the project? If you go into project settings, for this file you will see a custom build step that invokes makehelp.bat, you should find makehelp.bat in your project directory, and if you have a look inside it you will find where makehm.exe and hcw.exe are called. Deleting the .hpj file from the project will stop this custom build step.
As I said before, I think that you have a corrupted VS installation and rather than keep chasing these things, I'd reinstall.
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
|
|
|
|
|
Can't you just change the project's dependency list (so that the "help project" is no longer part of that list)?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
This is why I asked all these silly questions.
a) I have no .hpj file nowhere in my project - so I cannot delete it.
b) There are no dependencies on help anything
c) I did reinstal my VC and it still fails.
d) I do not see any "customization" ( in Settings) regarding help files.
Basically - unless I edit make file I am stuck with this.
BTW I did compile the help file without any problems on different mashine but every time I want to run the debugger I have to recompile because files are "out of date".
Time to start over with my project.
Thanks for all your help.
|
|
|
|
|
Vaclav_Sal wrote: b) There are no dependencies on help anything
Have you verified this?
Vaclav_Sal wrote: Basically - unless I edit make file I am stuck with this.
Are you indeed using a makefile?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
How can I get an executable program in cygwin from a source code made in c, who has many subfolders?
|
|
|
|
|
I'm having problems with an aplication I'm working on that uses basic authentication over a https connection. The problem is a call to Wininets HttpSendRequest which is sometimes sending two requests the first request without credentials the second with the credentials i.e username and password. I have been setting the username and password using InternetSetOption which succeeds and I'm actually checking the credentials using the InternetQueryOption function which is indicating my calls are successful. However using the application HttpAnalyzer I'm seeing two request, most of the time the first without credentials and the second with credentials, being sent.
|
|
|
|
|
In my downloader, I specify the user/pass in InternetConnect() , not InternetSetOption() . Try moving the user/pass to InternetConnect() and see if that changes things. Also check that you're passing the INTERNET_FLAG_SECURE flag to HttpOpenRequest() .
|
|
|
|
|
Thanks for the response and I am passing the INTERNET_FLAG_SECURE to the httpCreateRequest() function. And I'm sure I can modify my application to pass the the credentials to InternetConnect() but I'd rather know why InternetSetOption() isn't working as designed. On a side note I have been using InternetQueryOption() function to make sure they are correct after setting them. Adding the seccurity headers manuanlly also works. I work for a internet multimedia company and the extra msgs are painfull.
|
|
|
|
|
Hi,
I am trying to call ShellExecute() to run an .exe that takes 1 or more file paths as command line parameter(s).
Although when I format a string like:
""C:\\file1.txt" "C:\\file2.txt" "C:\\file3.txt""
as the lpParameters param I always get an SE_ERR_ACCESSDENIED error.
Am I using the correct command line formatting, as if I pass a ""
(NULL string) as lpParameters the function runs the exe OK.
Many Thanks.
|
|
|
|
|
use the \" character to insert a double quote character in your string
|
|
|
|
|
This is what i've done already, The string I've included in the example is how it appears in memory(NOT in source code). I just can't work this out as when I double click a file that is associated with the exe in explorer the command line reads with quotes around
that file name EXACTLY as I have in the source code.
|
|
|
|
|
Atom wrote: The string I've included in the example is how it appears in memory(NOT in source code).
Then the backslashes are the problem. You only use one backslash in file paths.
|
|
|
|
|
Hi,
Thanks, solved the problems with the backslashes,
now I can shellexecute() with a command line containing multiple file paths.
The problem I am having now is that when I test the command line string
with a string of length 1951 it works fine, but if I add one more file path
to this string which takes the length to 1983 the function fails.
So presumably the command line string has a max length between 1951 & 1983.
I will test this further, maybe shellexecuteEX() is the way to go.
Many thanks for your help.
|
|
|
|
|
how do you know the function fails ?
getting an error message ? if yes, can you share with us ?
BTW, ther's nothing restricting the length of the parameter you're talking about under the 1983 characters. this is simply non sense... !
|
|
|
|
|
The error that I was getting was, SE_ERR_ACCESSDENIED
The length limit is NOT nonsense. !
The following link describes the length restrictions on the parameter I am
talking about:
ShellExecute parameter limit.
I guess my 1983 char length string has the .exe file path name appended to
it taking the to total string length to > INTERNET_MAX_URL_LENGTH. Which is
why I was getting the error.
I've solved the problem now, using an intermediate file to get around any
command line length limits.
Thanks for the advice.
|
|
|
|