|
rolfhorror wrote: Theres no options only "Use MFC in a Shared DLL"
Really? You probably not installed the static libraries...
If it is fine, there will be another option, "Use MFC in a Static Library"
- NS -
|
|
|
|
|
i guess i havent got static libs installed, strange, isn't static libs common?
think i need vc++ 6.0 Pro.Edition, i only have the Standard ed, and its without the static libs
is there any other options?
maybe programatically add som lines of code?
thanx!
-- modified at 9:06 Saturday 1st September, 2007
|
|
|
|
|
rolfhorror wrote: how can i install them
You just need to modify the installation from the "Add or Remove Programs" in control panel. Select Add/Remove when setup screen is shown... And select the options of static libraries...
- NS -
|
|
|
|
|
ok, i'll check it out.
thanx.
edit:
i only have these options:
VC++ dev studio
VC++ runtime libs
VC++ mfc and temp libs
VC++ build tools
tools
data access
activex controls
---
no static libs..
only something called "static crt libs" in a submenu, but this was installed.
like i said before, i think i may have the light version of vc++ 6.0(standard not pro) which is without static libs.
-- modified at 9:17 Saturday 1st September, 2007
|
|
|
|
|
rolfhorror wrote: VC++ mfc and temp libs
Take the details of it... i think there are more than 2 or 3 levels...
- NS -
|
|
|
|
|
ok, ill check it out.
thanks for the help.
|
|
|
|
|
Welcome
- NS -
|
|
|
|
|
rolfhorror wrote: is there any new servicepacks for vc++ 6.0, i've got sp6, is this the latest?
VC++ 6.0 is no longer supported. SP06 is last of service packs for it.
Prasad
MS MVP - VC++
|
|
|
|
|
|
tanx, this is awesome!
|
|
|
|
|
Service pack 6 was the final one for VC6.
Software Zen: delete this;
|
|
|
|
|
Hi ,
I want to write a download manager like DAP or Flashget. Do you know what the principle is? I do not have any idea how downloads can be accelerated or resumed. Will I be able to use MFC for that or I have to write a class for handling the http connection?
Thanks
|
|
|
|
|
For download a file you can use of URLDownloadToFile but for write manager tools you need to see Internet section on the codeproject for more info.
|
|
|
|
|
|
try modifying the icons in the resource view and see which one gets updated.
|
|
|
|
|
to be more presise,
go to resource view tab in the workspace,
expand the icons or bitmaps folder,
just open each one and put some dot on each.
run the application and see weather the icon is updated.
|
|
|
|
|
I think you haven't got the problem. may be i fail to explain.
Actully I have started my project with empty win32 project. And Created Dialog Based Application ( haven't Create Any Window ). Now I have Add a ICON in Resources. I just Want to know What should I do So when I compile the project it set as the ICON of EXE file.
|
|
|
|
|
Does WM_SETICON any help?
|
|
|
|
|
Hi,
Can you guide me on how to use this WM_SETICON. I tried to understand from MSDN. But not able to get it.
I tried to send the message as follows but gives Runtime Error.
<br />
HICON hIcon = LoadIcon(hInst,(LPCWSTR)IDI_ICON1);<br />
SendMessage(hWnd,(UINT)WM_SETICON ,(WPARAM)hIcon,(LPARAM)0);<br />
|
|
|
|
|
Gaurang Shah 033 wrote: SendMessage(hWnd,(UINT)WM_SETICON ,(WPARAM)hIcon,(LPARAM)0);
It is wrong...
SendMessage(
(HWND) hWnd, // handle to destination window
WM_SETICON, // message to send
(WPARAM) wParam, // icon type
(LPARAM) lParam // handle to icon (HICON)
);
(From MSDN... )
- NS -
|
|
|
|
|
Thnx.
Got the Thing. Solved the probelem.
We believe in God. Everything else is Data.
|
|
|
|
|
Do not delete the messages ...they can be used from other people with the same problem.
Russell
|
|
|
|
|
I dont think its good idea to delete a question.
|
|
|
|
|
I have to load a bitmap in a dialog box.
I have loaded the Image in bitmap resource and then I tried the below code
HBITMAP hBitmap=(HBITMAP)LoadBitmap(AfxGetInstanceHandle,"IDB_IMAGE");
but when i execute this statement the hBitmap is 0x0000000.
Can anyone give me some suggestions.
Is there any way to transparent the background of a button
S.Yamini
|
|
|
|
|
even i had this problem once upon a time.
do you want to load it in the image box at run time or is it sufficient at design time?
|
|
|
|