[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] c++ program med mysql connection & åben g2 device.



On Wednesday 28 January 2004 03:29, you wrote:

Nå jeg må hellere prøve at lukke denne tråd, for problemet var 
ikke det jeg troede det var, sorry.
Jeg prøver med en ny tråd.

Jan


> Hej sslug
>
> Jeg har et c++ program der næsten konstant kører med en åben
> mysql-forbindelse.
>
> Nu vil jeg gerne benytte det grafiske bibliotek g2 i samme program,
> men når jeg forsøger at åbne et device i g2 for at skrive til f.eks
> en png fil :
> -
> int id_png;
> id_png=g2_open_gd("image.png",300,150,g2_gd_png);
> etc
> etc
> -
> så hænger programmet. Jeg kan se at der er blevet skabt en fil med
> størrelsen 0 byte, men der bliver ikke skrevet til den.
>
> Hvis jeg derimod lukker mysql forbinelsen først så bliver min png skrevt
> uden problemer.
>
> Er der nogen der ved hvad der sker ?
> De to forbindelser konflikter på en eller anden måde ?
> Kan jeg undgå at åbne og lukke mysqlforbindelsen hver gang jeg skal skrive
> en png, for det tager vel 'en del tid' at åbne og lukke mysql forbindelsen.
>
> På forhånd mange tak hvis der er nogen der svarer.
>
> Med venlig hilsen
> Jan KC


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:43 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *