dev-cpp-users Mailing List for Dev-C++ (Page 565)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Klakier <kal...@in...> - 2002-06-28 15:33:48
|
Thanks Mac - it works ---------------------------------------------------------------------- Znawcy prawa konstytucyjnego negatywnie opiniują zmiany prawne na temat Rady Polityki Pienieznej >>> http://link.interia.pl/f15fe |
|
From: Mac R. <re...@no...> - 2002-06-28 14:37:19
|
You have to translate from Intel assembly syntax (Visual Studio style) to AT&T assembly syntax (GCC). Here is a page with some of the basics, in a more conversational tone: http://www-106.ibm.com/developerworks/linux/library/l-ia.html?dwzone=linux This page has some info on command line arguments to GCC and other issues you may want to keep in mind. I don't know how old or out of date this information is, so you would want to check it with current docs, but it might give some idea where to look and what to look for: http://www.tldp.org/HOWTO/Assembly-HOWTO/gcc.html At 01:19 PM 6/28/02 +0200, Klakier wrote: >Hi > >Could somebody help me to translate below Visual Studio's style asembler >line to GCC standard? > >void Proc () >{ > unsigned Result; > __asm > { > ... > mov dword ptr [Result] , eax // setting result > } > return Result >} > >I read manual and they advice to translate it this way: > >void Proc () >{ > unsigned Result; > asm ("...."); > asm ("movl %eax, %0" : "=r" (Wynik)); > return Result; >} > >How should I do this? > > Marcin Kacperek > > > > >----------------------------------------------------------------------- >Polska-Niemcy: Znowu napiete stosunki? >>> http://link.interia.pl/f15fb > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Caffeinated soap. No kidding. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail re...@no... / \ (To join the campaign, simply use this in your signature.) |
|
From: <p_d...@ya...> - 2002-06-28 14:25:56
|
I would not say every time but once every 4 times ! Hongli Lai <h....@ch...> a écrit : On Fri, 2002-06-28 at 11:09, Pierre Delporte wrote: > > Nothing serious ! I am not sure about this. It is always anoying to have to compile two, three or more times to get a good result. I think, to improve the quality of the product, that this matter should be investigated with high priority. Always? I only experience this once every 20 compiles. --------------------------------- Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français ! |
|
From: Mac R. <re...@no...> - 2002-06-28 14:14:45
|
At 01:33 AM 6/28/02 -0700, nmp...@ya... wrote: >Hello people.I have downloaded the library of threads >for Win32.I read who to install eith a gcc compiler >and what to do with pthread.dll but nothing don e so >far many problems in compilation and eventhough i put >pthread.h semaphore.h in include the linker cannot se >these libraries.Please help because i am a student in >the second year of my studies and i writing an >excersise. >Nikos1 .DLL files contain the actual executable portions of the library, but are not linked directly. .h files contain declarations of functions and data types, but do not contain the actual code. So your current situation is that you know the declaration of the functions, and you have the file with the functions, but your code doesn't know how to get access to the file with the functions (the DLL). There are two ways to fix this: 1. Get the corresponding .LIB file. .LIB files can be linked into your program, and they contain just enough code (in "stub" routines) to find the DLL and attach to it. This is usually the simplest, and can usually be done by finding the right .LIB and then adding it to your project -- this is for other development environments (Visual C, Digital Mars, others), so I am not certain that this is how it is done in Dev-C++. Hopefully someone will confirm and fill in details. 2. You can link the functions out of the DLL directly with LoadLibrary and GetProcAddress. This method is *much* more painful to look at, but is also more flexible and will work with any compiler than runs Win32. Another thought : if you are trying to do UNIX-like things on Win32, you might want to look into getting Cygwin installed rather than MinGW. Cygwin is intended to compile UNIX-based source code into Win32 executables. MinGW is intended to compile Win32-based source code into Win32 executables. Yet another thought : you might look into BOOST (http://www.boost.org). It has a lot of utility classes, including a portable threading class library. - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail re...@no... / \ (To join the campaign, simply use this in your signature.) |
|
From: Ioannis V. <no...@ho...> - 2002-06-28 14:11:16
|
I do not know what has happened, but i was surprised myself too when i saw it yesterday. The first thought that came to my mind was "well 10 days of delay is better than never". :) But since you say that you received that twice, something strange is going on. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Daniel Glenfield > Sent: Friday, June 28, 2002 9:56 AM > To: dev...@li... > Subject: ??? RE: [Dev-C++] ioannis - namespaces > > > Hasn't this just been copied from a week ago and the > "thinkgeek.com" wrapper > put around it? > > > >From: "Ioannis Vranos" <no...@ho...> > >To: "Dev-C++ Mailing List" <dev...@li...> > >Subject: RE: [Dev-C++] ioannis - namespaces > >Date: Tue, 18 Jun 2002 14:20:30 +0300 > > > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf > > > Of Ioannis Vranos > > > Sent: Tuesday, June 18, 2002 2:09 PM > > > To: dev...@li... > > > Subject: RE: [Dev-C++] ioannis - namespaces > > > > > > > > > > -----Original Message----- > > > > From: dev...@li... > > > > [mailto:dev...@li...] On Behalf > > > > Of Daniel Glenfield > > > > Sent: Tuesday, June 18, 2002 1:36 PM > > > > To: dev...@li... > > > > Subject: [Dev-C++] ioannis - namespaces > > > > > > > > > > > > Ioannis, you've mentioned several times to always use > > > > namespaces as locally > > > > as possible. I was wondering why this is? What is the benefit > > > > of using them > > > > locally? > > > > > > > > Daniel > > > > > > > > > The namespace system was made to provide a system that > > > enables combining > > > various libraries while protecting from name clashes. > > > > > > So you can for example do: > > > > > > #include <iostream> > > > > #include <vector> > > > > > > > > // Daniel's version of vector > > > #include <daniel.h> > > > > > > > > > int main() > > > { > > > using std::cout; > > > > using std::endl; > > > > > using daniel::vector; > > > > > > vector<int>array(50, 1); > > > > > > cout<<array[i]<<endl; > > > } > > > > > > > > > As god says in TC++PL, using global using directives is > an efffort to > > > defeat the namespace system, which has bad consequences in large > > > projects. We must try to use more using std::something; than using > > > namespace std; and as in small scope as possible. > > > > > > In general myself, i use using std::something; for 2-3 > facilities in a > > > given function, and if there are more i place a using > > > namespace std; in > > > that function scope. > > > > > > > > > Ioannis > > > > > > * Ioannis Vranos > > > * Programming pages: http://www.noicys.cjb.net > > > * Alternative URL: http://run.to/noicys > > > > > > -------------------------------------------------------------- > > > -------------- > > > Bringing you mounds of caffeinated joy > > > >>> http://thinkgeek.com/sf <<< > > > > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > >------------------------------------------------------------- > --------------- > > Bringing you mounds of caffeinated joy > > >>> http://thinkgeek.com/sf <<< > > > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Caffeinated soap. No kidding. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Klakier <kal...@in...> - 2002-06-28 11:42:26
|
Hi
Could somebody help me to translate below Visual Studio's style asembler
line to GCC standard?
void Proc ()
{
unsigned Result;
__asm
{
...
mov dword ptr [Result] , eax // setting result
}
return Result
}
I read manual and they advice to translate it this way:
void Proc ()
{
unsigned Result;
asm ("....");
asm ("movl %eax, %0" : "=r" (Wynik));
return Result;
}
How should I do this?
Marcin Kacperek
-----------------------------------------------------------------------
Polska-Niemcy: Znowu napiete stosunki? >>> http://link.interia.pl/f15fb
|
|
From: Hongli L. <h....@ch...> - 2002-06-28 11:40:35
|
On Fri, 2002-06-28 at 11:09, Pierre Delporte wrote: > > Nothing serious ! I am not sure about this. It is always anoying to have to compile two, three or more times to get a good result. I think, to improve the quality of the product, that this matter should be investigated with high priority. Always? I only experience this once every 20 compiles. |
|
From: Carlos d. M. <cg...@wo...> - 2002-06-28 10:51:09
|
Hi: In wxwindows mailing list I got an answer saying it sem like it was using gcc instead of g++. But I have checked the c++ option, which is for using g++, as I think. but for being sure, I did a trial deleting gcc, then I got the window, compiler/linker error cygwin1.dll couldn't be located. But I always thought it was for cygwin compiling for, say, unix emulated in windows, and mingw32 exes it was not necessary. How can I select whether to use g++ or gcc in compiling a project, if C++ does not? I have just tried to compile a C++ project and it said something about gcc could not lacate some file, so gcc is used in C++. Thanks |
|
From: Carlos d. M. <cg...@wo...> - 2002-06-28 10:05:09
|
I agree. =3D?iso-8859-1?q?Pierre=3D20Delporte?=3D escribi=F3: > Nothing serious ! I am not sure about this. It is always anoying to > have to compile two, three or more times to get a good result. I > think, to improve the quality of the product, that this matter should > be investigated with high priority. > > Yours, > > Pierre > > Hongli Lai <h....@ch...> a =E9crit : > > On Fri, 2002-06-28 at 08:34, Pierre Delporte wrote: > > > > I quiet often get this message when compile my projet. > Does anyone know why and what I can do to avoid this warning > (problem). > > > > I am using the new release 4.9.4.0 > > > > Thx. > > > > That's a known problem, but we can't find out the cause. > Just ignore it or hit the Compile button again, it's nothing > serious. > > > > ----------------------------------------------------------------------- > Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en fran=E7ais ! |
|
From: <p_d...@ya...> - 2002-06-28 09:10:00
|
Nothing serious ! I am not sure about this. It is always anoying to have to compile two, three or more times to get a good result. I think, to improve the quality of the product, that this matter should be investigated with high priority. Yours, Pierre Hongli Lai <h....@ch...> a écrit : On Fri, 2002-06-28 at 08:34, Pierre Delporte wrote: > > I quiet often get this message when compile my projet. Does anyone know why and what I can do to avoid this warning (problem). > > I am using the new release 4.9.4.0 > > Thx. > That's a known problem, but we can't find out the cause. Just ignore it or hit the Compile button again, it's nothing serious. --------------------------------- Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français ! |
|
From: Hongli L. <h....@ch...> - 2002-06-28 08:54:19
|
On Fri, 2002-06-28 at 08:34, Pierre Delporte wrote: > > I quiet often get this message when compile my projet. Does anyone know why and what I can do to avoid this warning (problem). > > I am using the new release 4.9.4.0 > > Thx. > That's a known problem, but we can't find out the cause. Just ignore it or hit the Compile button again, it's nothing serious. |
|
From: <nmp...@ya...> - 2002-06-28 08:33:53
|
Hello people.I have downloaded the library of threads for Win32.I read who to install eith a gcc compiler and what to do with pthread.dll but nothing don e so far many problems in compilation and eventhough i put pthread.h semaphore.h in include the linker cannot se these libraries.Please help because i am a student in the second year of my studies and i writing an excersise. Nikos1 __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |
|
From: Daniel G. <sp...@ho...> - 2002-06-28 06:55:39
|
Hasn't this just been copied from a week ago and the "thinkgeek.com" wrapper put around it? >From: "Ioannis Vranos" <no...@ho...> >To: "Dev-C++ Mailing List" <dev...@li...> >Subject: RE: [Dev-C++] ioannis - namespaces >Date: Tue, 18 Jun 2002 14:20:30 +0300 > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Ioannis Vranos > > Sent: Tuesday, June 18, 2002 2:09 PM > > To: dev...@li... > > Subject: RE: [Dev-C++] ioannis - namespaces > > > > > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf > > > Of Daniel Glenfield > > > Sent: Tuesday, June 18, 2002 1:36 PM > > > To: dev...@li... > > > Subject: [Dev-C++] ioannis - namespaces > > > > > > > > > Ioannis, you've mentioned several times to always use > > > namespaces as locally > > > as possible. I was wondering why this is? What is the benefit > > > of using them > > > locally? > > > > > > Daniel > > > > > > The namespace system was made to provide a system that > > enables combining > > various libraries while protecting from name clashes. > > > > So you can for example do: > > > > #include <iostream> > > #include <vector> > > > > > // Daniel's version of vector > > #include <daniel.h> > > > > > > int main() > > { > > using std::cout; > > using std::endl; > > > using daniel::vector; > > > > vector<int>array(50, 1); > > > > cout<<array[i]<<endl; > > } > > > > > > As god says in TC++PL, using global using directives is an efffort to > > defeat the namespace system, which has bad consequences in large > > projects. We must try to use more using std::something; than using > > namespace std; and as in small scope as possible. > > > > In general myself, i use using std::something; for 2-3 facilities in a > > given function, and if there are more i place a using > > namespace std; in > > that function scope. > > > > > > Ioannis > > > > * Ioannis Vranos > > * Programming pages: http://www.noicys.cjb.net > > * Alternative URL: http://run.to/noicys > > > > -------------------------------------------------------------- > > -------------- > > Bringing you mounds of caffeinated joy > > >>> http://thinkgeek.com/sf <<< > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > >---------------------------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: <p_d...@ya...> - 2002-06-28 06:34:41
|
I quiet often get this message when compile my projet. Does anyone know why and what I can do to avoid this warning (problem). I am using the new release 4.9.4.0 Thx. --------------------------------- Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français ! |
|
From: <CSt...@ao...> - 2002-06-28 01:55:45
|
When can I find info on linking in the debugger and then using it? Charles in LA |
|
From: John <jo...@mu...> - 2002-06-27 15:35:28
|
When I compile the project I it says that the resource file and bitmap = were unused because "linking was not performed". Both of these files = show up in the project file tree. How do I correct this problem. |
|
From: Fernandes E. <Eve...@aa...> - 2002-06-27 13:30:05
|
Hi all, I have a question regarding WinApi programming. I've created a small application to display some buttons, textfields, etc... Now I've created a combobox in my resource file. Displaying it works just fine, but I need to know how to fill the combobox with values. Is this possible through the resource file? And if not, what would be the best way of doing this? Thanks in advance, Sander Fernandes ************************************************************************ DISCLAIMER The information contained in this e-mail is confidential and is intended for the recipient only. If you have received it in error, please notify us immediately by reply e-mail and then delete it from your system. Please do not copy it or use it for any other purposes, or disclose the content of the e-mail to any other person or store or copy the information in any medium. The views contained in this e-mail are those of the author and not necessarily those of GEHE Group companies. ************************************************************************ |
|
From: Daniel G. <sp...@ho...> - 2002-06-27 07:20:23
|
ADO ActiveX Data Objects? Try looking at webmonkey.com for information on databases. That's as far as I can help for now. Daniel >From: Pierre Delporte <p_d...@ya...> >To: dev...@li... >Subject: [Dev-C++] Using ADO - Database >Date: Wed, 26 Jun 2002 15:35:10 +0200 (CEST) > > >I have been reading quiet a lot in the forum about ADO and database >connection, but I could not find any relevant information. So my question >is very simple is there a way to access some DB from Dev-C++ and where >could I find some doc about it. > >Thx > > > >--------------------------------- >Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français ! _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
|
From: Daniel G. <sp...@ho...> - 2002-06-27 07:12:15
|
Oh look, unsubscribe instructions A FEW LINES BELOW YOUR REPLY!!!!!!!! WHAT THE HELL IS WRONG WITH YOU PEOPLE??????????? >From: "Steven Henrix" <ste...@ho...> >To: <dev...@li...> >Subject: [Dev-C++] UNSUBSCRIBE >Date: Wed, 26 Jun 2002 21:13:33 +0200 > >PLS UNSUBSCRIBE > >-----Original Message----- >From: dev...@li... >[mailto:dev...@li...] On Behalf Of >dev...@li... >Sent: dinsdag 25 juni 2002 20:39 >To: dev...@li... >Subject: Dev-cpp-users digest, Vol 1 #838 - 5 msgs > > >Send Dev-cpp-users mailing list submissions to > dev...@li... > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >or, via email, send a message with subject or body 'help' to > dev...@li... > >You can reach the person managing the list at > dev...@li... > >When replying, please edit your Subject line so it is more specific than >"Re: Contents of Dev-cpp-users digest..." > > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: Mac R. <re...@no...> - 2002-06-26 21:38:57
|
At 05:30 PM 6/26/02 -0300, we...@ha... wrote:
>Hi Mac and Dev-C++ users,
>
>My problem is exactily it. :)
>
>I use Visual Basic 6 and i have several problems with several dll's that i
>need copy together with executable. For example the vbrun.
You don't need a C++ compiler for this. I strongly suggest getting the
book "Hardcore Visual Basic" or "Visual Basic x.0 Programmer's Guide to the
Win32 API". I know that the last version of "Hardcore Visual Basic"
includes instructions on how to create a TLB.
The current preferred method is to write up the description in IDL
(Interface Description Language) and compile it into a TLB with MIDL. But
MIDL is not included in Visual Basic -- in comes with Visual C++, and I
don't know what the redistribution rights to it are... The older method is
to write up the description in ODL (Object Description Language) and use
MkTypLib, which you *CAN* get from your Visual Basic install disk (for
vb5.0 it was in \Tools\Unsupprt\Typlib on the CD, but I don't know about
6.0). The author of "Hardcore VB" prefers the IDL method over the ODL
method for unspecified reasons, but you may not have a choice. I don't
have references on hand for IDL or ODL syntax, but you can probably find
some info (or at least examples) either in that directory or on the Web. I
doubt that Dev-C++ (being based on GCC) supports creation of type
libraries, but I could easily be wrong.
Mac
-
_____________________________ /"\
Mac Reiter \ / ASCII Ribbon Campaign
Nomadics, Inc. X Against HTML Mail
re...@no... / \ (To join the campaign, simply use
this in your signature.)
|
|
From: <we...@ha...> - 2002-06-26 20:25:27
|
Hi Mac and Dev-C++ users, My problem is exactily it. :) I use Visual Basic 6 and i have several problems with several dll's that i need copy together with executable. For example the vbrun. Every time that i will create a package i need lose several minutes finding and puting DLL's to this package. :/ And what i need is make it eays. Create a .tbl (or something like) that allow me to export only this file. :) Have someone ideas or a source code as example ?? Thkz. Best Regards. [ ]'s |
|
From: Mac R. <re...@no...> - 2002-06-26 19:25:41
|
At 10:48 AM 6/26/02 -0500, Mac Reiter wrote:
>A .tlb is a TypeLibrary, which is a COM idea. A TLB file provides
>interface information to a COM client about the services that are present
>in a COM server. A COM server could be a DLL, or an EXE, or an ActiveX
>Control (a highly specialized DLL or EXE). Unless you really want to get
>into COM component creation, you won't be making TLB files.
>
>Mac
OK, before I get flamed to death, I just remembered something else about
TLBs. A TLB can be made such that it contains all of the information
needed to talk to a set of DLLs, even if those DLLs are not COM components.
IMPORTANT : the TLB does not contain the DLLs themselves. All it contains
is information for a client that says "If you want to call function foo(),
you need to load DLL BAR and use the 7th function in the import list." The
DLLs would still need to be installed separately.
The only place I personally have seen TLBs used is in Visual Basic
development. The best example, relevant to the "group of DLLs" approach,
is a Win32 TLB. Visual Basic does not use header files, so it can't just
"#include <windows.h>" to get access to the Win32 SDK. Someone extremely
patient managed to build a Win32 TLB, which allows VB programmers to just
add that TLB to their project and now all of the Win32 SDK functions appear
to be normal VB functions.
Hopefully that is closer to the whole truth and nothing but the truth...
Mac
-
_____________________________ /"\
Mac Reiter \ / ASCII Ribbon Campaign
Nomadics, Inc. X Against HTML Mail
re...@no... / \ (To join the campaign, simply use
this in your signature.)
|
|
From: John <jo...@mu...> - 2002-06-26 17:04:04
|
I am a newbie to Windows programming trying to load a bitmap. How does = one generate resource header files in Bloodshed dev? The resource editor = does not seem to do this automatically. |
|
From: Mac R. <re...@no...> - 2002-06-26 15:51:07
|
A .tlb is a TypeLibrary, which is a COM idea. A TLB file provides
interface information to a COM client about the services that are present
in a COM server. A COM server could be a DLL, or an EXE, or an ActiveX
Control (a highly specialized DLL or EXE). Unless you really want to get
into COM component creation, you won't be making TLB files.
Mac
At 12:30 PM 6/26/02 -0300, we...@ha... wrote:
> Hi Guys, I'm listen several peoples speaking (in the web) about .tlb
>files. I search in google but can't find how to create it. I understood
>that .tlb is a file where u have several .dll's together, am i correct ??
> In the fact i belive that it should work like this: pass the function
>to it, then the "answer" it re-pass to program that call .tlb, am i
>correct ?? hehehe ps.: Sorry for stupied questions. :)) Where can i
>find a example of create a .tlb in c (with dev-c++) and how to call it in
>other program ?? (if possible with comments). Thkz a lot. Best
>Regards. [ ]'s
-
_____________________________ /"\
Mac Reiter \ / ASCII Ribbon Campaign
Nomadics, Inc. X Against HTML Mail
re...@no... / \ (To join the campaign, simply use
this in your signature.)
|
|
From: Mac R. <re...@no...> - 2002-06-26 15:36:01
|
At 01:52 PM 6/26/02 +0100, davidl marsh wrote: >I am currently using a version of DEV-C++ in its C configuration to do some >number crunching but I need to be able to send and recive data via com1 for >Rx and com2 for Tx of the results. which libraries do I need to INCLUDE at >the start of the program. > >most of the books I read state inputp(address,data) or outp(address,data). > >is thisn just a form for ANSI compilers I am running the BORLAND VERSION V4 >off the CD bloodshed software distribute. >further I have included all the stated xxxx.h files at the top of the >programme. inputp() and outp() will not work on NT/2000/XP style machines, because direct hardware access is a tremendous security hole. What you want to do is open the com ports through OS calls. I did a Google search for "win32 serial port programming". I had to slide down past the first 9 or so results, but then I found this Win32 Programming FAQ: http://www.iseran.com/Win32/FAQ/section0.html Down in section 5 is stuff on hardware access. But I thought that there might be other stuff of interest, so I gave the link to the primary FAQ page. This page will not answer all of your questions itself, but will tell you which functions to look up in the "online help system". Dev-C++ comes with some such help files, but anything that you can't find there, you can almost always find the most up-to-date information in the first few results of a Google search. Google indexes the Microsoft Developer Network (MSDN) pretty well. One thing to keep in mind -- this stuff is OS dependent, so it behaves differently (in the details) between 95/2000/XP/CE/etc. That means you need to make sure the help page you are reading is for the right operating system, and the right version of the operating system. Also, be sure to read the entire page -- very important information is frequently down in the "Remarks" section. - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail re...@no... / \ (To join the campaign, simply use this in your signature.) |