|
As far as I know, as long as you keep the same entry point name and keep the same ordinal number if specified, you shouldn't have a problem.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
Hi,
Can some tell me , how do I detect if the user has pressed
down the ALT key.
Thanks,
Sansky
God is Good, all the Time.
All the Time, God is Good.
|
|
|
|
|
Look up the GetAsyncKeyState(...) function for starters... (That is, of course, if you are not peeking at window messages...)
Peace!
-=- James.
|
|
|
|
|
Hello programmers,
i have currently a problem, maybe my brain is no more functioning correctly, i can't save an item from a CLIstBox into a CString variable. The thing is that the ListBox was created at runtime from (CMyListBox) a CListBox class i derived. Please could you help me get the selected of the listbox into a CString variable. Remember there's no resource for the listbox, that is no dialog box.
Thanks in advance
Bernard Racoute
56Kbps of sighs
|
|
|
|
|
You mean when you use GetSel() and GetText() you can't do it?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
I've heard of others having problems with MSVC6 on Win2000. I'm frequently being told that there is no disk in the drive, and compiling is constantly failing. Either the linker fails to execute or the resource compiler fails to execute.
There's nothing on the MS KB on the issue. I'm pretty certain that Service Pack 5 is the problem. Anyone care to fill me in?
Simon
Q: Why didn't Intel call the Pentium the 586?
A: Because they added 486 and 100 on the first Pentium and got 585.999983605.
Sonork ID 100.10024
|
|
|
|
|
It's telling you there is no disk in the floppy drive? maybe if you put a disk in it would tell you what file its expecting to find on the disk? .. i have never heard of this problem.. and we have a couple guys who were using vs6 before .net..
-dz
|
|
|
|
|
Simon Walton wrote:
I've heard of others having problems with MSVC6 on Win2000. I'm frequently being told that there is no disk in the drive, and compiling is constantly failing. Either the linker fails to execute or the resource compiler fails to execute
Make sure that "A:" and/or "B:" (or any other non-existant or removable drive letters) are not in any of your paths (system paths, LIB path, INCLUDE path, etc.). I have seen something like that happen before, and it was because of a mistake like that.
Peace!
BTW: I would be more worried if you were NOT using Service Patk 5!
-=- James.
|
|
|
|
|
Do you know how could i disable a WebBrowser control's scrollbar?
rechi
|
|
|
|
|
hi,
I have a managed function that wrapper an unmanaged one where a parameter is a double [10], and this function returns values in this parameter, now in my wrapper function y want to be able to use it from c#, so i want to pass an ArrayList, or a double[10], or something where can take the back parameters, but i don't know how to do it, and if its possible any suggestion? thanks in advance
Salamanca 2002 Capital Cultural Europea, Visitala
|
|
|
|
|
I doubt this would work. The compiler may compile right, but runtime environment won't probably accept this, since it would be a security risk, and it would defeat the managed code purpose.
Michel
If I am wrong or said something stupid, I apologize in advance
|
|
|
|
|
Hi,
I am using VC++ 6.0 . I need to print some text from a simple C program.
How do I do it?
I tried to use fprintf(); but couldn't get a suitable FILE * object to put
as the first parameter.
Please help. Is there any other way to do it?
With best regards,
Sayan
Email:sayanmukherjee@indiatimes.com
|
|
|
|
|
printf (without the leading f .)
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
By the word 'printing', I meant printing to a printer.
With best regards,
Sayan
Email:sayanmukherjee@indiatimes.com
|
|
|
|
|
Oh I see... Well, if you can get by with a simple hack, redirect your standard output to the printer at the command line with myprogram >LPT1: or whatever your printer port is named (go to Control Panel->Printers->Properties->Details.)
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
You could try this:
FILE* pPrinter = fopen ("LPT1:", "w");
if (pPrinter != NULL) {
printf (pPrinter, "A line of text\n");
fclose (pPrinter);
}
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Sayan Mukherjee wrote:
I need to print some text from a simple C program.
How do I do it?
If when you say "print" you mean console, you can use puts(...) or the "stdout" file handle with fprintf(...), fputs(...), etc.
If you mean "printer", you may be able to use the stdprn file handle.
Peace!
-=- James.
|
|
|
|
|
I need my program to list the IP's associated ith the computer, e.g. dial-up IP and network IP, I have tried to use PJ's enumeration class but cant get it to work.
Can someone help me.
==================================================
When Your Mind Wonders...Where Does It Go???
|
|
|
|
|
|
Thanks, it was just what i needed.
==================================================
When Your Mind Wonders...Where Does It Go???
|
|
|
|
|
how draw Region border with pen style?
|
|
|
|
|
I do not think that you will be able to do the border of a region with a pen. The reason is that windows does not actually calculate the border of your region for the FrameRgn function, it simply creates another region and fills that area. This gives the effect of a border.
Of you wanted to you could calculate the border yourself from all of the rectnagles that create the region, but this may be time consuming depending on how complicated your region is. You would have to calculate the convex hull of all of the rectangles, even then, if you have holes in your region, they would be difficult to detect as well.
How are you getting your region?
What are you trying to accomplish with the pen.
Because there are other tools you can use like paths, they are pretty powerful.
If you post a few more details of what you would like, I will try to help you find a solution.
|
|
|
|
|
I get region by:
CombineRgn
or
CreateRectRgn ...
or
Create a standard region, then rotate it
Thanks
|
|
|
|
|
sorry for replying so late
and thanks for ur suggestion
the problem here is not with rgns i could actually get the desired output on the screen with FrameRgn( , ,1,1);
but when i take a print out i get an image with more width to what i see on the screen
i am not able to under stand the problem
as u suggested paths r powerful but they do not support arcs and ellipses in win 98 platform so i could not use paths for creating aregion o fill the path
thanks for ur help
|
|
|
|
|
hello, i have created a CListBox object at runtime on my CEditView. Now i want an event to happen when i click on one of its items. The problem is that at runtime there is no event/command handlers by default (i think). Can someone help me to make an event handler out of my runtime created object?
Thanks in advancee
Bernard Racoute
Bracoute
56Kbps of sighs
|
|
|
|