From: Oonk, G. (Gertjan) <go...@fe...> - 2004-07-19 13:16:00
|
-----Original Message----- From: dev...@li... = [mailto:dev...@li...] On Behalf Of = dev...@li... Sent: zondag 18 juli 2004 5:13 To: dev...@li... Subject: Dev-cpp-users digest, Vol 1 #2085 - 14 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..." Today's Topics: 1. Dbase library (Alberto) 2. for Linux? (Todd Gardner) 3. automatically adding a new member function? (Todd Gardner) 4. Re: for Linux? (Scott Simontis) 5. Re: Dbase library (Michal Molhanec) 6. Re: Dbase library (Gary Lawton) 7. Re: Dbase library (kalb) 8. Class browser update (kalb) 9. DirectPlay (=3D?ISO-8859-1?Q?=3D22Axel_Buschh=3DFCter=3D22?=3D) 10. Maybe bug (kalb) 11. Re: DirectPlay (sp...@po...) 12. Re: Class browser update (Matthews) 13. Re: DirectPlay = (=3D?ISO-8859-1?Q?=3D22Axel_Buschh=3DFCter=3D22?=3D) 14. Re: DirectPlay (sp...@po...) --__--__-- Message: 1 From: Alberto <ka...@em...> To: dev...@li... Date: Sat, 17 Jul 2004 15:42:18 +0200 Subject: [Dev-C++] Dbase library Hi, I'm working on a small application project, that needs to use some = small=20 database tables. I know that wxWindows offers a database interface, but since the = application=20 needs to be often moved from a pc to another, it seems better for my = needs to=20 read/write directly on files instead of messing with ODBC. Any suggestion about a free Dbase library to read/write dbIII or dbIV = files? Thanks in advance. kalb =20 =20 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f =20 Sponsor: Hai un sito web? Allora guadagna anche tu con il Web Marketing ! * Collegati subito. Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3D1554&d=3D17-7 --__--__-- Message: 2 From: "Todd Gardner" <pi...@ea...> To: <dev...@li...> Subject: [Dev-C++] for Linux? Date: Sat, 17 Jul 2004 07:13:19 -0700 Hello everyone, I currently use dev-cpp for Windows Version 4.9.8.0 and MinGW for = Windows and Linux. I was wondering if there is a dev-cpp version for Linux? Thank you, Todd --__--__-- Message: 3 From: "Todd Gardner" <pi...@ea...> To: <dev...@li...> Date: Sat, 17 Jul 2004 07:26:46 -0700 Subject: [Dev-C++] automatically adding a new member function? Hello everyone, I'm using dev-cpp for Windows version 4.9.8.0 one Windows 2000. I right-click on a class and select "new member function". The new member function does not seem to appear until I close dev-cpp and reopen it = again. I am pretty new to dev-cpp however, I believe I would like the new = member function to show up without having to close dev-cpp. What should I be doing? Todd --__--__-- Message: 4 Date: Sat, 17 Jul 2004 11:01:32 -0400 From: Scott Simontis <age...@co...> To: Dev-C++ User Group <dev...@li...> Subject: Re: [Dev-C++] for Linux? There is, but it is outdated. Your best bet would be another text editor = (I like XEmacs), or another IDE such as KDevelop. Todd Gardner wrote: >Hello everyone, > >I currently use dev-cpp for Windows Version 4.9.8.0 and MinGW for = Windows >and Linux. I was wondering if there is a dev-cpp version for Linux? > >Thank you, > >Todd > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > =20 > --__--__-- Message: 5 Date: Sat, 17 Jul 2004 18:19:16 +0200 From: Michal Molhanec <mi...@mo...> To: Alberto <ka...@em...> CC: dev...@li... Subject: Re: [Dev-C++] Dbase library Alberto wrote: > Hi, I'm working on a small application project, that needs to use some = small=20 > database tables. >=20 > I know that wxWindows offers a database interface, but since the = application=20 > needs to be often moved from a pc to another, it seems better for my = needs to=20 > read/write directly on files instead of messing with ODBC. >=20 > Any suggestion about a free Dbase library to read/write dbIII or dbIV = files? Xbase: http://linux.techassocinc.com/projects/xdb/ But if you haven't to use files in DBase format I would prefer SQLite=20 http://www.sqlite.org/ , there is also devpak for older version=20 http://devpaks.org/show.php?devpak=3D14 . --__--__-- Message: 6 Date: Sat, 17 Jul 2004 19:32:28 +0100 From: Gary Lawton <li...@lu...> To: dev...@li... Subject: Re: [Dev-C++] Dbase library I'd vote for sqlite as well (if possible) Michal Molhanec wrote: > Alberto wrote: >=20 >> Hi, I'm working on a small application project, that needs to use = some=20 >> small database tables. >> >> I know that wxWindows offers a database interface, but since the=20 >> application needs to be often moved from a pc to another, it seems=20 >> better for my needs to read/write directly on files instead of = messing=20 >> with ODBC. >> >> Any suggestion about a free Dbase library to read/write dbIII or dbIV = >> files? >=20 >=20 > Xbase: http://linux.techassocinc.com/projects/xdb/ >=20 > But if you haven't to use files in DBase format I would prefer SQLite=20 > http://www.sqlite.org/ , there is also devpak for older version=20 > http://devpaks.org/show.php?devpak=3D14 . >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users --__--__-- Message: 7 From: kalb <ka...@em...> To: Gary Lawton <li...@lu...> Subject: Re: [Dev-C++] Dbase library Date: Sat, 17 Jul 2004 21:53:37 +0200 Cc: dev...@li... Thanks to everybody, I downloaded sqlite and it looks like exactly what = I=20 need: simple, powerful, and serverless. kalb Alle 20:32, sabato 17 luglio 2004, Gary Lawton ha scritto: > I'd vote for sqlite as well (if possible) > > Michal Molhanec wrote: > > Alberto wrote: > >> Hi, I'm working on a small application project, that needs to use = some > >> small database tables. > >> > >> I know that wxWindows offers a database interface, but since the > >> application needs to be often moved from a pc to another, it seems > >> better for my needs to read/write directly on files instead of = messing > >> with ODBC. > >> > >> Any suggestion about a free Dbase library to read/write dbIII or = dbIV > >> files? > > > > Xbase: http://linux.techassocinc.com/projects/xdb/ > > > > But if you haven't to use files in DBase format I would prefer = SQLite > > http://www.sqlite.org/ , there is also devpak for older version > > http://devpaks.org/show.php?devpak=3D14 . > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =20 =20 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f =20 Sponsor: Stanco del tappetino mouse che hai?? * Stampaci l'immagine che vuoi tu! *=20 Clicca qui: = http://adv.email.it/cgi-bin/foclick.cgi?mid=3D2117&d=3D17-7i?mid=3D1557&d= =3D17-7 --__--__-- Message: 8 From: kalb <ka...@em...> To: dev...@li... Date: Sat, 17 Jul 2004 21:56:52 +0200 Subject: [Dev-C++] Class browser update Hi, a trivial question: how can I force the class browser update when I add a new class, or = function=20 or variable? The only way I've found since now is to close and re-open = the=20 project, but I think that there has to be a simpler way... I'm using Dev-Cpp 4.9.8.10... Thanks. kalb =20 =20 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f =20 Sponsor: Digitalpix: Il metodo pi=F9 comodo, veloce e conveniente * per stampare le tue foto digitali migliori. Clicca qui: = http://adv.email.it/cgi-bin/foclick.cgi?mid=3D1523&d=3D17-7adv.email.it/c= gi-bin/foclick.cgi?mid=3D1568&d=3D17-7 --__--__-- Message: 9 Date: Sun, 18 Jul 2004 00:57:04 +0200 (MEST) From: =3D?ISO-8859-1?Q?=3D22Axel_Buschh=3DFCter=3D22?=3D = <A_B...@gm...> To: dev...@li... Subject: [Dev-C++] DirectPlay Hi, I installed the directx package and tried to compile the first direct = play tutorial from the MS-DirectX8 sdk (sdk not installed, because DX-devpack = is installed). At the linker section I includet "libdplayx.a" and "libdxguid.a". In the sourcecode I includet "dplay8.h" (for testing I includet = "dplay.h", too). But if I try to compile the code I get these error messages: =20 [Linker error] undefined reference to `CoInitializeEx@8' [Linker error] undefined reference to `CoCreateInstance@20' [Linker error] undefined reference to `CoUninitialize@0'=20 [Linker error] undefined reference to `CoCreateInstance@20' [Build Error] [out/DPlay.exe] Error 1 Has someone experiences with directPlay and can help me with this ??? The complete source: #define INITGUID #define _WIN32_DCOM #include <iostream> #include <stdlib.h> #include <dplay.h> // not nessesary #include <dplay8.h> using namespace std; IDirectPlay8Peer* g_pDP =3D NULL; // DirectPlay peer object // Funktionen HRESULT WINAPI DirectPlayMessageHandler(PVOID pvUserContext, DWORD dwMessageId, PVOID pMsgBuffer); HRESULT InitDirectPlay(); void CleanupDirectPlay(); // Hilfs-Makros #define SAFE_DELETE(p) { if(p) { delete (p); (p)=3DNULL; } } #define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=3DNULL; } } #define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=3DNULL; } } // {76327E56-BBD7-4e3d-938B-EF1DC94080B5} DEFINE_GUID(DPlayTest, 0x76327e56, 0xbbd7, 0x4e3d, 0x93, 0x8b, 0xef, = 0x1d, 0xc9, 0x40, 0x80, 0xb5); int main(int argc, char *argv[]){ HRESULT hr; DPN_SERVICE_PROVIDER_INFO* pdnSPInfo =3D NULL; DPN_SERVICE_PROVIDER_INFO* pdnSPInfoEnum =3D NULL; DWORD dwItems =3D 0; DWORD dwSize =3D 0; DWORD i; // COM initialisieren um CoCreateInstance benutzen zu k=F6nnen CoInitializeEx(NULL, COINIT_MULTITHREADED); =20 // DirectPlay initialisieren if(FAILED(hr =3D InitDirectPlay())){ printf("DirectPlay Initialisierung fehlgeschlagen: 0x%X\n", hr); goto LCleanup; } // alle Service Provider Enumerieren hr =3D g_pDP->EnumServiceProviders(NULL, NULL, NULL, &dwSize, = &dwItems, 0); if(hr !=3D DPNERR_BUFFERTOOSMALL){ printf("Enumerierung der Service Provider fehlgeschlagen: 0x%X\n", = hr); goto LCleanup; } pdnSPInfo =3D (DPN_SERVICE_PROVIDER_INFO*) new BYTE[dwSize]; if(FAILED(hr =3D g_pDP->EnumServiceProviders(NULL, NULL, pdnSPInfo, = &dwSize, &dwItems, 0))){ printf("Enumerierung der Service Provider fehlgeschlagen: 0x%X\n", = hr); goto LCleanup; } // Alle Provider durchlaufen und ausdrucken pdnSPInfoEnum =3D pdnSPInfo; for(i =3D 0; i < dwItems; i++){ printf("Service Provider gefunden: %S\n", pdnSPInfoEnum->pwszName); pdnSPInfoEnum++; } =20 LCleanup: SAFE_DELETE_ARRAY(pdnSPInfo); CleanupDirectPlay(); CoUninitialize(); =20 system("PAUSE");=09 return 0; } HRESULT WINAPI DirectPlayMessageHandler( PVOID pvUserContext, DWORD dwMessageId, PVOID pMsgBuffer){ return S_OK; } HRESULT InitDirectPlay(){ HRESULT hr =3D S_OK; // IDirectPlay8Peer Objekt erstellen if(FAILED(hr =3D CoCreateInstance(CLSID_DirectPlay8Peer, NULL, CLSCTX_INPROC_SERVER, IID_IDirectPlay8Peer, (LPVOID*) &g_pDP))){ printf("Erstellen des IDirectPlay8Peer Objekts fehlgeschlagen: = 0x%X\n", hr); goto LCleanup; } // DirectPlay initialisieren if(FAILED(hr =3D g_pDP->Initialize(NULL, DirectPlayMessageHandler, 0 = ))){ printf("Initialisierung von DirectPlay fehlgeschlagen: 0x%X\n", = hr); goto LCleanup; } =20 LCleanup: return hr; } void CleanupDirectPlay(){ // DirectPlay l=F6schen if(g_pDP) g_pDP->Close(0); SAFE_RELEASE(g_pDP); } --__--__-- Message: 10 From: kalb <ka...@em...> To: Julian Smart <ju...@an...> Date: Sun, 18 Jul 2004 01:04:25 +0200 Cc: dev...@li... Subject: [Dev-C++] Maybe bug Hi, i'm using wxWindows with Dev-C++ 4.9.8.10. I installed wxWindows = libs and=20 headers using the wxWindows 2.4.2 package. Deriving a class from wxTreeCtrl i obtain a 'parse error before {' in = the=20 class declaration: class MyTree : public wxTreeCtrl { I noticed that compiling the main.cpp, that includes mytree.h, there is = no=20 error. I fixed the problem including wx/list.h before wx/treectrl.h in mytree.h I just want to report this fact, 'cause I'm not sure if there is a bug = in=20 wx/treectrl.h or is simply a documentation error. Thakns for the great work, anyway. Alberto Capuzzo (kalb) =20 =20 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f =20 Sponsor: La vera mozzarella di Bufala Campana la trovi fresca su Terrasolis.com, = provala! Clicca qui: = http://adv.email.it/cgi-bin/foclick.cgi?mid=3D2499&d=3D18-7/foclick.cgi?m= id=3D2627&d=3D18-78-7 --__--__-- Message: 11 Date: Sat, 17 Jul 2004 19:33:47 -0400 From: "sp...@po..." <sp...@po...> To: =3D?ISO-8859-1?Q?Axel_Buschh=3DFCter?=3D <A_B...@gm...> Cc: dev...@li... Subject: Re: [Dev-C++] DirectPlay Axel Buschh=3DFCter wrote: >Hi, >I installed the directx package and tried to compile the first direct = pl=3D ay >tutorial from the MS-DirectX8 sdk (sdk not installed, because = DX-devpack=3D is >installed). >At the linker section I includet "libdplayx.a" and "libdxguid.a". >In the sourcecode I includet "dplay8.h" (for testing I includet = "dplay.h=3D ", >too). >But if I try to compile the code I get these error messages: > >=3D20 >[Linker error] undefined reference to `CoInitializeEx@8' >[Linker error] undefined reference to `CoCreateInstance@20' >[Linker error] undefined reference to `CoUninitialize@0'=3D20 >[Linker error] undefined reference to `CoCreateInstance@20' >[Build Error] [out/DPlay.exe] Error 1 > > =3D20 > try linking with -lole32 Marek --__--__-- Message: 12 Date: Sat, 17 Jul 2004 16:12:26 -0400 To: kalb <ka...@em...> From: Matthews <dem...@uw...> Subject: Re: [Dev-C++] Class browser update Cc: dev...@li... --=3D=3D=3D=3D=3D=3D=3D7A967137=3D=3D=3D=3D=3D=3D=3D Content-Type: text/plain; x-avg-checked=3Davg-ok-5C0A6907; = charset=3Dus-ascii; format=3Dflowed Content-Transfer-Encoding: 8bit Just save the file. At 03:56 PM 17-07-04, kalb wrote: >Hi, a trivial question: > >how can I force the class browser update when I add a new class, or = function >or variable? The only way I've found since now is to close and re-open = the >project, but I think that there has to be a simpler way... > >I'm using Dev-Cpp 4.9.8.10... > >Thanks. > >kalb --=3D=3D=3D=3D=3D=3D=3D7A967137=3D=3D=3D=3D=3D=3D=3D Content-Type: text/plain; charset=3Dus-ascii; x-avg=3Dcert; = x-avg-checked=3Davg-ok-5C0A6907 Content-Disposition: inline --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.721 / Virus Database: 477 - Release Date: 16-Jul-04 --=3D=3D=3D=3D=3D=3D=3D7A967137=3D=3D=3D=3D=3D=3D=3D-- --__--__-- Message: 13 Date: Sun, 18 Jul 2004 03:03:16 +0200 (MEST) From: =3D?ISO-8859-1?Q?=3D22Axel_Buschh=3DFCter=3D22?=3D = <A_B...@gm...> To: dev...@li...,sp...@po... Subject: Re: [Dev-C++] DirectPlay Yeah, it works !!!!!!!!! :) Thanks a 1000k !!!! But where to get such informations ??? CU, Acki Am 17 Jul 2004 um 19:33 hat sp...@po... geschrieben: > try linking with -lole32 >=20 > Marek >=20 --__--__-- Message: 14 Date: Sat, 17 Jul 2004 21:09:21 -0400 From: "sp...@po..." <sp...@po...> To: dev...@li... Subject: Re: [Dev-C++] DirectPlay Axel Buschh=3DFCter wrote: >Yeah, it works !!!!!!!!! :) >Thanks a 1000k !!!! > >But where to get such informations ??? > =3D20 > usually just search the c:\dev-cpp\lib directory for files = containing=3D20 text - "CoInitializeEx" in this case. Marek --__--__-- _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users End of Dev-cpp-users Digest |