comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
January 2008
motuwethfrsasuw
 123456 1
78910111213 2
14151617181920 3
21222324252627 4
28293031    5
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  COM 32 bit, 64 bit         


Author: Kasparov
Date: Jan 8, 2008 21:58

I am learning COM and Windows programming so please forgive me if my
question looks stupid to someone.

I am writing a COM component for 32 bit platform and 64 bit platform.
Consumer of my COM component runs on 32 bit platform and also on 64
bit platform using WoW64.

I would like to know whether there could be any interoperability
issues between my 64 bit component and my consumer, which runs on 64
bit platform using 32 bit binaries.

Thanks in advance.

Ganesh
1 Comment
  question about windows bmp         


Author: newbie
Date: Jan 8, 2008 20:18

24 bit bitmap stored BI_ RGB 3 bytes per pixel little indian.
why doesn't this loop work?
int x = 0, y = bottom;
for (height )
{
for ((cols) = width*bitdensity/8 )
{
readbyte ( blue ); readbyte ( green ); readbyte ( red );
setpixel (x,y, ( red , green , blue) ); x++;
}
x = 0; y--;
}
the cols are rounded up to %%4=0, assuming they are padded.
The result is a bitmap with the correct width and colors , but
only 1/3 the height.
Any help will be greatly appreciated. Thanks.
newbie
3 Comments
  Dynace OO Extension to C and Windows Development System         


Author: Blake McBride
Date: Jan 8, 2008 19:44

This is an announcement for a new release of the Dynace Object
Oriented Extension to C and the Windows Development System.

Real briefly, Dynace is an OO extension to C which includes multiple
inheritance, meta object protocol (MOP), class library, native thread
support, garbage collection, and is well documented. The system has
been in production use for over 10 years.

The Windows Development System is a Dynace class library which makes
programming GUI applications under Windows and Linux (WINE) very easy.
It also includes a library for SQL Databases, an interface to Java and
MzScheme, a custom resource editor, etc.

Besides 600+ pages of professional documentation, the system also
includes a language tutorial and a GUI and Database tutorial.

Dynace will run on almost anything with a C compiler. It has been
tested on many different systems over the years.

The Windows Development System runs on Windows an Linux (with WINE). This
is open source software.

I can be downloaded at:

http://blake.mcbride.name
Show full article (1.07Kb)
no comments
  Re: WinMain - command line         


Author:
Date: Jan 8, 2008 10:19

iinet.net.au> wrote in message
news:a7c31303-23bc-438a-8299-7a7e0c01e73a@u10g2000prn.googlegroups.com...
> Hi,
>
> I have a very frustrating problem. Using C++ Builder 2007 - Rad
> Studio
>
>
> I am simply trying to impliment file open when a user double clicks a
> file.
>
> My problem is that the file path comes in with single backslashes ie
> "D:\Folder\Folder\File.ext" - When I convert it to a String it comes
> out as "D:FolderFolderFile.ext" - Because of the escape character
> thing.
>
> Does any one know how I can convert "D:\Folder\Folder\File.ext" to "D:\
> \Folder\\Folder\\File.ext" ?
Show full article (0.87Kb)
no comments
  Serial port monitoring         


Author: kiryazev
Date: Jan 8, 2008 08:27

Hi there! I want to monitor all the data received by a serial port.
The problem is when I call ReadFile() for say 100 bytes and a block of
99 bytes is received the function remains in a blocked state. The
solution might be to read one byte at a time. But it seems not to be a
right way. I'll be very appreciated for any suggestion about how to
implement this.
2 Comments
  Re: WinMain - command line         


Author: Ulrich Eckhardt
Date: Jan 8, 2008 08:01

ben.tait@iinet.net.au wrote:
> I am simply trying to impliment file open when a user double clicks a
> file.

Okay, those connections are made in the particular shell's (typically
Explorer) configuration, so they are not part of your program's code per
se.
> My problem is that the file path comes in with single backslashes ie
> "D:\Folder\Folder\File.ext" - When I convert it to a String it comes
> out as "D:FolderFolderFile.ext" - Because of the escape character
> thing.

No. The escape sequences only apply to sourcecode, not to externally entered
text, unless you explicitly do a similar transformation.
> Does any one know how I can convert "D:\Folder\Folder\File.ext" to "D:\
> \Folder\\Folder\\File.ext" ?

Well, replacing elements of a string should be rather easy, no? Just loop
through it and transfer the content to another string, modifying it
accordingly.

BTW: you also should prepare to encounter spaces in filenames.
Show full article (1.85Kb)
no comments