|
I know this is a problem about RoboHelp but most of the help about RoboHelp is fortecnical authors using it not programmers! Perhaps someone here can help?
I am trying to Link RoboHelp7 into my Visual Studio 2005 project (VC++) and I get errors. I have added "wininet.lib; urlmon.lib; htmlhelp.lib" to my Additional Dependencies in the Linker section of the Project Settings and yet this is the error when I try to compile:-
LINK : fatal error LNK1104: cannot open file 'wininet.lib;'
Is there another setting that I need to change in the Linker so that it can find the file, or do I need to download the files from somewhere?
Any ideas?
Many Thanks,
Ali
|
|
|
|
|
Alison Pentland wrote: LINK : fatal error LNK1104: cannot open file 'wininet.lib;'
This just means it cannot find the file. Have you added the directory location to the "Additional Library Directories" of the Linker.General section of the project properties?
|
|
|
|
|
Thank you for the reply.
I agree, it can't find 'wininet.lib'. I searched my harddisk, found a copy and added the path to "Additional Library Directories".
This is the path on my PC "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib"
I still get the same error.
LINK : fatal error LNK1104: cannot open file 'wininet.lib;'
Thanks for your time, any more ideas gratefully received ... beats me why it can't find the file, its driving me nuts!
Thanks,
Ali
|
|
|
|
|
Alison - what I usually resort to in a case like this is to use Process Monitor to see where the linker's looking for the offending library (look for FILE NOT FOUND messages in its output) - that usually gives clues as to why the linker's not finding the library.
However, in this case...I notice you put a semi-colon delimited list into Additional Dependencies - I think you'll find that you don't want the semi-colons...just whitespace.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Stuart Dootson wrote: I notice you put a semi-colon delimited list into Additional Dependencies
Oh, thank you, you are right. What made me put the ;'s in I don't know, I think it maybe a throw back to some old compiler I used to use, and once I had typed them they looked so right I would never have noticed they were wrong.
It still doesn't link completely but it now finds 'wininet.lib'. So I have a new error, but perhaps I can fix this one on my own!
Thanks Again,
(PS I've never used Process Manager, but I will take a look, sounds handy. )
Ali
|
|
|
|
|
Congratulations!
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Thanks Was a surprise, as I've not been too active on CP for a while!
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
MVP for 2010 - who'd'a thunk it!
|
|
|
|
|
But I had mentioned it[^] clearly while you were very active. Overall, I think it's a well deserved award for you.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Thanks for that
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
MVP for 2010 - who'd'a thunk it!
|
|
|
|
|
You're the best. Keep up the good work.
|
|
|
|
|
I second what Rajesh said. You deserve it. Well done
Best wishes,
Navaneeth
|
|
|
|
|
|
You can just insert it after the item above where you want to insert it. You are not limited to the TVI_* positions.
You may be right
I may be crazy
-- Billy Joel --
Within you lies the power for good - Use it!
|
|
|
|
|
i need to insert item in a selected position
eg: if i have tree having one root and five child i need to add new item in the 3rd position but now i can only add it as a first or last item in my child (1st or 6th).
|
|
|
|
|
Get the HTREEITEM handle of the second item, and use it as the hInsertAfter parameter.
You may be right
I may be crazy
-- Billy Joel --
Within you lies the power for good - Use it!
|
|
|
|
|
Hi,
I'm trying to disable a submenu in win32. It's working ok, but is there an alternative to this:
HMENU showMenu = GetSubMenu(currentMenu,2);
EnableMenuItem(showMenu,4,MF_BYPOSITION | MF_GRAYED);
I don't like MF_BYPOSITION, because the code will break if we add new menu items to 'showMenu' later on. Why do sub-menus not have ID's, so that I could just call EnableMenuItem() directly...?
Thanks!
/lacla
|
|
|
|
|
Why not use MF_BYCOMMAND against the id of the menuitem you want disabled?
|
|
|
|
|
As I indicated, submenus don't have id's as far as I can see. Otherwise I would have used the ID... It is a submenu (flyout) in the menu bar that I want to disable.
/lacla
|
|
|
|
|
I think the idiomatic way to do what you want is to grey out all the items on the sub-menu rather than to disable the sub-menu itself, basically because there's less cognitive dissonance for the user.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
MVP for 2010 - who'd'a thunk it!
|
|
|
|
|
Stuart Dootson wrote: less cognitive dissonance for the user.
That sounds like something a real MVP would say
|
|
|
|
|
you can set the submenu normal then add showmenu ,at last you set the showmenu MF_GRAYED,do this the code should not break
|
|
|
|
|
Hi All,
I am working on a project which deals with writing byte stream (input)into AVI,ASF,MP4 formats.
we finished ASF and MP4 formats.now working on AVI.
First af all can we do this?
I have searched so many Codeproject topics.They are dealing with Writing bitmaps into AVI format.I tried that.Working fine.
but,im in the need of writting into AVI format from the Byte stream Format.
Im searching for this.I have not get any idea yet.
Could u help me?
Thanks in advance.
|
|
|
|
|
but,im in the need of writting into AVI format from the Byte stream Format.
Can you explain exactly what you mean with "AVI from bytestrem".
Do you mean to open lets say a mpeg file as filestream and then save the "stream" as avi file?
Or do you mean to extract the audio stream from a mpeg to a avi stream and then extract image by image from mpeg (sorry but I don't know how the mpeg format stores the data) and save it in the avi stream?
Greetings
Covean
|
|
|
|
|
Hi,
Thanks for ur response.
Obsolutely Yes.Ur first Statement is my question.
can we write into AVI format from mpeg byte stream ?
|
|
|
|
|
Edit:
After reading your first question again, I saw that you already made this with the windows API.
So I have to say sorry I don't think I can help you any further.
Maybe the compressor COM-interface ICCompress gives you a new starting point/idea how to start (but there you also have to deliver image by image).
Greetings
Covean
modified on Wednesday, January 13, 2010 5:00 AM
|
|
|
|