|
Hello,
I have a problem with makefile and linker. I get error LNK2001: unresolved external symbol "int __cdecl LibFunction(char *,int)" (?LibFunction@@YAHPADH@Z), when trying to use Function that is in mylib.lib.
I have macros:
LINK_FLAGS=/machine:I386
LIBS=..\lib\mylib.lib
and I'm trying to link like this:
myprogram.exe: $(OBJS)
link $(LIBS) $(LINK_FLAGS) $(OBJS) /OUT:$@
How do I make the linker realize that LibFunction is in mylib.lib?
Regards,
-Janetta
|
|
|
|
|
Try to put your lib name and path into the Project/Settings/Link - Object/Library Modules editbox for all configurations that need it.
~RaGE();
|
|
|
|
|
There is only 'General' and 'Debug' tabs in the 'Settings' of this project. I guess it's because it is a makefile-project. If I'm wrong, please correct me.
But aren't those tabs only a another way to tell the compiler and linker how to make the .exe. So what do I have to do my makefile instead of changing settings?
PS. I would do the program withaut makefile if I could, but there is so much more in it. Btw, is there a way to combine a "normal" project and makefile?
-Janetta
|
|
|
|
|
Create a project with the settings you want to use. Then select Export Makefile from the Project menu. Merge/plagerize the result with your makefile project.
|
|
|
|
|
I want to edit a MPEG-I format(*.mpg) file. I want to extract some clips from MPEG files and combine those cilps together. Either using frame or absoulute time dose.
Is there any free code or class works?
Anyone who know that please help me.
Windows XP, VC++ 6.0, SP5
|
|
|
|
|
You might have a look at VirtualDub. It's GPL so I think it fits your request for "free".
|
|
|
|
|
Can you give me any further infomation?
I am not familiar with that.
What I need is the c++ code or class which can perform the task.
Windows98 SE, VC++ 6.0 SP5
|
|
|
|
|
RichardWdy wrote:
What I need is the c++ code or class which can perform the task.
Yes? I've already pointed you to some code. You want more? How about FlaskMPEG?
|
|
|
|
|
hi!
I just downloaded the latest Platform SDK, however, I can't install it.
When I execute the CoreSDK-x86.msi the Setup tells me to uninstall any previous versions of the Platform SDK.
But how do I uninstall the Platform SDK (current version intalled on my computer: November 2001)?
In the Control Panel un er "Software" there is no item to uninstall the psdk...and if I choose to uninstall the psdk from the Start Menu only a html file opens
So how do I uninstall it?
modified 12-Sep-18 21:01pm.
|
|
|
|
|
do it via Add-Remove Programs
|
|
|
|
|
Hi
I am using CDC to print a job.
in my application when I call CDC::EndDoc() my Application blocks on some printers (where the option "print imediatly to printer" is set.
and when I stop the application "ctrl-alt-delete" and "end task" the job goes to the printer and is well printed.
it's may be a problem of spooling???
thank for help
khaldoun
|
|
|
|
|
Hi
I have an MDI application which uses multiple resizable formviews for the child windows.
When one of the child windows is macimised, opening another child window results in an OnSize message with a width and height of 32763.
(This is running on Windows 2000)
Any Ideas why this is happening, and how to prevent it???
Thanks...
Blade[DMS]
|
|
|
|
|
Found it....
Was a dodgy OnGetMinMax...
Blade[DMS]
|
|
|
|
|
I'm stuck with a not-more working MMCCtrl.
All of a sudden, the MMCCtrl (MMCs own control used in TaskPads) stopped to function properly.
Only thing I get is a "Object does not support this method".
Well, "this method" does work, at least on other machines with the same MMC installed, and it did on mine until short time ago.
Seems that IE is just messing it up in the HTML which loads that control.
Any ideas????
Vote against software patents in europe
|
|
|
|
|
Hello,
Have you tried just re-registering the control on your machine?
Later,
Caleb
|
|
|
|
|
|
I wnat to send message to every active windows but I got a problem.
If the window with child frame(like Word, Excel...etc.),
it seems not to get the message which I send.
Maybe it's useful to get every frames' handle and send message to every frame.
Does anyone know how to get every handles of frames ?
|
|
|
|
|
1) what message are you sending?
2) how are you currently sending it to all windows?
3) (prolly related to #1) how do you know they are not recieving the message?
- Shog9 - Aaah... It's time to relax. You know what that means: a glass of beer, your favorite ergo chair... And of course, The Code Project loaded on your Personal Computer System. So go on, and indulge yourself, put your feet up. Lean back and just enjoy the articles. After all, CP sooths even the savage
|
|
|
|
|
All I want is to change the scroll lines number.
I used SystemParameterInfo(SPI_SETWHEELSCROLLLINES,...) to change the scroll lines number but in the frame windows(like Word, Excel..etc), and then I send a WM_SETTINGCHANG message to system-wide windows.
'SendMessage(HWND_BROADCAST, WM_SETTINGCHANG, 0, 0)'
But only in frame windows that this parameter don't work.
What should I do?
|
|
|
|
|
First, i'm not certain that Office applications actually use this setting. I seem to remember at least Office '97 being a bit strange about handling the mouse wheel. What version of Office are you testing with?
Second, you should be able to use the SPIF_SENDCHANGE flag when calling SystemParametersInfo() to automatically send WM_SETTINGCHANGE to all windows.
- Shog9 - Aaah... It's time to relax. You know what that means: a glass of beer, your favorite ergo chair... And of course, The Code Project loaded on your Personal Computer System. So go on, and indulge yourself, put your feet up. Lean back and just enjoy the articles. After all, CP sooths even the savage
|
|
|
|
|
Thanks for your help.
I tested with Offce 'XP in Win98.
It's really a little strange about the mouse wheel.
I set 10 line per rotation but it does not work immediately only in the windows with frame windows(like Word, Excel..). In Explorer or Notepad, it works.
If I close Word and launch agagin, this setting works.
By the way, do you know 'SPI_SETSNAPTODEFBUTTON' parameter within SystemParametersInfo(). It seems not work in Win98.
My code is :
SystemParametersInfo(SPI_SETSNAPTODEFBUTTON, true, NULL, NULL)
|
|
|
|
|
Alek wrote:
My code is
Once again, you may wish to try adding the SPIF_SENDCHANGE flag to the last parameter. I've never tried it though, so it could just be a bug in Win98.
- Shog9 - Aaah... It's time to relax. You know what that means: a glass of beer, your favorite ergo chair... And of course, The Code Project loaded on your Personal Computer System. So go on, and indulge yourself, put your feet up. Lean back and just enjoy the articles. After all, CP sooths even the savage
|
|
|
|
|
berserkblue wrote:
Build and run it, always press the [ESC] Key, and i found the application automatically expanded it's memory after almost a minute.
Well, i found this rather weird. Could you post the source ? It seems that you´re creating things you´re not destructing. Why are you creating a modal dlg on cancel ? Confirmation request for exiting ?
berserkblue wrote:
Now, i am in a big trouble, because my custom will not pay the money for this kind of "bug".
Don't worry, there is always a solution
~RaGE();
|
|
|
|
|
I have a exe through which I call a function of the dll . I want to debug the dll while i Am passing the parameters to that function throught the exe. I have a code of the dll with me .
Can Anyone suggest A solution for it.
Samir Sood
|
|
|
|
|
I suppose something gets wrong into the dll... if you have the code of the dll, a clumsy solution would be to integrate the function into your main code, and watch the effect. Or make a separate program where you pass the same parameters as in your program (I still believe in the "Same cause, same effects" )
I think however there should be a better way to do it ...
~RaGE();
|
|
|
|